The Add Dynamic Identifier Pattern wizard helps you create patterns for handling dynamic object identifiers in web and hybrid mobile applications.
On this page, you can specify a web page object that has a dynamic identifier for which you want to create a match pattern. 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 for web or hybrid mobile applications..
To make sure you have selected the correct object, click Highlight and TestComplete will highlight the appropriate object on the desktop screen.
After you have selected the object, click Next to proceed.
See Also
Add Dynamic Identifier Pattern Wizard
Web and RIA Testing
Handling Dynamic Identifiers in Default Web Tests
Handling Dynamic Identifiers in Cross-Platform Web Tests
Handling Dynamic Identifiers in Hybrid Mobile Applications
Project Properties - Object Identification Options