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 © 2024 LogiGear Corporation. All rights reserved. LogiGearはLogiGear Corporationの登録商標であり、Action Based TestingおよびTestArchitectはLogiGear Corporationの商標です。ここに記載されているその他の商標は、各所有者の財産です。

LogiGear Corporation

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

Tel: +1 (650) 572-1400