Forum Discussion

raj360logica's avatar
raj360logica
Occasional Contributor
8 years ago

Not able to get the text of an HTML element.

Hi Guys,  I am working on a POC of my project using test complete. But I am unable to get the text of HTML element i.e. Button, Link etc. I am using Jscript.   I have to do it soon as possible.  ...
  • tristaanogre's avatar
    8 years ago

    Usually, for HTML objects/components, this can be found using either the contentText or innerText property of the object.  Have you tried those?