Issue :
Error in execution due to web element/object not found.
Issue Description:
When executing test cases, an error can occur if a web element or object is not found on the page. This typically happens when the element's identifier or properties (such as ID, class, or XPath) gets changed with time.
Solution:
1. Recheck the test case to ensure that the object has been successfully captured in the test step during recording.
2. If the test object is dynamic and changes with time, use ByText keywords in test case to handle it during test execution. These keywords locate the object by its name on the application and hence, any internal property change cannot affect the test case.
Use this article to get detailed info on how to handle ByText keywords for dynamic objects.
Issue: Web Element/Object Not Found error when using the ByText keyword
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article