Page 3 of 3

Re: Ranorex Studio 4.1.0 cannot find objects that Spy can find.

Posted: Thu Dec 12, 2013 2:27 pm
by Support Team
Hello John,

Thank you for your application.
I started the application and compared the Path from RanoreXSpy with the path in your application.

For example:
RanorexSpy:
/form[@controlname='TelerikWhetstone']/container[@controlname='radDock1']//table[@accessiblename~'^Telerik\.WinControls\.UI\.Ra']/row[@accessiblename~'^Row\ 6\ Column\ Tag\ Value\ \ D']/cell[6]

Your application:
/form[@controlname='TelerikWhetstone']/element[@controlname='radDock1']//table[@accessiblename~'^Telerik\.WinControls\.UI\.Ra']/row[@accessiblename~'^Row\ 6\ Column\ Text\ Value\ I']/cell[6]

I have also seen that the timeout is not long enough.
Independend which value is set for the timeout in the dialog the message box "Control was not found" appears after 2 seconds.
Please make sure that the path is correct and that the timeout is not too short.
I changed the path and increased the timeout in your the code and your application could also find the element.

Regards,
Bernhard

Re: Ranorex Studio 4.1.0 cannot find objects that Spy can find.

Posted: Wed Feb 05, 2014 12:08 pm
by andreaskuttruff
Hi,

I had a similar problem on my windows 7 64 bit sytem, too. I found out that the 32bit Spy and Ranorex Studio didn't find a control but the 64bit Spy does. I checked the "Target CPU" settings of all project files and I found out that the "Target CPU" in one of the two project files of the solution was set to "32-bit Intel-compatible processor" and in the other one to "Any processor". So therefore I switched all "Target CPU" settings to "Any processor" and re-build the solution. After that it works with Ranorex Studio, too.

Maybe I could help you.

Andreas

Re: Ranorex Studio 4.1.0 cannot find objects that Spy can find.

Posted: Wed Aug 06, 2014 5:32 pm
by JohnWashburn
This defect is still present still in 5.0.3. Will this issue be resolved at some point?

I will create a small applet that demonstrates this issue and post it.

Re: Ranorex Studio 4.1.0 cannot find objects that Spy can find.

Posted: Thu Aug 07, 2014 2:51 pm
by Support Team
Hi John,

It would be great when you could post or send us a sample which illustrates your issue!
In my point of view this is no Ranorex defect it is more a configuration issue but let us wait for the sample then I will be able to analyze this issue in more detail.

Thanks,
Markus

Re: Ranorex Studio 4.1.0 cannot find objects that Spy can find.

Posted: Thu Aug 07, 2014 2:57 pm
by JohnWashburn
And I post the application and screen shots How?

Re: Ranorex Studio 4.1.0 cannot find objects that Spy can find.

Posted: Mon Aug 11, 2014 7:12 am
by Support Team
Hello John,

Please send the sample to [email protected]. Please do let us know if you are facing any obstacles.
Thank you in advance.

Regards,
Robert