Package org.seleniuminspector.openfaces

Examples of org.seleniuminspector.openfaces.DropDownFieldInspector.popup()


        element("valueGetter").click();
        element("out1").assertText("Red");

        element("openDropDown").click();
        dropDownField.popup().assertVisible(true);
        ElementInspector out2Element = element("out2");
        out2Element.assertText("true");

        sleep(5500);
        dropDownField.popup().assertVisible(false);
View Full Code Here


        dropDownField.popup().assertVisible(true);
        ElementInspector out2Element = element("out2");
        out2Element.assertText("true");

        sleep(5500);
        dropDownField.popup().assertVisible(false);
        out2Element.assertText("false");

        element("formID:submit").clickAndWait();
        element("formID:valueDD").assertText("Value: Red");
    }
View Full Code Here

    protected void checkNoCachingHighlight(String pageUrl){
        testAppFunctionalPage(pageUrl);
        DropDownFieldInspector dropdown = dropDownField("formID:plantsNoCaching");
        dropdown.field().keyDown(KeyEvent.VK_DOWN);
        OpenFacesAjaxLoadingMode.getInstance().waitForLoad();
        dropdown.popup().items().get(1).click();
        dropdown.field().keyDown(KeyEvent.VK_DOWN);
        OpenFacesAjaxLoadingMode.getInstance().waitForLoad();
        dropdown.popup().items().get(1).assertStyle("background-color: black;");
    }
View Full Code Here

        dropdown.field().keyDown(KeyEvent.VK_DOWN);
        OpenFacesAjaxLoadingMode.getInstance().waitForLoad();
        dropdown.popup().items().get(1).click();
        dropdown.field().keyDown(KeyEvent.VK_DOWN);
        OpenFacesAjaxLoadingMode.getInstance().waitForLoad();
        dropdown.popup().items().get(1).assertStyle("background-color: black;");
    }

    protected void checkAfterRenderHighlight(String pageUrl){
        testAppFunctionalPage(pageUrl);
        DropDownFieldInspector dropdown = dropDownField("formID:plantsAfterRender");
View Full Code Here

    protected void checkAfterRenderHighlight(String pageUrl){
        testAppFunctionalPage(pageUrl);
        DropDownFieldInspector dropdown = dropDownField("formID:plantsAfterRender");
        dropdown.field().keyDown(KeyEvent.VK_DOWN);
        OpenFacesAjaxLoadingMode.getInstance().waitForLoad();
        dropdown.popup().items().get(1).click();
        element("formID:renderPlants").click();
        OpenFacesAjaxLoadingMode.getInstance().waitForLoad();
        dropdown.field().keyDown(KeyEvent.VK_DOWN);
        OpenFacesAjaxLoadingMode.getInstance().waitForLoad();
        dropdown.popup().items().get(1).assertStyle("background-color: black;");
View Full Code Here

        dropdown.popup().items().get(1).click();
        element("formID:renderPlants").click();
        OpenFacesAjaxLoadingMode.getInstance().waitForLoad();
        dropdown.field().keyDown(KeyEvent.VK_DOWN);
        OpenFacesAjaxLoadingMode.getInstance().waitForLoad();
        dropdown.popup().items().get(1).assertStyle("background-color: black;");
    }

    protected void checkNoCashingAutoComplete(String pageUrl){
        testAppFunctionalPage(pageUrl);
        DropDownFieldInspector dropdown = dropDownField("formID:plantsNoCaching");
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.