Package org.seleniuminspector.openfaces

Examples of org.seleniuminspector.openfaces.HintLabelInspector.hint()


            for (int rowIndex = 0; rowIndex < 3; rowIndex++) {
                DataTableUtils.TestDataTableItem currentReferenceRow = currentPageValues.get(rowIndex);

                HintLabelInspector bodyHintLabel1 = hintLabel("fn:hintLabelDataTable:" + rowIndex + ":body_hinLabel_1");
                bodyHintLabel1.clickAndWait();
                bodyHintLabel1.hint().mouseOut();
                bodyHintLabel1.checkVisibilityAndContent(currentReferenceRow.getFirstColumn(), currentReferenceRow.getSecondColumn());
                bodyHintLabel1.hint().mouseOut();
                hintLabel("fn:hintLabelDataTable:" + rowIndex + ":body_hinLabel_2")
                        .checkVisibilityAndContent(currentReferenceRow.getSecondColumn(), currentReferenceRow.getFirstColumn());
View Full Code Here


                HintLabelInspector bodyHintLabel1 = hintLabel("fn:hintLabelDataTable:" + rowIndex + ":body_hinLabel_1");
                bodyHintLabel1.clickAndWait();
                bodyHintLabel1.hint().mouseOut();
                bodyHintLabel1.checkVisibilityAndContent(currentReferenceRow.getFirstColumn(), currentReferenceRow.getSecondColumn());
                bodyHintLabel1.hint().mouseOut();
                hintLabel("fn:hintLabelDataTable:" + rowIndex + ":body_hinLabel_2")
                        .checkVisibilityAndContent(currentReferenceRow.getSecondColumn(), currentReferenceRow.getFirstColumn());

                // check is single selection performed well
                bodyHintLabel1.clickAndWait();
View Full Code Here

                hintLabel("fn:hintLabelDataTable:" + rowIndex + ":body_hinLabel_2")
                        .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");
View Full Code Here

        hintLabelDataTable.column(2).filter(InputTextFilterInspector.class, "fn:hintLabelDataTable:filter1").makeFiltering(filterCriterion);
        HintLabelInspector hintLabel = hintLabel("fn:hintLabelDataTable:0:body_hinLabel_2");
        hintLabel.mouseOver();
        sleep(250);
        hintLabel.assertText(filterCriterion);
        hintLabel.hint().assertText("col3_row1");
    }


     @Test
    @Ignore
View Full Code Here

        testAppFunctionalPage("/components/hintlabel/hintLabel.jsf");

        //onclick
        HintLabelInspector clickHintLabel = hintLabel("formID:clickID");
        clickHintLabel.showHintLabel();
        clickHintLabel.hint().click();
        assertTrue(selenium.isTextPresent("onclick works"));
        assertTrue(selenium.isTextPresent("click"));

        //ondblclick
        HintLabelInspector doubleClickHintLabel = hintLabel("formID:doubleclickID");
View Full Code Here

        assertTrue(selenium.isTextPresent("dblclick"));

        //onmousedown
        HintLabelInspector mouseDownHintLabel = hintLabel("formID:mousedownID");
        mouseDownHintLabel.showHintLabel();
        mouseDownHintLabel.hint().mouseDown();
        assertTrue(selenium.isTextPresent("onmousedown works"));
        assertTrue(selenium.isTextPresent("mousedown"));

        //onmouseover
        HintLabelInspector mouseOverHintLabel = hintLabel("formID:mouseoverID");
View Full Code Here

        assertTrue(selenium.isTextPresent("mousedown"));

        //onmouseover
        HintLabelInspector mouseOverHintLabel = hintLabel("formID:mouseoverID");
        mouseOverHintLabel.showHintLabel();
        mouseOverHintLabel.hint().mouseOver();
        assertTrue(selenium.isTextPresent("onmouseover works"));
        assertTrue(selenium.isTextPresent("mouseover"));

        //onmouseup
        HintLabelInspector mouseUpHintLabel = hintLabel("formID:mouseupID");
View Full Code Here

        assertTrue(selenium.isTextPresent("mouseover"));

        //onmouseup
        HintLabelInspector mouseUpHintLabel = hintLabel("formID:mouseupID");
        mouseUpHintLabel.showHintLabel();
        mouseUpHintLabel.hint().mouseUp();
        assertTrue(selenium.isTextPresent("onmouseup works"));
        assertTrue(selenium.isTextPresent("mouseup"));

        //onmouseout
        HintLabelInspector mouseOutHintLabel = hintLabel("formID:mouseoutID");
View Full Code Here

        assertTrue(selenium.isTextPresent("mouseup"));

        //onmouseout
        HintLabelInspector mouseOutHintLabel = hintLabel("formID:mouseoutID");
        mouseOutHintLabel.showHintLabel();
        mouseOutHintLabel.hint().mouseOut();
        assertTrue(selenium.isTextPresent("onmouseout works"));
        assertTrue(selenium.isTextPresent("mouseout"));

        //onmousemove
        HintLabelInspector mouseMoveHintLabel = hintLabel("formID:mousemoveID");
View Full Code Here

        assertTrue(selenium.isTextPresent("mouseout"));

        //onmousemove
        HintLabelInspector mouseMoveHintLabel = hintLabel("formID:mousemoveID");
        mouseMoveHintLabel.showHintLabel();
        mouseMoveHintLabel.hint().mouseMove();
        assertTrue(selenium.isTextPresent("onmousemove works"));
        assertTrue(selenium.isTextPresent("mousemove"));
    }

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.