Forum Discussion

torus's avatar
torus
Contributor
3 years ago

Checkpoint - Verify object disappeared without long wait time

How do you correctly verify that object does not exist? On occasions, I want to make sure that something closed, or disappeared or ceased to exist as expected.  I can used the 'Property Checkpoint'....
  • MW_Didata's avatar
    2 years ago

    You could use 'If Object' Exists/ Not Exists, then right-click 'Set Auto-Wait Timeout for Operation' and set that to 3 seconds. if within 3 seconds the object does not exist continue, other wise you could set an else command.

    In this example it checks if the object exist then based on the result it changes a Variable. it only checks for 3 senconds because wainting for 20 seconds is not needed in this case.