InfoConnect for Airlines
WaitForText(Int32,String,Int32,Int32,TextComparisonOption) Method


Wait timeout value.
Text string.
Row position.
Column position.
TextComparisonOption indicates the desired text string comparison.
Waits for the specified text to appear at the specified screen location.
Syntax
'Declaration
 
Overloads Function WaitForText( _
   ByVal timeout As Integer, _
   ByVal text As String, _
   ByVal row As Integer, _
   ByVal column As Integer, _
   ByVal options As TextComparisonOption _
) As ReturnCode
'Usage
 
Dim instance As IAlcScreen
Dim timeout As Integer
Dim text As String
Dim row As Integer
Dim column As Integer
Dim options As TextComparisonOption
Dim value As ReturnCode
 
value = instance.WaitForText(timeout, text, row, column, options)

Parameters

timeout
Wait timeout value.
text
Text string.
row
Row position.
column
Column position.
options
TextComparisonOption indicates the desired text string comparison.

Return Value

ReturnCode indicates success, failure, or a warning condition.
Exceptions
ExceptionDescription
System.ArgumentOutOfRangeException This exception is thrown if the row or column parameters are outside the range of valid values: (1 to Rows) or (1 to Columns).
See Also