Examples of clickAndWait()


Examples of org.seleniuminspector.ElementInspector.clickAndWait()

                element(dataTableID + ":" + j + ":second_body").assertText(WEEK_AR);
            }
            firstFooterElement.assertText(TODAY_AR);
            secondFooterElement.assertText(WEEK_AR);

            nextPaginationButton.clickAndWait(OpenFacesAjaxLoadingMode.getInstance());
        }

        TabSetInspector localeChanger = tabSet("formID:localeChanger");

        // perform sorting by first column and verify data 'es' locale
View Full Code Here

Examples of org.seleniuminspector.ElementInspector.clickAndWait()

                element(dataTableID + ":" + j + ":second_body").assertText(WEEK_RU);
            }
            firstFooterElement.assertText(TODAY_RU);
            secondFooterElement.assertText(WEEK_RU);

            nextPaginationButton.clickAndWait(OpenFacesAjaxLoadingMode.getInstance());
        }

        // reset tab index for further running tests
        localeChanger.tabs().get(0).clickAndWait();
    }
View Full Code Here

Examples of org.seleniuminspector.ElementInspector.clickAndWait()

        testAppFunctionalPage("/components/scrollfocus/focus.jsf");

        //check default 'true' value for the 'autoSaveFocus' attribute

        ElementInspector submit = element("formID:submit");
        submit.clickAndWait();
        element("out1").assertText(FOCUSED);

        //check autoSaveFocus=false
        testAppFunctionalPage("/components/scrollfocus/focus2.jsf");
        submit.clickAndWait();
View Full Code Here

Examples of org.seleniuminspector.ElementInspector.clickAndWait()

        submit.clickAndWait();
        element("out1").assertText(FOCUSED);

        //check autoSaveFocus=false
        testAppFunctionalPage("/components/scrollfocus/focus2.jsf");
        submit.clickAndWait();
        element("out").assertText(FOCUSED);
    }

     @Test
    public void testFocusByPageLoadWithInputText() {
View Full Code Here

Examples of org.seleniuminspector.ElementInspector.clickAndWait()

        selenium.click("//input[@value='Show']");
        popupLayer.assertVisible(true);

        ElementInspector submit = element("form1:submit");
        submit.clickAndWait();
        popupLayer.assertVisible(true);

        selenium.click("//input[@value='Hide']");
        popupLayer.assertVisible(false);
        submit.clickAndWait();
View Full Code Here

Examples of org.seleniuminspector.ElementInspector.clickAndWait()

        submit.clickAndWait();
        popupLayer.assertVisible(true);

        selenium.click("//input[@value='Hide']");
        popupLayer.assertVisible(false);
        submit.clickAndWait();
        popupLayer.assertVisible(false);
    }

}
View Full Code Here

Examples of org.seleniuminspector.ElementInspector.clickAndWait()

        ElementInspector dmf = element("dfm0");
        dmf.assertElementExists(false);
        TextAreaInspector textArea = new TextAreaInspector("fm:ta");
        textArea.type("Some text");
        ElementInspector button = element("fm:bt");
        button.clickAndWait();
        textArea.assertValue("Some text");
        for (int i = 0; i < "Some text".length(); i++)
            textArea.keyPress(Keys.BACK_SPACE);
//        textArea.type("");
        dmf.assertElementExists(false);
View Full Code Here

Examples of org.seleniuminspector.ElementInspector.clickAndWait()

        testAppFunctionalPage(pageUrl);

        ElementInspector submitElement = element("formID:submit");

        if (makeSubmit) {
            submitElement.clickAndWait();
        }
        DropDownFieldInspector dropDown = dropDownField("formID:styled");

        ElementInspector button = dropDown.button();
        ElementInspector field = dropDown.field();
View Full Code Here

Examples of org.seleniuminspector.ElementInspector.clickAndWait()

        attributeTabSet.tabs().get(1).click();
        TabSetInspector tagTabSet = tabSet("formID:selectionChangeListenerTagWithoutSubmit");
        tagTabSet.tabs().get(1).click();

        ElementInspector submit = element("formID:submit");
        submit.clickAndWait();

        ElementInspector out3Element = element("formID:out3");
        out3Element.assertText("true");
        ElementInspector out4Element = element("formID:out4");
        out4Element.assertText("true");
View Full Code Here

Examples of org.seleniuminspector.ElementInspector.clickAndWait()

        element("fn:firstHeader").assertText("First tab");
        element("fn:firstContent").assertText("Some text on the first tab");
        ElementInspector secondHeader = element("fn:secondHeader");
        secondHeader.assertText("Second tab");

        secondHeader.clickAndWait(OpenFacesAjaxLoadingMode.getInstance());
        element("fn:secondContent").assertText("Some text on the second tab");
    }

     @Test
    @Ignore
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.