Package org.jboss.arquillian.graphene.ftest.enricher.page.fragment

Examples of org.jboss.arquillian.graphene.ftest.enricher.page.fragment.Panel


        Resource.inCurrentPackage().find("container-elements.html").loadPage(browser, contextRoot);
    }

    @Test
    public void testTabPanelSwitching() {
        Panel tab3 = tabPanel.switchTo(2);
        ContentOfTab content = tab3.getContent(ContentOfTab.class);
        assertEquals("The tab panel was not switched to third tab correctly!", "Content of the tab 3", content.getText().getText());

        Panel tab1 = tabPanel.switchTo(0);
        content = tab1.getContent(ContentOfTab.class);
        assertEquals("The tab panel was not switched to first tab correctly!", "Content of the tab 1", content.getText().getText());
    }
View Full Code Here

TOP

Related Classes of org.jboss.arquillian.graphene.ftest.enricher.page.fragment.Panel

Copyright © 2018 www.massapicom. 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.