Reputation: 1
I'm beginner in the automation testing:
I wrote test case via Robot Framework, it's working fine on my local but when I run it via Jenkins I got this:
ValueError: Element locator '//input[@class='gp-phone-number-input-field']' did not match any elements.
It looks weird for me because I used same keyword for other test cases and it's working fine. Also I checked this xpath, it's still valid.
Upvotes: 0
Views: 1540
Reputation: 3737
You may have to add some Waiting keyword before the action. This is because Jenkins may cause some delay on page loading (or elements to be present).
Upvotes: 0