python - How to verify text using Squish -
i automating windows application using squish. trying verify if required text displayed in window after make changes in gui. used object spy object id, confused how give test verification point. following verification point says in results window 'true' , 'true' equal. want as, example 4x , 4x equal.
test.compare(findobject("{name ='textobjective'}").enabled, true)
thank you!!
instead of enabled
property, can compare other property - e.g. text
:
test.compare(findobject("{name ='textobjective'}").text, "4x")
Comments
Post a Comment