An action bar is a control at the top of the application where you place --
-
Frequently used tools.
-
Navigation elements.
-
The application's name and icon.
By default, these objects can only be used to work with the corresponding “standard” controls. You can find a list of the supported action bar classes in the project’s Object Mapping options. However, you can also associate a custom action bar control with one of these objects by adding its class name to the Object Mapping list. This will let you record and simulate actions over your custom control using the methods and properties of the associated scripting object. See Object Mapping for more information.
The topics of this section contain detailed information on working with action bar controls in TestComplete and provide sample scripts.
Note: | Though the following topics deal with scripts, you can use the same approaches while testing applications from your keyword tests. For more information, see Keyword Tests Basic Operations. |
In This Section
Working With Action Bars - Basic Concepts
Checking the Action Bar Items' Type
Checking the Action Bar Items' State
Related Topics of Interest
Testing Android Open Applications
Simulating Gestures (Multi-Touch Events)
Simulating User Actions Over Android Devices
See Also
Android ActionBar Support
About Testing Android Applications
Object-Specific Tasks
Supported Controls