Пример #1
0
        public void WhenIEnterUsernameAndPasswordToLogin()
        {
            var userName = GetJsonConfigurationValue("UserName");
            var password = GetJsonConfigurationValue("Password");

            Pages.LoginPage().LogInToDD365(userName, password);
        }
Пример #2
0
        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();
        }