Package org.seleniuminspector

Examples of org.seleniuminspector.ElementInspector.assertVisible()


        testAppFunctionalPage("/components/foldingpanel/dynamicImageIn.jsf");
        tabSet("fn:loadingModes").setTabIndex(1, ServerLoadingMode.getInstance());

        ElementInspector dynamicImage = element("fn:dynamicImageID");
        dynamicImage.assertElementExists();
        dynamicImage.assertVisible(false);

        foldingPanel("fn:dynamicImageFoldingPanel").toggle().click();

        dynamicImage.assertElementExists();
        dynamicImage.assertVisible(true);
View Full Code Here


        dynamicImage.assertVisible(false);

        foldingPanel("fn:dynamicImageFoldingPanel").toggle().click();

        dynamicImage.assertElementExists();
        dynamicImage.assertVisible(true);
    }

     @Test
    public void testClientFoldingPanelInside() {
        testAppFunctionalPage("/components/foldingpanel/foldingPanelIn.jsf");
View Full Code Here

        testAppFunctionalPage("/components/foldingpanel/popupLayerIn.jsf");
        tabSet("fn:loadingModes").setTabIndex(1, ServerLoadingMode.getInstance());

        ElementInspector headerPopup = element("fn:header_popup");
        headerPopup.assertElementExists();
        headerPopup.assertVisible(false);

        foldingPanel("fn:popupLayerFoldingPanel").toggle().click();
        element("fn:header_invoker").click();

        headerPopup.assertVisible(true);
View Full Code Here

        headerPopup.assertVisible(false);

        foldingPanel("fn:popupLayerFoldingPanel").toggle().click();
        element("fn:header_invoker").click();

        headerPopup.assertVisible(true);
        headerPopup.assertSubtext(0, 28, "this is popup layer on tab 1");
    }

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

                //check is single selection performed well
                dataTable("fn:popupDataTable").checkSelectedIndex(rowIndex);

                //check: is popupLayers are visible
                ElementInspector bodyPopup = element("fn:popupDataTable:" + rowIndex + ":body_popup");
                bodyPopup.assertVisible(true);
                ElementInspector bodyPopup1 = element("fn:popupDataTable:" + rowIndex + ":body_popup1");
                bodyPopup1.assertVisible(true);

                //get text from the invoked popupLayers
                String currentFirstCellValue = bodyPopup.text().substring(0, 9);
View Full Code Here

                //check: is popupLayers are visible
                ElementInspector bodyPopup = element("fn:popupDataTable:" + rowIndex + ":body_popup");
                bodyPopup.assertVisible(true);
                ElementInspector bodyPopup1 = element("fn:popupDataTable:" + rowIndex + ":body_popup1");
                bodyPopup1.assertVisible(true);

                //get text from the invoked popupLayers
                String currentFirstCellValue = bodyPopup.text().substring(0, 9);
                String currentSecondCellValue = bodyPopup1.text().substring(0, 9);
View Full Code Here

        testAppFunctionalPage("/components/foldingpanel/tabbedPaneIn.jsf");
        tabSet("fn:loadingModes").setTabIndex(1, ServerLoadingMode.getInstance());

        ElementInspector tabbedPane = element("fn:tabbedPaneID");
        tabbedPane.assertElementExists();
        tabbedPane.assertVisible(false);

        foldingPanel("fn:tabbedPaneFoldingPanel").toggle().click();

        tabbedPane.assertVisible(true);
View Full Code Here

        tabbedPane.assertElementExists();
        tabbedPane.assertVisible(false);

        foldingPanel("fn:tabbedPaneFoldingPanel").toggle().click();

        tabbedPane.assertVisible(true);

        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");
View Full Code Here

            }
        });

        ElementInspector tabSet = element("fn:tabSetID");
        tabSet.assertElementExists();
        tabSet.assertVisible(false);

        foldingPanel("fn:tabSetFoldingPanel").toggle().click();
        element("fn:firstTab").assertText("Client");

        ElementInspector secondTab = element("fn:secondTab");
View Full Code Here

        testAppFunctionalPage("/components/foldingpanel/validationIn.jsf");
        tabSet("fn:loadingModes").setTabIndex(1, ServerLoadingMode.getInstance());

        ElementInspector requiredInput = element("fn:required_input");
        requiredInput.assertElementExists();
        requiredInput.assertVisible(false);

        ElementInspector message = element("fn:validationMessage");
        message.assertElementExists();
        message.assertVisible(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.