WaitFor |
Top Previous Next |
This method waits for a Screen containing the specified string. In the first case shown below, it returns True if the wait was successful and False if the Timeout period has expired. In the second case it receives an array of strings as parameter, and returns an integer indicating the number of the string (into the array of strings) that was found.
VB.NET
[Boolean =] Screen.WaitFor(Value As String, [TimeOut] As Integer, [ResetWait] As Boolean)
[Integer =] Screen.WaitFor(Values As String, [TimeOut] As Integer, [ResetWait] As Boolean)
C#
[bool =] Screen.WaitFor(string Value, int [TimeOut], bool [ResetWait]);
[int =] Screen.WaitFor(string[] Values, int [TimeOut], bool [ResetWait]);
Parameters
|