Page 1 of 1

Spy Tool is not reliable

Posted: Mon Jul 20, 2009 12:26 pm
by atom
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

Re: Spy Tool is not reliable

Posted: Thu Jul 23, 2009 2:27 pm
by Support Team
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

Re: Spy Tool is not reliable

Posted: Fri Jul 24, 2009 2:56 pm
by atom
It would be nice though in the spy too to have the same options as there are in the PathBuildMode enumeration

Re: Spy Tool is not reliable

Posted: Wed Jul 29, 2009 10:35 am
by Support Team
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

Re: Spy Tool is not reliable

Posted: Wed Jul 29, 2009 1:17 pm
by atom
lovelly!