check list item order

Check for the presence of a specified sequence of items in a control. Result is Passed if the specified sequence is found, otherwise Failed.
NameDescriptionTypeModifier
window

TA name of the window.

Interface EntityNone
control

TA name of the control.

Interface ElementNone
exact match

(Optional) Allowable values:

  • 0, false, f, no or n: 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).

Default Value: 0, false, f, no or n
StringNone
argument<index>

Elements of the ordered sequence whose presence in the control is checked.

Tip: 
Arguments argument2 through argumentN are optional.

StringNone
Result is Passed if the specified sequence is found, otherwise Failed.
This action may be used within the following project items: test modules and user-defined actions.
This action is applicable to the following controls: combo box, list box, select-multiple, select-one.
                                
                                    	window	control	exact match 	argument	argument	argument
check list item order	date and location	pickup state	0	arizona	arkansas	california
check list item order	date and location	pickup state	1	arizona	arkansas	california
check list item order	date and location	pickup state	0	arizona	california	colorado
check list item order	date and location	pickup state	1	arizona	california	colorado
check list item order	date and location	pickup state	0	california	arkansas	arizona
check list item order	date and location	pickup state	1	california	arkansas	arizona
                                
                            
  • There is no practical limit to the number of arguments 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.

Copyright © 2024 LogiGear Corporation. All rights reserved. LogiGear is a registered trademark, and Action Based Testing and TestArchitect are trademarks of LogiGear Corporation. All other trademarks contained herein are the property of their respective owners.

LogiGear Corporation

1730 S. Amphlett Blvd. Suite 200, San Mateo, CA 94402

Tel: +1 (650) 572-1400