Forum Discussion

SS01's avatar
Occasional Contributor
3 years ago

Test Complete test pass if the element doesn't exist on the page

What is the best way to check using javascript or TestComplete methods that the element is not present on the page. FindElement.exists fails the test but I want a way to pass the test if the element is not present. Example code will help. Thanks