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 - Access directive function from component class or template -

php - Auto increment employee ID -

python - Evaluating the next line in a For Loop while in the current iteration -