I'm wondering, if I can use custom HTML5 attributes, when searching a website?
I've tried different XPath's, but Ranorex always says that no elements are found.
So, is there a possibility to get results from such XPath: ".//a[@data-id]='1'"?
Thank you for your responses!
Are custom HTML5 attributes supported (data-*)?
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Are custom HTML5 attributes supported (data-*)?
Hi,
For sure this is possible. Please open following webpage http://www.coldfusionjedi.com/demos/201 ... /test3.cfm
and use this RxPath in Spy
Peter
Ranorex Team
For sure this is possible. Please open following webpage http://www.coldfusionjedi.com/demos/201 ... /test3.cfm
and use this RxPath in Spy
/dom[@domain='www.coldfusionjedi.com']/body/div/div[@data-id='10']Regards,
Peter
Ranorex Team