Thats problem is not stable reproducing.. Preliminary 1/4 my tests on IE 11 failed as Selenium SendKeys sends symbol “2” instead of “@“
I'm trying to login and use sendKeys to fill username/password. pdpPage.getInputUsernameText().sendKeys(user);
Variable user equal to "vasilenko@gmail.com" But sometimes IE driver fill "@" symbol with SHIFT. Like "vasilenko2gmail.com"
@And("I sign-in as {string} with {string} password")
public void iSignInWith(String user, String password) {
wait.until(ExpectedConditions.visibilityOf(pdpPage.getPerformSignIn()));
pdpPage.getInputUsernameText().clear();
pdpPage.getInputUsernameText().sendKeys(user);
pdpPage.getInputPasswordText().clear();
pdpPage.getInputPasswordText().sendKeys(password);
pdpPage.getPerformSignIn().click();
}
Aucun commentaire:
Enregistrer un commentaire