Forum Discussion
AlexKaras
3 years agoCommunity Hero
Hi,
> if an HTML object has a specific property
I believe that you are looking for how to check if HTML object (actually - html markup for the given element) has not a specific property, but some specific attribute, aren't you?
In this case use the .hasProperty() html built-in method accessible from within TestComplete.
https://developer.mozilla.org/en-US/docs/Web/API/Element/hasAttribute
https://www.w3schools.com/jsref/met_element_hasattribute.asp