How to check if a Window doesn't exist?

  • 2 October 2023
  • 1 reply

Userlevel 3

I have a window which needs longer then the WaitFor setting to open. I don't want to increase the WaitFor or use a static wait as this will slow down the complete test set. AFAIK this is best done with a loop operation. Since it's the windows itself a TBox Window Operation is needed.  Sadly the to loop operations TOSCA are while loops and there are no until loops so I have to wait for as long as the Window isn't showing.

How is this done?

[Originally asked and solved on Support Hub]


Best answer by Community Administrator 2 October 2023, 14:44

View original

1 reply

Userlevel 4
Badge +2

Try using Wait On Close. It doesn't seem to require the window to be open to begin with.