I am automating a windows application using Squish. I am trying to verify if the required text is displayed in a window after I make some changes in the GUI. I used object spy to get the object ID, but I am confused how to give a test verification point. The following Verification point says in the results window as 'True' and 'True' are equal. But I want it to be as, for example 4X and 4X are equal.
test.compare(findObject("{name ='textObjective'}").enabled, True)
Thank You!!
Instead of the enabled
property, you can also compare any other property - e.g. the text
:
test.compare(findObject("{name ='textObjective'}").text, "4X")