Forum Discussion

johnsski's avatar
johnsski
Occasional Contributor
2 years ago
Solved

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 checkpoint pass when the WPF Control Text = 'Simulation complete.' or 'Outputting complete.'

It fails so is it that the 'CheckProperty' action doesn't support wildcards or something else is wrong?

 

Thanks,

John