The Select Table wizard is used to modify the Table elements of the Stores | Tables collection. The Select Object page is the first page of the wizard, where you can specify the following information:
-
The Name edit box specifies the name of the Table element being edited. You can change it to rename the Table element.
The specified name will be used to address the element from scripts, so it must be a valid script identifier. TestComplete supports several scripting languages that use different naming rules. To specify the name that will match the rules of any supported scripting language, enter a string that starts with a letter and contains only letters, digits and underscore symbols.
-
In the Description box you can enter the text describing the data to be stored and the Table element.
-
The Objects box displays the name of the control whose data is stored in the current Table element.
To change the control
-
Click the target glyph to the right of the Object box and keep the mouse button pressed.
-
Wait until the TestComplete window is minimized and drag the icon to the desired control (when dragging, a red frame will indicate the control that is under the mouse pointer).
To specify the control in a mobile application, drag the icon to the desired control on the Mobile Screen window (see Selecting an Object on the Mobile Screen).
-
Release the mouse button over the desired control.
If the control is recognized by TestComplete as a control that displays data in the tabular form, TestComplete will display the object’s full name in the Object box. If the control is not supported, TestComplete will display an error message informing you about the problem. For a list of supported controls, see Table Checkpoints.
Note that TestComplete can recognize controls in mobile applications only if the application under test and the mobile device where the application is running are prepared for testing. See topics about preparing TestComplete and test computers for testing.
If the Map object names automatically setting is enabled in the Name Mapping Options dialog, then after you pointed to the desired object, TestComplete will automatically create a mapped name for it and display this name in the Object box. If the setting is disabled, then TestComplete will display the object name that is used by default, or if the object is mapped, it will display the mapped name.
-
After you have specified the Table element name, description and tested object to retrieve data from, click Next to switch to the next page of the wizard.
Select an Object on the Mobile Screen (for Android Applications)
Select an Object on the Mobile Screen (for iOS Applications)
See Also
Select Table Wizard
Creating Table Checkpoints
About Table Checkpoints
About Tables Collection
About Mobile Screen Window
Selecting an Object on the Mobile Screen (Android Testing)
Select an Object on the Mobile Screen (iOS Testing)
Instrumenting Android Applications - Overview
Preparing iOS Applications
Testing Mobile Applications