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
- 5 years ago
- 8 years ago
Recent Discussions
- 19 hours ago
- 5 days ago