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

Popular posts from this blog

javascript - Thinglink image not visible until browser resize -

firebird - Error "invalid transaction handle (expecting explicit transaction start)" executing script from Delphi -

mongodb - How to keep track of users making Stripe Payments -