expression.WaitForText2( _ ByVal timeout As Integer, _ ByVal text As String, _ ByVal startRow As Integer, _ ByVal startColumn As Integer, _ ByVal endRow As Integer, _ ByVal endColumn As Integer, _ ByVal option As TextComparisonOption _ ) As ReturnCode
where expression is a variable that represents a IbmScreen Object
Parameters
- timeout
- Wait timeout value in milliseconds.
- text
- Text string.
- startRow
- Start row.
- startColumn
- Start column.
- endRow
- End row.
- endColumn
- End column.
- option
- A TextComparisonOption Enumeration value that defines how text is compared against the text on the host screen.
Return Value
One of the following ReturnCode enum values.
Member | Description |
---|---|
Cancelled | Cancelled. |
Error | Error. |
PermissionRequired | Permission is required. |
Success | Success. |
Timeout | Timeout condition. |
Truncated | The text is truncated. |