Page 1 of 1

Automatic update of parent element data

Posted: Tue May 07, 2019 3:49 pm
by bhavani
Hi,

Ranorex detects certain controls slowly. When we edit spy then there are multiple '?'s present as below
/form[@title='Generate Publication']/?/?
Then when we separately track the element in Ranorex Spy(64 bit) and update its parent element data. After update i edited this in notepad and copied the updated xpath of the parent element to the above xpath and below is the updated xpath
/form[@title='Generate Publication']/container[@name='mainPanel']/button[@name='gpSettingsButton'].
In this way the execution becomes a little faster. Is there any automatic way to get the updated xpath immediately after recording the control so that we can reduce the manual process

Regards,
Bhavani

Re: Automatic update of parent element data

Posted: Thu May 09, 2019 9:24 am
by Johann
Experiment with RanoreXPath Generation mode:

https://www.ranorex.com/help/latest/ran ... gurations/

Re: Automatic update of parent element data

Posted: Thu May 09, 2019 9:50 am
by odklizec
Hi,
Agree with Johann! Especially experimenting with "Edit Path Build Options" could bring some useful results. Sadly, this part of Ranorex is not described in user guide, so you will really have to experiment with these options :D