expression.WaitForString3( _ ByVal text As String, _ ByVal timeout As Integer, _ ByVal option As WaitForOption _ ) As ReturnCode
where expression is a variable that represents a Screen Object
Parameters
- text
- The text to wait for.
- timeout
- wait timeout value (milliseconds). Value of 0 indicates wait indefinitely.
- option
- A WaitForOption value. Multiple options can be combined using the OR operator.
Return Value
One of the following ReturnCode enumeration values.
Member | Description |
---|---|
Cancelled | Cancelled. |
Error | Error. |
PermissionRequired | Permission is required. |
Success | Success. |
Timeout | Timeout condition. |
Truncated | The text is truncated. |