![]() ![]() This can be either the testedObj object or one of its child, grandchild or great grandchild objects that matches the specified search conditions. The object that has the specified values of the specified properties. If the Timeout is -1, the waiting time is equal to the auto-wait timeout option. If the Timeout is 0, the method will search for the object only once, like the Find method. Specifies the time, in milliseconds, for which the FindEx method will try to find the specified object. To search for an exact match, use the ^ and $ anchors, for example "regexp:^notepad$".įor detailed information on regular expression syntax, see Regular Expressions Syntax. For example, regexp:notepad matches both "notepad" and "notepad++". For example, "regexp:gry" will match both "gray" and "GRAY". Use standard TestComplete (non-native) syntax to specify regular expressions.Īll patterns are case-insensitive. The property does not support native regular expression syntax, that is, the syntax provided by scripting languages. ![]() To specify more complicated sought-for patterns for property values, use regular expressions, in the following format: regexp. The question mark (?) wildcard corresponds to any single character (including none). The asterisk (*) wildcard corresponds to a string of any length (including an empty string). Values can contain wildcards or regular expressions: A value of a single property or an array of values of properties that the PropNames parameter specifies. ![]()
0 Comments
Leave a Reply. |