jeudi 25 août 2016

Squish not recognizing the dynamically changing object

I am new to Squish automation. I am trying to automate an application (windows based). it was a record and playback. Squish is able to open and login to my application but the moment when i am trying to click on a tab in the homa screen it is saying unable to identify the object.

this is the piece of code: mouseClick(waitForObject(": .ND - New Declaration_ListViewItem_18"));

in the end it stops and a new window pops up asking me to "picknewobject" when i pick the object that was not recognized, I see that the objects id has changed dynamically. eg: "ND - New Declaration_ListViewItem_18" changes to "ND - New Declaration_ListViewItem_19" and so forth.

Please help.

Aucun commentaire:

Enregistrer un commentaire