Note: To learn how to simulate user actions over combo box controls in web applications, see Working With Combo Box Controls in Web Applications.
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
Combo Box Types in Desktop Windows Applications
Selecting Combo Box Items in Desktop Windows Applications
Getting Combo Box Items in Desktop Windows Applications
Determining the Number of Combo Box Items in Desktop Windows Applications
Working With Drop-Down Lists in Desktop Windows Applications
Getting Combo Box Items' Images in Desktop Windows Applications
Working With Owner-Drawn Combo Boxes in Desktop Windows Applications
Related Topics of Interest
Working With List Box Controls in Desktop Windows Applications
See Also
Object-Specific Tasks
Win32 ComboBox Support
Supported Controls
Default Project Properties - Object Mapping Options
Working With Combo Box Controls in Web Applications