public void TestFillUserForm(string titleId, string initial, string firstName, string middleName) { UserFormPageObject userFormPage = new UserFormPageObject(driver, userFormUrl); userFormPage.NavigateTo(); userFormPage.FillUserForm(titleId, initial, firstName, middleName); userFormPage.btnSave.Submit(); //string fieldValue = userFormPage.GetText(userFormPage.txtInitial); }
public void PerformE2ETests() { LoginPageObject loginPage = new LoginPageObject(driver, loginFormUrl); loginPage.NavigateTo(); loginPage.Login("test", "123"); UserFormPageObject userFormPage = new UserFormPageObject(driver, userFormUrl); userFormPage.FillUserForm("Mr.", "BH", "Bruno", "Henrique"); }
public string TestDropDownSelection(string value) { UserFormPageObject userForm = new UserFormPageObject(driver, userFormUrl); userForm.NavigateTo(); userForm.SetDropdownSelection(userForm.ddlTitleId, value, DropdrownSelection.ByText); string res = userForm.GetDropdownSelectedOption(userForm.ddlTitleId); return(res); }