Examples of checkSelectedIndex()


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

            fourthBody.assertText(featuresCombinationTestDataTableItem.getFourthColumn());
        }

        //select first row
        element("formID:featuresCombinationDataTableID:0:featuresCombinationDataTableID_firstBody").click();
        combinationDataTable.checkSelectedIndex(0);

        //sort by first column
        combinationDataTable.column(1).makeSorting();
        //check data after sorting by first column
        checkDataAfterSorting(rowsQuantity, actualDataAfterComboboxFiltering);
View Full Code Here

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

        //sort by first column
        combinationDataTable.column(1).makeSorting();
        //check data after sorting by first column
        checkDataAfterSorting(rowsQuantity, actualDataAfterComboboxFiltering);
        //check selection after sorting by first column
        combinationDataTable.checkSelectedIndex(0);

        //sort by second column
        combinationDataTable.column(2).makeSorting();
        //check data after sorting by second column
        checkDataAfterSorting(rowsQuantity, actualDataAfterComboboxFiltering);
View Full Code Here

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

        //sort by second column
        combinationDataTable.column(2).makeSorting();
        //check data after sorting by second column
        checkDataAfterSorting(rowsQuantity, actualDataAfterComboboxFiltering);
        //check selection after sorting by second column
        combinationDataTable.checkSelectedIndex(0);

        //sort by third column
        combinationDataTable.column(3).makeSorting();
        combinationDataTable.column(3).makeSorting();
        //check data after sorting by third column
View Full Code Here

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

        combinationDataTable.column(3).makeSorting();
        //check data after sorting by third column
        Collections.reverse(actualDataAfterComboboxFiltering);
        checkDataAfterSorting(rowsQuantity, actualDataAfterComboboxFiltering);
        //check selection after sorting by third column
        combinationDataTable.checkSelectedIndex(2);

        //sort by fourth column
        combinationDataTable.column(4).makeSorting();
        //check data after sorting by fourth column
        Collections.reverse(actualDataAfterComboboxFiltering);
View Full Code Here

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

        combinationDataTable.column(4).makeSorting();
        //check data after sorting by fourth column
        Collections.reverse(actualDataAfterComboboxFiltering);
        checkDataAfterSorting(rowsQuantity, actualDataAfterComboboxFiltering);
        //check selection after sorting by fourth column
        combinationDataTable.checkSelectedIndex(0);

        /* perform filtering using dropDown filter */
        combinationDataTable.column(2).filter(ComboBoxFilterInspector.class, "formID:featuresCombinationDataTableID:filter2").makeFiltering("<All>");

        combinationDataTable.checkSelectedIndex(0);
View Full Code Here

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

        combinationDataTable.checkSelectedIndex(0);

        /* perform filtering using dropDown filter */
        combinationDataTable.column(2).filter(ComboBoxFilterInspector.class, "formID:featuresCombinationDataTableID:filter2").makeFiltering("<All>");

        combinationDataTable.checkSelectedIndex(0);
        combinationDataTable.column(3).filter(DropDownFieldFilterInspector.class, "formID:featuresCombinationDataTableID:filter3").makeFiltering("criterion_1,4,7");

        combinationDataTable.checkSelectedIndex(0);

        //get reference data for checking filtered data
View Full Code Here

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

        combinationDataTable.column(2).filter(ComboBoxFilterInspector.class, "formID:featuresCombinationDataTableID:filter2").makeFiltering("<All>");

        combinationDataTable.checkSelectedIndex(0);
        combinationDataTable.column(3).filter(DropDownFieldFilterInspector.class, "formID:featuresCombinationDataTableID:filter3").makeFiltering("criterion_1,4,7");

        combinationDataTable.checkSelectedIndex(0);

        //get reference data for checking filtered data
        List referenceDataAfterDropDownFilter = DataTableUtils.getFilteredValuesFeaturesCombinationTable("criterion_1,4,7");
        int rowsQuantityDropDown = combinationDataTable.rowCount();
        for (int i = 0; i < rowsQuantityDropDown; i++) {
View Full Code Here

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

            element("formID:featuresCombinationDataTableID:" + i + ":featuresCombinationDataTableID_fourthBody")
                    .assertText(featuresCombinationTestDataTableItem.getFourthColumn());
        }

        /* perform filtering using searchField filter */
        combinationDataTable.checkSelectedIndex(0);

        combinationDataTable.column(1).filter(InputTextFilterInspector.class, "formID:featuresCombinationDataTableID:filter1").makeFiltering("id_1");

        combinationDataTable.checkSelectedIndex(0);

View Full Code Here

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

        /* perform filtering using searchField filter */
        combinationDataTable.checkSelectedIndex(0);

        combinationDataTable.column(1).filter(InputTextFilterInspector.class, "formID:featuresCombinationDataTableID:filter1").makeFiltering("id_1");

        combinationDataTable.checkSelectedIndex(0);

        //get reference data for checking filtered data
        List<DataTableUtils.FeaturesCombinationTestDataTableItem> referenceDataAfterSearchFieldFilter = DataTableUtils.getFilteredValuesFeaturesCombinationTable("id_1");
        DataTableUtils.FeaturesCombinationTestDataTableItem featuresCombinationTestDataTableItem = referenceDataAfterSearchFieldFilter.get(0);
        element("formID:featuresCombinationDataTableID:0:featuresCombinationDataTableID_firstBody")
View Full Code Here

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

                        .checkVisibilityAndContent(currentReferenceRow.getSecondColumn(), currentReferenceRow.getFirstColumn());

                // check is single selection performed well
                bodyHintLabel1.clickAndWait();
                bodyHintLabel1.hint().mouseOut();
                hintLabelDataTable.checkSelectedIndex(rowIndex);
            }
            // check footer hintLabels
            hintLabel("fn:hintLabelDataTable:footer_hintLabel_1")
                    .checkVisibilityAndContent("Footer hint label value 1", "Footer hint label title 1");
            hintLabel("fn:hintLabelDataTable:footer_hintLabel_2")
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.