Kholopov Alexander
Kholopov Alexander

Reputation: 1

Robot Framework > Element locator did not match any elements

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

Answers (1)

Helio
Helio

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

Related Questions