Page 2 of 2

Re: Difference between the Spy in the Studio and Ranorex.Spy.exe

Posted: Thu Aug 09, 2012 2:26 pm
by j.early
attached

Re: Difference between the Spy in the Studio and Ranorex.Spy.exe

Posted: Thu Aug 09, 2012 2:42 pm
by Support Team
Hi,

Thanks for the file, but I was not able to find the specific button, so please send a Snapshot which contains the element we are talking about.
Please also send us more detailed information about your application under test.
Do you know what exactly changed in your application and which version of Qt are you using?

Thanks,
Markus
Ranorex Support Team

Re: Difference between the Spy in the Studio and Ranorex.Spy.exe

Posted: Thu Aug 09, 2012 3:40 pm
by j.early
Nothing has changed in our application that affects the section I am working on. Qt version is 4.8.14.

The attached Snapshot is off the entire application.

The button I am having trouble with is:
/form[@title~'^PyramidalCell\.ims\ -\ c2czo']/element[@class='QWidget' and @instance='3']/element[@class='QWidget' and @instance='0']/element/element[@class='QWidget' and @instance='2']/element/element[@class='QWidget' and @instance='1']/element[@class='QWidget' and @instance='0']/element/element[@class='QWidget' and @instance='0']/element[@class='QWidget' and @instance='0']/container/container/button[@accessiblename~'^Skip\ automatic\ creation,\ ']

Re: Difference between the Spy in the Studio and Ranorex.Spy.exe

Posted: Fri Aug 10, 2012 1:31 pm
by Support Team
Thanks!

Do you have already tried to use the full RxPath instead of the relative one?
Maybe Ranorex just takes too long to find the element during runtime.
You can also try to increase the search timeout of the repository item.

Regards,
Markus
Ranorex Support Team

Re: Difference between the Spy in the Studio and Ranorex.Spy.exe

Posted: Thu Aug 23, 2012 3:15 pm
by j.early
got it sorted folks,

Removed the "instance='2'" from the XPath using Spy and made sure all my object where listed under the correct "form" in the repo. Haven't had the issue since.

Cheers
Joe