Re: Ranorex Studio 4.1.0 cannot find objects that Spy can find.
Posted: 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
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