Message - The specified expression is not a valid regular expression.

Applies to TestComplete 15.70, last modified on December 17, 2024

You may get this message when adding or editing a dynamic identifier pattern in the Object Identification and Hybrid Mobile options in project properties or in default project properties. The message indicates that the regular expression specified in the ID Pattern column is invalid.

To resolve the problem, double-check the regular expression and make sure it is valid. For example:

  • Make sure that all opening parentheses have matching closing parentheses.

  • Make sure that the regular expression uses supported tokens. See Regular Expression Syntax for details.

See Also

Handle Dynamic Identifiers
Handling Dynamic Identifiers in Hybrid Mobile Applications (Legacy)
Classic Web Testing
Project Properties - Object Identification Options
Project Properties - Hybrid Mobile Options
Regular Expression Syntax

Highlight search results