TesterOnScreenElementExtensions
WaitForMultipleElements
Waits simultaneously for a list of OnScreenElements and returns the first element that was found. This can be useful when an action has multiple possible outcomes and depending on the shown element (e.g. warning dialog) a different action needs to be taken.
As search duration the maximum WaitTimeInSeconds of all elements is used.
Example for usage:
Syntax:
Parameters:
Parameter
Description
t
elements
Return Value:
The first OnScreenElement that was found on the screen (out of the elements parameter) or null if no element was found.
Last updated