The Test Dynamic Identifier Patterns wizard lets you check if a specific identifier matches one of dynamic identifier patterns. These patterns are defined in the Object Identification and Hybrid Mobile options in project properties and default project properties. See the topics about handling dynamic identifiers in web or hybrid mobile applications for more information.
On this page, you can specify a web page object whose identifier you want to test against dynamic identifier patterns. You can specify the web object in one of the following ways:
-
Drag the target to point to the object
Drag the target glyph () to the desired object and drop it when the red frame appears around the object.
-
Point and press a shortcut
Click , and then move the mouse pointer to the desired object. When the red frame appears around the object, press the Select object shortcut, Shift+Ctrl+A. (The shortcut can be changed in the Global Shortcuts options.)
-
Enter the object name manually
Enter the alias or unmapped name of the desired object into the Object box and press Enter.
TestComplete will display the identifier of the selected object below the Object text box. This identifier is the object’s id
or name
attribute, according to the Identification attribute project setting.
To make sure you have selected the correct object, click Highlight and TestComplete will highlight the appropriate object on the desktop’s screen.
After you have selected the object, click Next to proceed.
See Also
Test Dynamic Identifier Patterns Wizard
Testing Web Applications
Handling Dynamic Identifiers in Web Applications
Handling Dynamic Identifiers in Hybrid Mobile Applications
Project Properties - Object Identification Options