Forum Discussion
AlexKaras
2 years agoChampion Level 3
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
Related Content
- 8 years ago
- 9 years ago
- 4 years ago
- 6 years ago
Recent Discussions
- 3 days ago