Forum Discussion

johnsski's avatar
johnsski
Occasional Contributor
7 months ago

How to use wildcards for a WPFControlText property checkpoint?

I searched for Testcomplete wildcards & found '?' & '*' so I used  ' aqObject.CheckProperty(Aliases.simcyp.SimulationStatus.Status, "WPFControlText", cmpStartsWith, "*complete."); ' to have the che...
  • rraghvani's avatar
    7 months ago

    Refer to aqObject.CheckProperty method and see the third parameter named Condition.

    TestComplete allows you to use wildcards when specifying:

    • Text to be found and replaced in script units.
    • Variable parts in window captions and class names.
    • Search masks for the Find, FindChild and FindID methods.
    • The URLs of dynamic web pages (see Ignoring Query String Parameters).
    • The values of a mapped object’s identification properties.