AscentialTest Support Hub

Notifications

Clear all

Are IsPresent() and WaitUntilExists() interchangeable?



1

Posts


1

Users


0

Reactions


26

Views

(@blesuer)
Member Admin

Joined: 4 months ago
Posts: 33

Topic starter
 

WaitUntilExists and IsPresent are not interchangeable. WaitUntilExists can be used to synchronize with the target application where as IsPresent can not. When a test calls WaitUntilExists, AscentialTest takes snapshots on an interval until the timeout period elapses to determine whether there is a change in the state of the target application. IsPresent operates on the most recent snapshot. While WaitUntilExists can be called for top level windows and application controls, IsPresent should never be called on a top level window.



   

Quote

Share:

Can’t Find An Answer in the Forum?

Contact Our Team