Web applications can generate dynamic identifiers for objects, for example, ext-gen-123. TestComplete automatically detects these identifiers in web or hybrid mobile applications and can either ignore them (both cross-platform and classic web tests) or extract and use their unchanging parts (classic web tests only). For more information, see:
Handling Dynamic Identifiers in Cross-Platform Web Tests
Handling Dynamic Identifiers in Classic Web Tests
Handling Dynamic Identifiers in Hybrid Mobile Applications (Legacy)
The Test Dynamic Identifier Patterns wizard lets you check if a specific identifier matches one of existing dynamic identifier patterns. You can use this wizard to complete the following tasks:
-
Test your own regular expression patterns against sample inputs.
-
Find a pattern that is wrongly applied to a specific identifier, so that you can later disable this pattern or lower its priority.
To open the wizard, click Test on the Object Identification page of your project or default project properties.
The wizard includes the following pages:
Test Dynamic Identifier Patterns Wizard - Select an Option Page
Test Dynamic Identifier Patterns Wizard - Select an Object From Screen Page
Test Dynamic Identifier Patterns Wizard - Specify a Web Object Identifier Page
Test Dynamic Identifier Patterns Wizard - Test Result Page
See Also
Web and RIA Testing
Handling Dynamic Identifiers in Cross-Platform Web Tests
Handling Dynamic Identifiers in Classic Web Tests
Handling Dynamic Identifiers in Hybrid Mobile Applications (Legacy)
Project Properties - Object Identification Options