Web applications can generate dynamic identifiers for objects, for example, ext-gen-123. TestComplete automatically detects these identifiers and can either ignore them or extract and use their unchanging parts. For more information, see the topics about handling dynamic identifiers in web or hybrid mobile applications.
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.
The wizard is opened when you click the Test button in the Web Object Identification section of project properties 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
Testing Web Applications
Handling Dynamic Identifiers in Web Applications
Handling Dynamic Identifiers in Hybrid Mobile Applications
Project Properties - Object Identification Options