Examples of caption()


Examples of org.seleniuminspector.openfaces.ConfirmationInspector.caption()

        element("invoker").click();
        ConfirmationInspector confirmation = confirmation("form1:styled");
        confirmation.buttonArea().assertStyle("background: blue");
        confirmation.assertStyle("border: 3px solid black");
        confirmation.cancelButton().assertStyle("border: 1px dashed black");
        confirmation.caption().assertStyle("border: 1px dashed white");
        confirmation.details().assertStyle("color: red");
        confirmation.iconArea().assertStyle("border: 1px solid orange");
        confirmation.message().assertStyle("color: blue");
        confirmation.content().assertStyle("background: beige");
        confirmation.modalLayer().assertStyle("background: gray");
View Full Code Here

Examples of org.seleniuminspector.openfaces.FoldingPanelInspector.caption()

        testAppFunctionalPage("/components/loadbundle/withFoldingPanel.jsf");

        FoldingPanelInspector foldingPanel = foldingPanel("formID:loadBundleFoldingPanel");

        // check 'ar' locale
        foldingPanel.caption().assertText(TODAY_AR);
        foldingPanel.setExpanded(true);
        OpenFacesAjaxLoadingMode.getInstance().waitForLoad();
        foldingPanel.content().assertText(TODAY_AR + WEEK_AR);

        TabSetInspector localeChanger = tabSet("formID:localeChanger");
View Full Code Here

Examples of org.seleniuminspector.openfaces.FoldingPanelInspector.caption()

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

        // check 'es' locale
        localeChanger.tabs().get(1).clickAndWait();
        testAppFunctionalPage("/components/loadbundle/withFoldingPanel.jsf"); // issue a GET request for view to update locale in JSP
        foldingPanel.caption().assertText(TODAY_ES);
        foldingPanel.setExpanded(true);
        OpenFacesAjaxLoadingMode.getInstance().waitForLoad();
        foldingPanel.content().assertText(TODAY_ES + WEEK_ES);

        // check 'ja' locale
View Full Code Here

Examples of org.seleniuminspector.openfaces.FoldingPanelInspector.caption()

        foldingPanel.content().assertText(TODAY_ES + WEEK_ES);

        // check 'ja' locale
        localeChanger.tabs().get(2).clickAndWait();
        testAppFunctionalPage("/components/loadbundle/withFoldingPanel.jsf"); // issue a GET request for view to update locale in JSP
        foldingPanel.caption().assertText(TODAY_JA);
        foldingPanel.setExpanded(true);
        OpenFacesAjaxLoadingMode.getInstance().waitForLoad();
        foldingPanel.content().assertText(TODAY_JA + WEEK_JA);

        // check 'ru' locale
View Full Code Here

Examples of org.seleniuminspector.openfaces.FoldingPanelInspector.caption()

        foldingPanel.content().assertText(TODAY_JA + WEEK_JA);

        // check 'ru' locale
        localeChanger.tabs().get(3).clickAndWait();
        testAppFunctionalPage("/components/loadbundle/withFoldingPanel.jsf"); // issue a GET request for view to update locale in JSP
        foldingPanel.caption().assertText(TODAY_RU);
        foldingPanel.setExpanded(true);
        OpenFacesAjaxLoadingMode.getInstance().waitForLoad();
        foldingPanel.content().assertText(TODAY_RU + WEEK_RU);

        // reset tab index for further running tests
View Full Code Here

Examples of org.seleniuminspector.openfaces.FoldingPanelInspector.caption()

        clientText.assertVisible(true);
        clientText.assertText("test client loading mode");

        //check 'ajax' loading mode
        FoldingPanelInspector ajaxFoldingPanel = foldingPanel("formID:ajaxFP");
        ajaxFoldingPanel.caption().assertVisible(true);
        ElementInspector ajaxImage = element("formID:ajaxImage");
        ajaxImage.assertElementExists(false);
        ElementInspector ajaxText = element("formID:ajaxText");
        ajaxText.assertElementExists(false);
View Full Code Here

Examples of org.seleniuminspector.openfaces.FoldingPanelInspector.caption()

        testAppFunctionalPage("/components/foldingpanel/foldingPanelStyles.jsf");

        FoldingPanelInspector foldingPanel = foldingPanel("formID:styledFP");
        foldingPanel.assertStyle("border: 5px solid orange;");
        foldingPanel.assertExpressionEquals("offsetWidth", 200);
        foldingPanel.caption().assertStyle("border: 2px dashed blue; background: LightBlue; color: DarkOrange; font-weight: bold;");

        ElementInspector toggle = foldingPanel.toggle();
        ElementInspector toggleImage = toggle.getElementsByTagName("img").get(0);
        toggleImage.assertAttributeStartsWith("src", "collapsed.gif");
View Full Code Here

Examples of org.seleniuminspector.openfaces.FoldingPanelInspector.caption()

    public void testAjaxFoldingPanelInside() {
        testAppFunctionalPage("/components/foldingpanel/foldingPanelIn.jsf");

        foldingPanel("fn:foldingPanel_FoldingPanel").toggle().clickAndWait(OpenFacesAjaxLoadingMode.getInstance());
        FoldingPanelInspector foldingPanel = foldingPanel("fn:insiderFoldingPanel");
        foldingPanel.caption().assertElementExists();
        foldingPanel.content().assertVisible(false);

        foldingPanel.toggle().clickAndWait(OpenFacesAjaxLoadingMode.getInstance());
        foldingPanel.caption().assertElementExists();
        foldingPanel.content().assertVisible(true);
View Full Code Here

Examples of org.seleniuminspector.openfaces.FoldingPanelInspector.caption()

        FoldingPanelInspector foldingPanel = foldingPanel("fn:insiderFoldingPanel");
        foldingPanel.caption().assertElementExists();
        foldingPanel.content().assertVisible(false);

        foldingPanel.toggle().clickAndWait(OpenFacesAjaxLoadingMode.getInstance());
        foldingPanel.caption().assertElementExists();
        foldingPanel.content().assertVisible(true);
    }

     @Test
    public void testHintLabelInside() throws InterruptedException {
View Full Code Here

Examples of org.seleniuminspector.openfaces.SidePanelInspector.caption()

        SidePanelInspector defaultSidePanel = sidePanel("formID:defaultSidePanelId");
        defaultSidePanel.assertElementExists();
        defaultSidePanel.splitter().assertElementExists();
        defaultSidePanel.panel().assertElementExists();
        defaultSidePanel.caption().assertElementExists(false);
        defaultSidePanel.content().assertElementExists();

        // test leftSidePanel rendering
        SidePanelInspector leftSidePanel = sidePanel("formID:leftSidePanelId");
        leftSidePanel.assertElementExists();
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.