Пример #1
0
        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");
        }
Пример #2
0
        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);
        }