Package org.seleniuminspector.openfaces

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


        noDataDefaultDateTable.body().row(0).cell(0).assertText("No records satisfying the filtering criteria");

        //check is message string for the no data corresponding to filter criterion visible
        DataTableInspector noDataMessageDataTable = dataTable("formID:noDataMessageAllowedID");
        noDataMessageDataTable.column(0).filter(InputTextFilterInspector.class, "formID:noDataMessageAllowedID:filter1").makeFiltering("www");
        assertEquals("There should be one invisible fake row", 1, noDataMessageDataTable.body().rowCount());
        noDataMessageDataTable.body().row(0).assertCellParams(new TableCellParams[]{
                new TableCellParams(null, 2, 1, "display: none")
        });

        //check custom message for the no data corresponding to filter criterion
View Full Code Here


        //check is message string for the no data corresponding to filter criterion visible
        DataTableInspector noDataMessageDataTable = dataTable("formID:noDataMessageAllowedID");
        noDataMessageDataTable.column(0).filter(InputTextFilterInspector.class, "formID:noDataMessageAllowedID:filter1").makeFiltering("www");
        assertEquals("There should be one invisible fake row", 1, noDataMessageDataTable.body().rowCount());
        noDataMessageDataTable.body().row(0).assertCellParams(new TableCellParams[]{
                new TableCellParams(null, 2, 1, "display: none")
        });

        //check custom message for the no data corresponding to filter criterion
        DataTableInspector customNoDataMessageTable = dataTable("formID:customNoDataMessageID");
View Full Code Here

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

        //check default string for the no data corresponding to filter criterion
        DataTableInspector noDataDefaultDateTable = dataTable("formID:noDataDefaultID");
        noDataDefaultDateTable.column(0).filter(InputTextFilterInspector.class, "formID:noDataDefaultID:filter1").makeFiltering("www");
        noDataDefaultDateTable.body().row(0).cell(0).assertText("No records satisfying the filtering criteria");

        //check is message string for the no data corresponding to filter criterion visible
        DataTableInspector noDataMessageDataTable = dataTable("formID:noDataMessageAllowedID");
        noDataMessageDataTable.column(0).filter(InputTextFilterInspector.class, "formID:noDataMessageAllowedID:filter1").makeFiltering("www");
        assertEquals("There should be one invisible fake row", 1, noDataMessageDataTable.body().rowCount());
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.