TesterHelperExtensions Methods
PerformActionAndWaitForScreenUpdate
Performs the specified action and waits for an update on the screen, returns false if no update is registered. This method is similar to WaitUntilScreenUpdate, but ensures the update check is registered before we attempt the action.
Syntax:
Parameters:
Parameter
Description
t
action
tolerance
timeToWaitForUpdateInSeconds
filters
Return Value:
Returns true if a screen update was registered within the timeToWaitForUpdateInSeconds, false otherwise.
WaitUntil
Waits until the specified dateTime is reached on the system under test. If the dateTime is already passed, it doesn't wait.
Syntax:
Parameters:
Parameter
Description
t
dateTime
sutLocale
WaitUntilScreenUpdate
Waits until a relevant screen update is received. Returns false if after the timeout still no update was received. If the expected update happens directly after an interaction with the sut, the update register might happen too late. In this case use PerformActionAndWaitForScreenUpdate instead.
Syntax:
Parameters:
Parameter
Description
t
tolerance
timeOutInSeconds
filters
Return Value:
Returns true if a screen update was registered within the timeOutInSeconds, false otherwise.
WaitUntilStableScreen
Waits until the screen is stable, meaning no more relevant updates are occuring anymore in the selected area. Returns false if after the specified timeout the screen is not yet stable.
Syntax:
Parameters:
Parameter
Description
t
tolerance
expectedStableTimeInSeconds
timeOutInSeconds
filters
Return Value:
Returns true if the screen was stable for expectedStableTimeInSeconds before the timeOutInSeconds expired, false otherwise.
Last updated
Was this helpful?