Ranorex Studio 4.1.0 cannot find objects that Spy can find.

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

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

Post by Support Team » Thu Dec 12, 2013 2:27 pm

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

andreaskuttruff
Posts: 1
Joined: Wed Feb 05, 2014 11:54 am

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

Post by andreaskuttruff » Wed Feb 05, 2014 12:08 pm

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

JohnWashburn
Posts: 54
Joined: Wed Jan 09, 2013 7:02 pm

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

Post by JohnWashburn » Wed Aug 06, 2014 5:32 pm

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.

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

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

Post by Support Team » Thu Aug 07, 2014 2:51 pm

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

JohnWashburn
Posts: 54
Joined: Wed Jan 09, 2013 7:02 pm

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

Post by JohnWashburn » Thu Aug 07, 2014 2:57 pm

And I post the application and screen shots How?

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

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

Post by Support Team » Mon Aug 11, 2014 7:12 am

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