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
Ranorex Studio 4.1.0 cannot find objects that Spy can find.
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
-
- Posts: 1
- Joined: Wed Feb 05, 2014 11:54 am
Re: Ranorex Studio 4.1.0 cannot find objects that Spy can find.
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
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
-
- Posts: 54
- Joined: Wed Jan 09, 2013 7:02 pm
Re: Ranorex Studio 4.1.0 cannot find objects that Spy can find.
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.
I will create a small applet that demonstrates this issue and post it.
- Support Team
- 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.
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
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
-
- Posts: 54
- Joined: Wed Jan 09, 2013 7:02 pm
Re: Ranorex Studio 4.1.0 cannot find objects that Spy can find.
And I post the application and screen shots How?
- Support Team
- 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.
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
Please send the sample to [email protected]. Please do let us know if you are facing any obstacles.
Thank you in advance.
Regards,
Robert