How can I select an item in a combo box by its content if the content is numeric?

The select action is used to select an item in a combo box, based either on the item’s content or its index within the items list. In both cases, the value argument is used to specify the item to select. By default, TestArchitect distinguishes whether you are specifying the item’s content or its index by whether or not the value in value is numeric (numeric indicating an index).

So what do you do if you want to select an item by its content, and that content is purely numeric? Answer: simply enclose the value in double quotation marks ( " ) in the value argument.

Copyright © 2023 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(800) 322-0333