Test Dynamic Identifier Patterns Wizard

Applies to TestComplete 14.20, last modified on September 11, 2019

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

On this page, you select how you want to specify the dynamic identifier that you want to test.

Test Dynamic Identifier Patterns Wizard - Select an Object From Screen Page

On this page, you can point to a web page object whose dynamic identifier you want to test.

Test Dynamic Identifier Patterns Wizard - Specify a Web Object Identifier Page

On this page, you can enter the identifier that you want to test against dynamic identifier patterns.

Test Dynamic Identifier Patterns Wizard - Test Result Page

This page displays the pattern matching the specified identifier (if any).

See Also

Testing Web Applications
Handling Dynamic Identifiers in Web Applications
Handling Dynamic Identifiers in Hybrid Mobile Applications
Project Properties - Object Identification Options

Highlight search results