public void COLLECT_Account_Login_Actions_MainBody_01_WhenBothUserNameAndPasswordFieldsAreFilledInThenLoginSucceeds() { AccountLoginPage accountLoginPage = new AccountLoginPage(Driver); var createFormPage = accountLoginPage .SignInFully("*****@*****.**", "#Y12ogesh$"); //Later these hard coded values will be stored into database Verify.IsTrue(createFormPage.AmIOnCreateFormPage, "I am not correctly on the create form page."); }
public void COLLECT_Account_Login_Actions_MainBody_EmptyField_01_WhenUserNameFieldIsEmptyThenLoginFails() { _user.Email = ""; _user.Password = "******"; AccountLoginPage accountLoginPage = new AccountLoginPage(Driver); accountLoginPage .SignInFully(_user.Email, _user.Password); Verify.IsTrue(accountLoginPage.AmIOnAccountLoginPage, "I am not correctly on the Login Page"); }
public void COLLECT_Account_Login_Actions_MainBody_InvalidField_02_WhenPasswordFieldIsInvalidThenLoginFails() { _user.Email = "*****@*****.**"; _user.Password = "******"; AccountLoginPage accountLoginPage = new AccountLoginPage(Driver); accountLoginPage .SignInFully(_user.Email, _user.Password); Verify.IsTrue(accountLoginPage.AmIOnAccountLoginPage, "I am not correctly on the Login Page"); }