Spy Tool is not reliable

Ranorex Studio, Spy, Recorder, and Driver.
atom
Posts: 357
Joined: Sun Dec 07, 2008 11:14 pm
Location: Dublin, Ireland

Spy Tool is not reliable

Post by atom » Mon Jul 20, 2009 12:26 pm

Hiya

We are finding the Spy tool isnt that reliable because the RxPath for elements inside a form dont include the form itself but instead have "*" in the path.

e.g.
I have Form1 that contains ToolBar1
In the Spy tool the RxPath for Form1 is:

/form[@title='MyApp']/container/form[@controlid='65280']

And the RxPath for ToolBar1 is:

/form[@title='MyApp']/container/*/toolbar[@controlid='59392']

How can we force the spy tool to get the RxPath for ToolBar1 to:

/form[@title='MyApp']/container/form[@controlid='65280']/toolbar[@controlid='59392']

Thanks

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

Re: Spy Tool is not reliable

Post by Support Team » Thu Jul 23, 2009 2:27 pm

Hi atom,
there`s no way to configure the spy tool to generate RxPath diverse. We are attempt to keep the RxPath as economic as possible.

Regards,
Christian
Support Team

atom
Posts: 357
Joined: Sun Dec 07, 2008 11:14 pm
Location: Dublin, Ireland

Re: Spy Tool is not reliable

Post by atom » Fri Jul 24, 2009 2:56 pm

It would be nice though in the spy too to have the same options as there are in the PathBuildMode enumeration

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

Re: Spy Tool is not reliable

Post by Support Team » Wed Jul 29, 2009 10:35 am

We are attempting to bring such functionality in one of our next releases. Probably there will be a config file to manipulate the RxPath generation.

The 'PathBuildMode' configuration option was added to our roadmap.

Regards,
Christian
Support TEam

atom
Posts: 357
Joined: Sun Dec 07, 2008 11:14 pm
Location: Dublin, Ireland

Re: Spy Tool is not reliable

Post by atom » Wed Jul 29, 2009 1:17 pm

lovelly!