Examples of bodyRow()


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

        testAppFunctionalPage("/requests/JSFC-2478.jsf");

        /* check DataTable without select all checkbox tag */
        DataTableInspector withoutSelectAllCheckboxDataTable = dataTable("formID:withoutSelectAllCheckboxDataTableID");
        for (int rowIndex = 0; rowIndex < 8; rowIndex++) {
            withoutSelectAllCheckboxDataTable.bodyRow(rowIndex).cell(0).click();
            withoutSelectAllCheckboxDataTable.bodyRow(rowIndex).cell(0).assertChecked(true);
        }
        for (int rowIndex = 0; rowIndex < 8; rowIndex++) {
            withoutSelectAllCheckboxDataTable.bodyRow(rowIndex).cell(0).click();
            withoutSelectAllCheckboxDataTable.bodyRow(rowIndex).cell(0).assertChecked(false);
View Full Code Here

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

        /* check DataTable without select all checkbox tag */
        DataTableInspector withoutSelectAllCheckboxDataTable = dataTable("formID:withoutSelectAllCheckboxDataTableID");
        for (int rowIndex = 0; rowIndex < 8; rowIndex++) {
            withoutSelectAllCheckboxDataTable.bodyRow(rowIndex).cell(0).click();
            withoutSelectAllCheckboxDataTable.bodyRow(rowIndex).cell(0).assertChecked(true);
        }
        for (int rowIndex = 0; rowIndex < 8; rowIndex++) {
            withoutSelectAllCheckboxDataTable.bodyRow(rowIndex).cell(0).click();
            withoutSelectAllCheckboxDataTable.bodyRow(rowIndex).cell(0).assertChecked(false);
        }
View Full Code Here

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

        for (int rowIndex = 0; rowIndex < 8; rowIndex++) {
            withoutSelectAllCheckboxDataTable.bodyRow(rowIndex).cell(0).click();
            withoutSelectAllCheckboxDataTable.bodyRow(rowIndex).cell(0).assertChecked(true);
        }
        for (int rowIndex = 0; rowIndex < 8; rowIndex++) {
            withoutSelectAllCheckboxDataTable.bodyRow(rowIndex).cell(0).click();
            withoutSelectAllCheckboxDataTable.bodyRow(rowIndex).cell(0).assertChecked(false);
        }

        /* check DataTable with select all checkbox tag */
        DataTableInspector withSelectAllCheckboxDataTable = dataTable("formID:withSelectAllCheckboxDataTableID");
View Full Code Here

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

            withoutSelectAllCheckboxDataTable.bodyRow(rowIndex).cell(0).click();
            withoutSelectAllCheckboxDataTable.bodyRow(rowIndex).cell(0).assertChecked(true);
        }
        for (int rowIndex = 0; rowIndex < 8; rowIndex++) {
            withoutSelectAllCheckboxDataTable.bodyRow(rowIndex).cell(0).click();
            withoutSelectAllCheckboxDataTable.bodyRow(rowIndex).cell(0).assertChecked(false);
        }

        /* check DataTable with select all checkbox tag */
        DataTableInspector withSelectAllCheckboxDataTable = dataTable("formID:withSelectAllCheckboxDataTableID");
        element("formID:withSelectAllCheckboxDataTableID:selectAllHeaderID").click();
View Full Code Here

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

        /* check DataTable with select all checkbox tag */
        DataTableInspector withSelectAllCheckboxDataTable = dataTable("formID:withSelectAllCheckboxDataTableID");
        element("formID:withSelectAllCheckboxDataTableID:selectAllHeaderID").click();
        for (int rowIndex = 0; rowIndex < 8; rowIndex++) {
            withSelectAllCheckboxDataTable.bodyRow(rowIndex).cell(0).assertChecked(true);
        }
        element("formID:withSelectAllCheckboxDataTableID:selectAllFooterID").click();
        for (int rowIndex = 0; rowIndex < 8; rowIndex++) {
            withSelectAllCheckboxDataTable.bodyRow(rowIndex).cell(0).assertChecked(false);
        }
View Full Code Here

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

        for (int rowIndex = 0; rowIndex < 8; rowIndex++) {
            withSelectAllCheckboxDataTable.bodyRow(rowIndex).cell(0).assertChecked(true);
        }
        element("formID:withSelectAllCheckboxDataTableID:selectAllFooterID").click();
        for (int rowIndex = 0; rowIndex < 8; rowIndex++) {
            withSelectAllCheckboxDataTable.bodyRow(rowIndex).cell(0).assertChecked(false);
        }
    }

}
View Full Code Here

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

        testAppFunctionalPage("/components/datatable/datatableSingleSelection.jsf");

        //check keyboard navigation for single selection
        DataTableInspector singleSelectionDataTable = dataTable("formID:singleSelectionDataTable");
        Actions click= new Actions(getDriver()).moveToElement(
                    getDriver().findElement(By.xpath(singleSelectionDataTable.bodyRow(0).getXPath())))
                    .click();
        click.build().perform();
        for (int i = 0; i < 8; i++) {
            Actions keyDown = new Actions(getDriver()).sendKeys(Keys.ARROW_DOWN);
            keyDown.build().perform();
View Full Code Here

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

        testAppFunctionalPage("/components/datatable/datatableMultipleSelection.jsf");

        DataTableInspector multipleSelectionDataTable = dataTable("formID:multipleSelectionDataTable");

        //check keyboard navigation for multiple selection
        multipleSelectionDataTable.bodyRow(0).click();
        for (int i = 0; i < 9; i++) {
            createEvent(multipleSelectionDataTable, null, EventType.KEY, "keypress", 40, true);
        }

        multipleSelectionDataTable.checkSelectedIndexes(0, 1, 2, 3, 4, 5, 6, 7, 8);
View Full Code Here

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

        DataTableInspector dataTable = dataTable("formID:checkboxColumnDataTable");

        element("formID:checkboxColumnDataTable:selectAllHeaderID").click();
        for (int rowIndex = 0; rowIndex < 8; rowIndex++) {
            dataTable.bodyRow(rowIndex).cell(0).assertChecked(true);
//      assertTableSelectionChecked("formID:checkboxColumnDataTable", rowIndex, 0);
        }
        element("formID:checkboxColumnDataTable:selectAllFooterID").click();
        for (int rowIndex = 0; rowIndex < 8; rowIndex++) {
            dataTable.bodyRow(rowIndex).cell(0).assertChecked(false);
View Full Code Here

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

            dataTable.bodyRow(rowIndex).cell(0).assertChecked(true);
//      assertTableSelectionChecked("formID:checkboxColumnDataTable", rowIndex, 0);
        }
        element("formID:checkboxColumnDataTable:selectAllFooterID").click();
        for (int rowIndex = 0; rowIndex < 8; rowIndex++) {
            dataTable.bodyRow(rowIndex).cell(0).assertChecked(false);
        }
    }

     @Test
    public void test_q_refreshDataTable() {
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.