Hi,
I am facing a trouble after Ranorex 9 update, regarding domain name in ranorex path. Previously, it used to be “Dom[@domain=‘citizen net.com’]” but after version has got updated. I am finding couple of domain names for same element multiple time. For example, for same previous element, now it is showing :
- Dom [@dom=‘1’]
- Dom[@caption =‘citizennet.com']
What could be the possible reason for it and How I can fix it ?
Ranorex version 9.0
windows 10
Domain name problem
Domain name problem
Regards,
Charu Solanki
Ranorex User
Charu Solanki
Ranorex User
Re: Domain name problem
Hi,
At first, have you tried to set new option Enable JS-based RanorXpath evaluation to False (Ranorex Settings >> Plugins tab >> Web section)? There are some problems with this new 9.0option, which is by default ON.
Additionally, add and @visible='True' at the end of domain xpath. This should assure that only visible DOMs are found. With 9.0, there was enabled support for shadow DOM elements, which are by default invisible, but still shown in the Spy tree. And this may eventually compromise the list of returned elements. So if you don't care about shadow DOM elements, simply limit the domain xpath to just visible DOMs. Hope this helps?
At first, have you tried to set new option Enable JS-based RanorXpath evaluation to False (Ranorex Settings >> Plugins tab >> Web section)? There are some problems with this new 9.0option, which is by default ON.
Additionally, add and @visible='True' at the end of domain xpath. This should assure that only visible DOMs are found. With 9.0, there was enabled support for shadow DOM elements, which are by default invisible, but still shown in the Spy tree. And this may eventually compromise the list of returned elements. So if you don't care about shadow DOM elements, simply limit the domain xpath to just visible DOMs. Hope this helps?
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
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