raj360logica
8 years agoOccasional Contributor
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.
Any help will be appropriated.
Thanks..!
Usually, for HTML objects/components, this can be found using either the contentText or innerText property of the object. Have you tried those?