googleid_114358
12 years agoContributor
HTML5 data-* properties unavailable
Hi. Our dev team started to use HTML5 data property and I would like to access those values with TestComplete. Here is the W3C description http://www.w3.org/TR/html5/dom.html#embedding-custom-n...
- 12 years agoThe w3.org page that you specified contains definition of dataset property, which is intended to access these data-attributes, but it does not work in IE. If you need cross-browser way then you should use getAttribute method of a web element of interest:
Log.Message(THobj.getAttribute("data-property"))