TestComplete supports most standard iOS controls, including action sheet controls. Action sheet controls in iOS applications are typically used to provide a user with a choice among a set of actions to be performed.
To work with iOS action sheets in tests, TestComplete provides the iOS ActionSheet
test object.
Note: | The described support is available only if the tested iOS application and the computer where TestComplete is running have been prepared for testing in a special way. See Preparing Applications, Devices and Test Computers for iOS Testing. |
The supported action sheet classes are listed in the project’s Object Mapping options. You can extend this list. For example, you can add the class name of a custom action sheet used in your tested application, and thus enable the recording and scripting support for this control. For more information, see Object Mapping.
The iOS ActionSheet
object provides access to native properties and methods of the underlying action sheet control. It also provides specific properties and methods that can be used for simulating user actions on action sheets and for retrieving their data.
The topics in this section provide detailed information about working with action sheet controls in TestComplete and contain script samples that illustrate the explanation.
In This Section
Selecting an ActionSheet Control's Item
Checking an ActionSheet Item's State
Dismissing an ActionSheet Control
Related Topics of Interest
Testing iOS Applications (Legacy)
See Also
iOS ActionSheet Support
Object-Specific Tasks
Supported Controls