Examples of popup()


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

    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

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

        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

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

    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

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

        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

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

    public void testWithSuggestionField() {
        testAppFunctionalPage("/components/loadbundle/withSuggestionField.jsf");

        String suggestionFieldId = "formID:plants";
        SuggestionFieldInspector suggestionField = suggestionField(suggestionFieldId);
        ElementInspector secondSuggestion = suggestionField.popup().items().get(2);

        // check 'ar' locale
        suggestionField.keyDown(KeyEvent.VK_DOWN);
        secondSuggestion.assertText(WEEK_AR);
View Full Code Here

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

        testAppFunctionalPage("/components/foreach/forEach.jsf");

        ForEachInspector forEach = forEach("formID:fe10");
        SuggestionFieldInspector suggestionField = suggestionField(forEach.item(0, "sf1").asSeleniumLocator());

        ElementInspector dropDownItem0 = suggestionField.popup().items().get(0);
        ElementInspector dropDownItem1 = suggestionField.popup().items().get(1);
        ElementInspector dropDownItem2 = suggestionField.popup().items().get(2);

        dropDownItem0.assertElementExists(false);
        dropDownItem1.assertElementExists(false);
View Full Code Here

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

        ForEachInspector forEach = forEach("formID:fe10");
        SuggestionFieldInspector suggestionField = suggestionField(forEach.item(0, "sf1").asSeleniumLocator());

        ElementInspector dropDownItem0 = suggestionField.popup().items().get(0);
        ElementInspector dropDownItem1 = suggestionField.popup().items().get(1);
        ElementInspector dropDownItem2 = suggestionField.popup().items().get(2);

        dropDownItem0.assertElementExists(false);
        dropDownItem1.assertElementExists(false);
        dropDownItem2.assertElementExists(false);
View Full Code Here

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

        ForEachInspector forEach = forEach("formID:fe10");
        SuggestionFieldInspector suggestionField = suggestionField(forEach.item(0, "sf1").asSeleniumLocator());

        ElementInspector dropDownItem0 = suggestionField.popup().items().get(0);
        ElementInspector dropDownItem1 = suggestionField.popup().items().get(1);
        ElementInspector dropDownItem2 = suggestionField.popup().items().get(2);

        dropDownItem0.assertElementExists(false);
        dropDownItem1.assertElementExists(false);
        dropDownItem2.assertElementExists(false);
        suggestionField.keyPress('a');
View Full Code Here

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

        dropDownItem0.assertElementExists(false);
        dropDownItem1.assertElementExists(false);
        dropDownItem2.assertElementExists(false);

        suggestionField = suggestionField(forEach.item(1, "sf1").asSeleniumLocator());
        dropDownItem0 = suggestionField.popup().items().get(0);
        dropDownItem1 = suggestionField.popup().items().get(1);
        dropDownItem2 = suggestionField.popup().items().get(2);

        dropDownItem0.assertElementExists(false);
        dropDownItem1.assertElementExists(false);
View Full Code Here

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

        dropDownItem1.assertElementExists(false);
        dropDownItem2.assertElementExists(false);

        suggestionField = suggestionField(forEach.item(1, "sf1").asSeleniumLocator());
        dropDownItem0 = suggestionField.popup().items().get(0);
        dropDownItem1 = suggestionField.popup().items().get(1);
        dropDownItem2 = suggestionField.popup().items().get(2);

        dropDownItem0.assertElementExists(false);
        dropDownItem1.assertElementExists(false);
        dropDownItem2.assertElementExists(false);
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.