Regarding XPath Advance technology

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
amitgupta
Posts: 54
Joined: Sun Mar 28, 2021 7:58 pm

Regarding XPath Advance technology

Post by amitgupta » Sun Jun 06, 2021 7:52 pm

Dear Team
Could you please help me to share some guideline for using below user define advance XPath method in Ranorex Xpath .if we don't want to use ranorex spy and also want to user custom user define XPath for making unique xpath , could you guide me for the same because i have tried below method but it is not implementing/working here . thank you amit

1.ancestor
ancestor-or-self
descendant
descendant-or-self
parent
child
preceding-sibling
following-sibling

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

Re: Regarding XPath Advance technology

Post by odklizec » Mon Jun 07, 2021 8:34 am

Hi,

In my opinion, creating reliable xpaths WITHOUT the Ranorex Spy is impossible. Why would you want to create xpaths without Spy? It makes no sense! Ranorex Spy is a corner stone of Ranorex framework.

The xpath Axis are well described at the end of this user guide chapter:
https://www.ranorex.com/help/latest/ran ... anoreXPath
Feel free to ask if you don't understand something.
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