Examples of assertElementExists()


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

        serverImage.assertElementExists(false);
        ElementInspector serverText = element("formID:serverText");
        serverText.assertElementExists(false);

        FoldingPanelInspector serverFoldingPanel = foldingPanel("formID:serverFP");
        serverFoldingPanel.assertElementExists();
        serverFoldingPanel.toggle().clickAndWait();
        serverImage.assertVisible(true);
        serverText.assertVisible(true);
        serverText.assertText("test server loading mode");
View Full Code Here

Examples of org.seleniuminspector.openfaces.ForEachInspector.assertElementExists()

        ElementInspector wrapper_table = element("formID:fe13");
        wrapper_table.assertElementExists();
        wrapper_table.assertNodeName("table");
        for (int i = 0; i < 10; i++) {
            ForEachInspector wrapper_tr = forEach("formID:fe13").item(i, "fe14", ForEachInspector.class);
            wrapper_tr.assertElementExists();
            wrapper_tr.assertNodeName("tr");
            for (int j = 0; j < 10; j++) {
                ForEachInspector wrapper_td = wrapper_tr.item(j, "fe15", ForEachInspector.class);
                wrapper_td.assertElementExists();
                wrapper_td.assertNodeName("td");
View Full Code Here

Examples of org.seleniuminspector.openfaces.PopupLayerInspector.assertElementExists()

        element("formID:buttonID").click();
        String newValue = popupLayer.text();
        popupLayer.assertVisible(true);
        element("formID:popupCloser").click();
        popupLayer.assertVisible(false);
        popupLayer.assertElementExists();
        assertFalse(newValue.equals(oldValue));
    }

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

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

    public void testRendering() {
        testAppFunctionalPage("/components/borderlayoutpanel/sidePanelft.jsf");
        // test defaultSidePanel rendering

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

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

        defaultSidePanel.caption().assertElementExists(false);
        defaultSidePanel.content().assertElementExists();

        // test leftSidePanel rendering
        SidePanelInspector leftSidePanel = sidePanel("formID:leftSidePanelId");
        leftSidePanel.assertElementExists();
        leftSidePanel.splitter().assertElementExists();
        leftSidePanel.panel().assertElementExists();
        leftSidePanel.caption().assertElementExists();
        leftSidePanel.content().assertElementExists();
View Full Code Here

Examples of org.seleniuminspector.openfaces.TreeTableInspector.assertElementExists()

     @Test
    public void testTreeTableInside() {
        testAppFunctionalPage("/components/foldingpanel/treeTableIn.jsf");

        TreeTableInspector treeTable = treeTable("fn:treeTableID");
        treeTable.assertElementExists(false);
        foldingPanel("fn:treeTableFoldingPanel").toggle().clickAndWait(OpenFacesAjaxLoadingMode.getInstance());

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

Examples of org.seleniuminspector.openfaces.TwoListSelectionInspector.assertElementExists()

     @Test
    public void testTwoListSelectionInside() {
        testAppFunctionalPage("/components/foldingpanel/twoListSelectionIn.jsf");

        TwoListSelectionInspector twoListSelection = twoListSelection("fn:twoListSelectionID");
        twoListSelection.assertElementExists(false);

        foldingPanel("fn:TLSFoldingPanel").toggle().clickAndWait(OpenFacesAjaxLoadingMode.getInstance());
        twoListSelection.assertElementExists(true);
        twoListSelection.assertVisible(true);
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.