TestComplete supports a number of standard Windows controls, including combo box controls. Combo box controls display a set of items and permit the user to make an exclusive choice. The user can navigate within the combo box control and select the needed item.
If the class name of the tested combo box control is listed in the Default Project Properties - Object Mapping Options options of the current project, TestComplete associates it with Win32ComboBox
. If you need to test custom combo box controls, you can add their class names to the Object Mapping list. In this case, they will be associated with the Win32ComboBox
object as well. Specific properties and methods of the Win32ComboBox
object allow you to navigate within a combo box, search for items and retrieve data from the tested combo box control.
The topics of this section provide detailed information on how to work with Win32 combo box controls. To learn about working with Android spinner controls see the Working With Android Spinner Controls section.
Note: | Though the following topics deal with scripts, you can use the same approaches while testing an application from your keyword tests. For more information, see Keyword Tests Basic Operations. |
In This Section
Determining the Number of Combo Box Items
Getting Combo Box Items' Images
Working With Owner-Drawn Combo Boxes
Related Topics of Interest
Working With List Box Controls
See Also
Object-Specific Tasks
Win32 ComboBox Support
Supported Controls
Default Project Properties - Object Mapping Options