Package org.seleniuminspector

Examples of org.seleniuminspector.ElementInspector.assertVisible()


    public void testNonModalPopupStateSaving() {
        Selenium selenium = getSelenium();
        testAppFunctionalPage("/requests/JSFC-1727.jsf");

        ElementInspector popupLayer = element("form1:p");
        popupLayer.assertVisible(false);

        selenium.click("//input[@value='Show']");
        popupLayer.assertVisible(true);

        ElementInspector submit = element("form1:submit");
View Full Code Here


        ElementInspector popupLayer = element("form1:p");
        popupLayer.assertVisible(false);

        selenium.click("//input[@value='Show']");
        popupLayer.assertVisible(true);

        ElementInspector submit = element("form1:submit");
        submit.clickAndWait();
        popupLayer.assertVisible(true);
View Full Code Here

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

        ElementInspector iconMessage = element("fm:fim");
        iconMessage.assertElementExists(false);
        element("fm:btn").click();
        iconMessage.assertVisible(true);

        TabbedPaneInspector tabbedPane = tabbedPane("fm:tp");
        tabbedPane.tabSet().tabs().get(1).click();
        waitForFloatingIconMessageRepaint();
        iconMessage.assertVisible(false);
View Full Code Here

        iconMessage.assertVisible(true);

        TabbedPaneInspector tabbedPane = tabbedPane("fm:tp");
        tabbedPane.tabSet().tabs().get(1).click();
        waitForFloatingIconMessageRepaint();
        iconMessage.assertVisible(false);
        ElementInspector inputText = element("fm:it");
        inputText.assertVisible(false);
        tabbedPane.tabSet().tabs().get(0).click();
        waitForFloatingIconMessageRepaint();
        iconMessage.assertVisible(true);
View Full Code Here

        TabbedPaneInspector tabbedPane = tabbedPane("fm:tp");
        tabbedPane.tabSet().tabs().get(1).click();
        waitForFloatingIconMessageRepaint();
        iconMessage.assertVisible(false);
        ElementInspector inputText = element("fm:it");
        inputText.assertVisible(false);
        tabbedPane.tabSet().tabs().get(0).click();
        waitForFloatingIconMessageRepaint();
        iconMessage.assertVisible(true);
        inputText.assertVisible(true);
    }
View Full Code Here

        ElementInspector inputText = element("fm:it");
        inputText.assertVisible(false);
        tabbedPane.tabSet().tabs().get(0).click();
        waitForFloatingIconMessageRepaint();
        iconMessage.assertVisible(true);
        inputText.assertVisible(true);
    }

    private void waitForFloatingIconMessageRepaint() throws InterruptedException {
        sleep(500);
    }
View Full Code Here

    }

    public void checkVisibilityAndContent(String value, String hint) {
        ElementInspector hintElement = hint();

        hintElement.assertVisible(false);
        assertVisible(true);
        assertText(value);

        mouseOver();
        sleep(250);
View Full Code Here

        assertVisible(true);
        assertText(value);

        mouseOver();
        sleep(250);
        hintElement.assertVisible(true);
        hintElement.assertText(hint);
    }

    public void showHintLabel() {
        mouseOver();
View Full Code Here

        testAppFunctionalPage("/components/tabbedpane/calendarIn.jsf");
        tabSet("fn:loadingModes").setTabIndex(1, ServerLoadingMode.getInstance());

        ElementInspector firstCalendar = element("fn:firstCalendar");
        firstCalendar.assertElementExists();
        firstCalendar.assertVisible(true);

        element("fn:secondHeader").click();
        ElementInspector secondCalendar = element("fn:secondCalendar");
        secondCalendar.assertElementExists();
        secondCalendar.assertVisible(true);
View Full Code Here

        firstCalendar.assertVisible(true);

        element("fn:secondHeader").click();
        ElementInspector secondCalendar = element("fn:secondCalendar");
        secondCalendar.assertElementExists();
        secondCalendar.assertVisible(true);
    }

     @Test
    public void testConfirmationInside() {
        Selenium selenium = getSelenium();
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.