marinb
14 years agoContributor
Problem with using wildcards in Object finding
I am using a function (javascript) to find objects in the application by checking the properties of an object (using Find & FindAllChildren)
The help states you can use * or ? as wildcards.
The function is looking for an object with the following contents in the .Name property:
The help states you can use * or ? as wildcards.
The function is looking for an object with the following contents in the .Name property:
*WPFObject("TextBlock", "*", 8)*
However, it finds 2 objects with contents:
WPFObject("TextBlock", "1", 8) and
WPFObject("TextBlock", "8", 7)
What am I doing wrong in this? According to me, it should explicitly look for ", 8 and ignore the object with ", 7
Does TestComplete have trouble with multiple *'s in a search string?