robotframework-whitelibrary icon indicating copy to clipboard operation
robotframework-whitelibrary copied to clipboard

How to pass xpath as locators?

Open muthuubalakan opened this issue 4 years ago • 1 comments

I am trying to automate java application with White library.

In some cases, I have text. So, I use as follows.

Click Button text:Log in

In some cases, I have xpath, like this /Edit[@Name=\"User Name\"][@AutomationId=\"idToken\"]

**Click Button id:/Edit[@Name="User Name"][@AutomationId="idToken"] **

But I get error.

muthuubalakan avatar Oct 15 '20 12:10 muthuubalakan