public void WhenIEnterUsernameAndPasswordToLogin() { var userName = GetJsonConfigurationValue("UserName"); var password = GetJsonConfigurationValue("Password"); Pages.LoginPage().LogInToDD365(userName, password); }
public void WhenIEnterUsernameAndPasswordToLogin() { var userName = GetJsonConfigurationValue("UserName"); var password = GetJsonConfigurationValue("Password"); Pages.LoginPage().UsernameInput.SendKeys(userName); Pages.LoginPage().NextButton.Click(); Pages.LoginPage().PasswordInput.SendKeys(password); Pages.LoginPage().SigninButton.Click(); }