Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @FindBy(xpath= FinalLocators.userName)
- WebElement uname;
- @FindBy(xpath= FinalLocators.userpass)
- WebElement userpwd;
- sendkeys.uname("johndoe");
- sendkeys.userpwd("kitty");
- public static final String userName=//input[text()='username']
- public static final String userpass=//input[text()='password']
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement