check list item order
Description
Check for the presence of a specified sequence of items in a control. Result is Passed ifthe specified sequence is found; otherwise Failed.
Arguments
window
TA name of the window.
control
TA name of the control.
exact match
(Optional) Allowable values:
0, false, f, no or n
(default) Verify that the values in argument1, argument2, … , argumentN do exist in the control in sequence, but not necessarily consecutively.
1, true, t, yes or y
Verify that the consecutive sequence of values in argument1, argument2, … , argumentN exists somewhere in the control (that is, that the values are contiguous).
argument1, argument2, … argumentN
Elements of the ordered sequence whose presence in the control is checked.
Tip:Arguments argument2 through argumentN are optional.
Valid contexts
This action may be used within the following project items: test modules and user-defined actions.
Notes
- There is no practical limit to the number ofargumentarguments that may be specified. In the action line, you may continue listing them in consecutive columns beyond those that have column headers.
- This action supports the <ignore> modifier. If the string
<ignore>
is present as the value of any of the arguments, or any argument contains an expression that evaluates to<ignore>
, the action is skipped during execution.
Applicable Built-In Settings
The following settings are applicable to this action: case sensitive, remove double quotes from cells, standard ASCII only, item wait, page wait, object wait, window wait, load invisible controls.
Applicable Controls
This action is applicable to the following controls: combo box, list box, select-multiple, select-one..
Example
Action Lines
Result