Examples of bodyRow()


Examples of org.seleniuminspector.openfaces.DataTableInspector.bodyRow()

        DataTableInspector selectionColumnDataTable = dataTable("formID:selectionColumnDataTableID");

        ElementInspector selectAllHeader = element("formID:selectionColumnDataTableID:selectAllHeaderID");
        selectAllHeader.click();
        for (int rowIndex = 0; rowIndex < 8; rowIndex++) {
            selectionColumnDataTable.bodyRow(rowIndex).cell(0).assertChecked(true);
        }
        selectionColumnDataTable.checkSelectedIndexes(0, 1, 2, 3, 4, 5, 6, 7, 8);

        element("formID:selectionColumnDataTableID:selectAllFooterID").click();
        for (int rowIndex = 0; rowIndex < 8; rowIndex++) {
View Full Code Here

Examples of org.seleniuminspector.openfaces.DataTableInspector.bodyRow()

        }
        selectionColumnDataTable.checkSelectedIndexes(0, 1, 2, 3, 4, 5, 6, 7, 8);

        element("formID:selectionColumnDataTableID:selectAllFooterID").click();
        for (int rowIndex = 0; rowIndex < 8; rowIndex++) {
            selectionColumnDataTable.bodyRow(rowIndex).cell(0).assertChecked(false);
        }
        selectionColumnDataTable.evalExpression("selectAllRows();");
        String isHeaderChecked = selectAllHeader.evalExpression("isSelected();");
        assertEquals(isHeaderChecked, "true");
        String isFooterChecked = selectAllHeader.evalExpression("isSelected();");
View Full Code Here

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

    public void testThereIsNoJSErrorOnAjaxTreeTableReloading() {
        Selenium selenium = getSelenium();
        liveDemoPage("/treetable/TreeTable_selectionAndKeyboard.jsf");
        assertTrue(selenium.getLocation().endsWith("/treetable/TreeTable_selectionAndKeyboard.jsf"));
        TreeTableInspector treeTable = treeTable("form1:requestsTreeTable");
        treeTable.bodyRow(1).click();
        treeTable.bodyRow(1).doubleClick();
        OpenFacesAjaxLoadingMode.getInstance().waitForLoad();
        treeTable.bodyRow(2).clickAndWait(OpenFacesAjaxLoadingMode.getInstance());
    }
}
View Full Code Here

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

        Selenium selenium = getSelenium();
        liveDemoPage("/treetable/TreeTable_selectionAndKeyboard.jsf");
        assertTrue(selenium.getLocation().endsWith("/treetable/TreeTable_selectionAndKeyboard.jsf"));
        TreeTableInspector treeTable = treeTable("form1:requestsTreeTable");
        treeTable.bodyRow(1).click();
        treeTable.bodyRow(1).doubleClick();
        OpenFacesAjaxLoadingMode.getInstance().waitForLoad();
        treeTable.bodyRow(2).clickAndWait(OpenFacesAjaxLoadingMode.getInstance());
    }
}
View Full Code Here

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

        assertTrue(selenium.getLocation().endsWith("/treetable/TreeTable_selectionAndKeyboard.jsf"));
        TreeTableInspector treeTable = treeTable("form1:requestsTreeTable");
        treeTable.bodyRow(1).click();
        treeTable.bodyRow(1).doubleClick();
        OpenFacesAjaxLoadingMode.getInstance().waitForLoad();
        treeTable.bodyRow(2).clickAndWait(OpenFacesAjaxLoadingMode.getInstance());
    }
}
View Full Code Here

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

        TabSetInspector loadingModes = tabSet("formID:loadingModes");
        if (loadingMode instanceof ServerLoadingMode) {
            loadingModes.tabs().get(1).clickAndWait(loadingMode);
        }
        TreeTableInspector treeTable = treeTable("formID:treeTableStaticStructureID");
        treeTable.bodyRow(0).cell(0).assertText("Colors");

        treeTable.bodyRow(0).expansionToggle().clickAndWait(loadingMode);
        treeTable.bodyRow(1).cell(0).assertText("Warm colors");
        treeTable.bodyRow(2).cell(0).assertText("Cold colors");
View Full Code Here

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

            loadingModes.tabs().get(1).clickAndWait(loadingMode);
        }
        TreeTableInspector treeTable = treeTable("formID:treeTableStaticStructureID");
        treeTable.bodyRow(0).cell(0).assertText("Colors");

        treeTable.bodyRow(0).expansionToggle().clickAndWait(loadingMode);
        treeTable.bodyRow(1).cell(0).assertText("Warm colors");
        treeTable.bodyRow(2).cell(0).assertText("Cold colors");

        treeTable.bodyRow(1).expansionToggle().clickAndWait(loadingMode);
        treeTable.bodyRow(2).cell(0).assertText("Red");
View Full Code Here

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

        }
        TreeTableInspector treeTable = treeTable("formID:treeTableStaticStructureID");
        treeTable.bodyRow(0).cell(0).assertText("Colors");

        treeTable.bodyRow(0).expansionToggle().clickAndWait(loadingMode);
        treeTable.bodyRow(1).cell(0).assertText("Warm colors");
        treeTable.bodyRow(2).cell(0).assertText("Cold colors");

        treeTable.bodyRow(1).expansionToggle().clickAndWait(loadingMode);
        treeTable.bodyRow(2).cell(0).assertText("Red");
        treeTable.bodyRow(3).cell(0).assertText("Yellow");
View Full Code Here

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

        TreeTableInspector treeTable = treeTable("formID:treeTableStaticStructureID");
        treeTable.bodyRow(0).cell(0).assertText("Colors");

        treeTable.bodyRow(0).expansionToggle().clickAndWait(loadingMode);
        treeTable.bodyRow(1).cell(0).assertText("Warm colors");
        treeTable.bodyRow(2).cell(0).assertText("Cold colors");

        treeTable.bodyRow(1).expansionToggle().clickAndWait(loadingMode);
        treeTable.bodyRow(2).cell(0).assertText("Red");
        treeTable.bodyRow(3).cell(0).assertText("Yellow");
View Full Code Here

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

        treeTable.bodyRow(0).expansionToggle().clickAndWait(loadingMode);
        treeTable.bodyRow(1).cell(0).assertText("Warm colors");
        treeTable.bodyRow(2).cell(0).assertText("Cold colors");

        treeTable.bodyRow(1).expansionToggle().clickAndWait(loadingMode);
        treeTable.bodyRow(2).cell(0).assertText("Red");
        treeTable.bodyRow(3).cell(0).assertText("Yellow");

        treeTable.bodyRow(4).expansionToggle().clickAndWait(loadingMode);
        treeTable.bodyRow(5).cell(0).assertText("Blue");
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.