Automatic update of parent element data

Ask general questions here.
bhavani
Posts: 12
Joined: Mon Mar 25, 2019 6:51 am

Automatic update of parent element data

Post by bhavani » Tue May 07, 2019 3:49 pm

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

Johann
Posts: 23
Joined: Fri May 03, 2019 8:55 am

Re: Automatic update of parent element data

Post by Johann » Thu May 09, 2019 9:24 am

Experiment with RanoreXPath Generation mode:

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

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 7470
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Automatic update of parent element data

Post by odklizec » Thu May 09, 2019 9:50 am

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
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration