Can we use CSS selectors instead of RXPath

Ask general questions here.
kingzelot
Posts: 2
Joined: Thu Nov 16, 2017 4:19 pm

Can we use CSS selectors instead of RXPath

Post by kingzelot » Thu Nov 16, 2017 4:22 pm

I did some googling and could not find an answer to this. Are we able to use CSS selectors to retrieve elements from the dom in code modules? How about css in the Repo?

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

Re: Can we use CSS selectors instead of RXPath

Post by odklizec » Thu Nov 16, 2017 5:26 pm

Hi,

A similar problem has been discussed here:
https://www.ranorex.com/forum/use-of-cs ... t9542.html
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