Exemple #1
0
        public void formPageStatus()
        {
            pages.FormPage formPage = new pages.FormPage(driver);

            // click in Form button
            formPage.clickOnFormButton(driver);

            // check if Form button has active status
            Assert.IsTrue(formPage.getFormButtonStatus(driver), String.Format("Actual status of Form button is:%s", formPage.getFormButtonStatus(driver)));
        }
Exemple #2
0
        public void formPageDisplayed()
        {
            pages.FormPage        formPage      = new pages.FormPage(driver);
            helpers.HelperMethods helperMethods = new helpers.HelperMethods();

            // click in Form button
            formPage.clickOnFormButton(driver);

            // check if form page is displayed
            helperMethods.checkFormPageIsDisplayed(driver);
        }
Exemple #3
0
        public void formPageDisplayedElements()
        {
            pages.FormPage        formPage      = new pages.FormPage(driver);
            helpers.HelperMethods helperMethods = new helpers.HelperMethods();

            // click in Form button
            formPage.clickOnFormButton(driver);

            // check that input form and submitt button is displayed
            Assert.IsTrue(formPage.getFormInputGroupVisibility(driver));
        }
Exemple #4
0
        //REQ-UI-12
        public void submitForm()
        {
            pages.FormPage        formPage       = new pages.FormPage(driver);
            helpers.HelperMethods helpersMethods = new helpers.HelperMethods();

            //click on Form button
            formPage.clickOnFormButton(driver);

            // check if desired text was sent throught input form
            helpersMethods.checkIfEnterTextIsTheCorrectOne(driver, "Emily");

            // check if the name is dislayed as wanted
            helpersMethods.checkIfCorrectNameIsDisplayed(driver, "Emily");
        }