Calendar(CalendarView) controls are used to display a date. A user can change the date by touching it or by using date picker. TestComplete provides extended support for Android calendar controls.
TestComplete analyzes the control class names and automatically creates wrapper
Android CalendarView test objects for calendar controls. These objects contain specific methods and properties for simulating user actions on calendars and for retrieving their data.
Supported calendar classes are listed in the project’s Object Mapping options. You can extend this list, for example, add the class name of a custom calendar control used in your tested application, and thus enable the recording and scripting support for this control. For more information, see Default Project Properties - Object Mapping Options.
|Note:||The described support is available only if the tested Android application is Open, that is, if it was prepared for TestComplete (see Preparing Android Applications (Legacy)).|
The topics in this section provide detailed information about working with calendar controls in TestComplete and contain script samples that illustrate the explanation.