Package org.seleniuminspector.openfaces

Examples of org.seleniuminspector.openfaces.SidePanelInspector


     @Test
    @Ignore
    public void testSidePanelSplitterDragging() {
        testAppFunctionalPage("/components/borderlayoutpanel/borderLayoutPanelft.jsf");

        SidePanelInspector sidePanel01 = sidePanel("formID:sidePanel01");
        sidePanel01.assertExpressionEquals("offsetWidth", 50);
        sidePanel01.splitter().dragAndDrop(+300, 0);
        sidePanel01.assertExpressionEquals("offsetWidth", 350);
        sidePanel01.splitter().dragAndDrop(+125, 0);
        sidePanel01.assertExpressionEquals("offsetWidth", 450);
        sidePanel01.splitter().dragAndDrop(+125, 0);
        sidePanel01.assertExpressionEquals("offsetWidth", 450);
        sidePanel01.splitter().dragAndDrop(-5, 0);
        sidePanel01.assertExpressionEquals("offsetWidth", 445);
        sidePanel01.splitter().dragAndDrop(-1000, 0);
        sidePanel01.assertExpressionEquals("offsetWidth", 7);
        sidePanel01.splitter().dragAndDrop(+43, 0);
        sidePanel01.assertExpressionEquals("offsetWidth", 50);
        sidePanel01.splitter().mouseDown();
        sidePanel01.splitter().mouseUp();
        sidePanel01.assertExpressionEquals("offsetWidth", 7);
        sidePanel01.splitter().mouseDown();
        sidePanel01.splitter().mouseUp();
        sidePanel01.assertExpressionEquals("offsetWidth", 50);

        SidePanelInspector sidePanel04 = sidePanel("formID:sidePanel04");
        sidePanel04.assertExpressionEquals("offsetWidth", 50);
        sidePanel04.splitter().dragAndDrop(-300, 0);
        sidePanel04.assertExpressionEquals("offsetWidth", 350);
        sidePanel04.splitter().dragAndDrop(-125, 0);
        sidePanel04.assertExpressionEquals("offsetWidth", 450);
        sidePanel04.splitter().dragAndDrop(-125, 0);
        sidePanel04.assertExpressionEquals("offsetWidth", 450);
        sidePanel04.splitter().dragAndDrop(+5, 0);
        sidePanel04.assertExpressionEquals("offsetWidth", 445);
        sidePanel04.splitter().dragAndDrop(+1000, 0);
        sidePanel04.assertExpressionEquals("offsetWidth", 7);
        sidePanel04.splitter().dragAndDrop(-43, 0);
        sidePanel04.assertExpressionEquals("offsetWidth", 50);
        sidePanel04.splitter().mouseDown();
        sidePanel04.splitter().mouseUp();
        sidePanel04.assertExpressionEquals("offsetWidth", 7);
        sidePanel04.splitter().mouseDown();
        sidePanel04.splitter().mouseUp();
        sidePanel04.assertExpressionEquals("offsetWidth", 50);

        SidePanelInspector sidePanel05 = sidePanel("formID:sidePanel05");
        sidePanel05.assertExpressionEquals("offsetHeight", 50);
        sidePanel05.splitter().dragAndDrop(0, +100);
        sidePanel05.assertExpressionEquals("offsetHeight", 150);
        sidePanel05.splitter().dragAndDrop(0, +125);
        sidePanel05.assertExpressionEquals("offsetHeight", 250);
        sidePanel05.splitter().dragAndDrop(0, +125);
        sidePanel05.assertExpressionEquals("offsetHeight", 250);
        sidePanel05.splitter().dragAndDrop(0, -5);
        sidePanel05.assertExpressionEquals("offsetHeight", 245);
        sidePanel05.splitter().dragAndDrop(0, -1000);
        sidePanel05.assertExpressionEquals("offsetHeight", 7);
        sidePanel05.splitter().dragAndDrop(0, +43);
        sidePanel05.assertExpressionEquals("offsetHeight", 50);
        sidePanel05.splitter().mouseDown();
        sidePanel05.splitter().mouseUp();
        sidePanel05.assertExpressionEquals("offsetHeight", 7);
        sidePanel05.splitter().mouseDown();
        sidePanel05.splitter().mouseUp();
        sidePanel05.assertExpressionEquals("offsetHeight", 50);

        SidePanelInspector sidePanel08 = sidePanel("formID:sidePanel08");
        sidePanel08.assertExpressionEquals("offsetHeight", 50);
        sidePanel08.splitter().dragAndDrop(0, -100);
        sidePanel08.assertExpressionEquals("offsetHeight", 150);
        sidePanel08.splitter().dragAndDrop(0, -125);
        sidePanel08.assertExpressionEquals("offsetHeight", 250);
        sidePanel08.splitter().dragAndDrop(0, -125);
        sidePanel08.assertExpressionEquals("offsetHeight", 250);
        sidePanel08.splitter().dragAndDrop(0, +5);
        sidePanel08.assertExpressionEquals("offsetHeight", 245);
        sidePanel08.splitter().dragAndDrop(0, +1000);
        sidePanel08.assertExpressionEquals("offsetHeight", 7);
        sidePanel08.splitter().dragAndDrop(0, -43);
        sidePanel08.assertExpressionEquals("offsetHeight", 50);
        sidePanel08.splitter().mouseDown();
        sidePanel08.splitter().mouseUp();
        sidePanel08.assertExpressionEquals("offsetHeight", 7);
        sidePanel08.splitter().mouseDown();
        sidePanel08.splitter().mouseUp();
        sidePanel08.assertExpressionEquals("offsetHeight", 50);
    }
View Full Code Here


     @Test
    @Ignore
    public void testEvents() {
        testAppFunctionalPage("/components/borderlayoutpanel/borderLayoutPanelft.jsf");
        SidePanelInspector sidePanel = sidePanel("formID:sidePanel01");
        ElementInspector contentText = element("borderLayoutPanel00Content");

        /* test oncontentresize */
        contentText.assertExpressionEquals("innerHTML", "offsetWidth = 400 offsetHeight = 200");
        sidePanel.splitter().dragAndDrop(+100, 0);
        contentText.assertExpressionEquals("innerHTML", "offsetWidth = 300 offsetHeight = 200");
    }
View Full Code Here

    @Ignore
    public void testContentResizeOnSplitterDrag() {
        testAppFunctionalPage("/components/borderlayoutpanel/borderLayoutPanelft.jsf");
        BorderLayoutPanelInspector borderLayoutPanel00 = borderLayoutPanel("formID:borderLayoutPanel00");

        SidePanelInspector sidePanel01 = sidePanel("formID:sidePanel01");
        borderLayoutPanel00.content().assertExpressionEquals("offsetWidth", 400);
        sidePanel01.splitter().dragAndDrop(+300, 0);
        borderLayoutPanel00.content().assertExpressionEquals("offsetWidth", 100);
        sidePanel01.splitter().dragAndDrop(+125, 0);
        borderLayoutPanel00.content().assertExpressionEquals("offsetWidth", 0);
        sidePanel01.splitter().dragAndDrop(+125, 0);
        borderLayoutPanel00.content().assertExpressionEquals("offsetWidth", 0);
        sidePanel01.splitter().dragAndDrop(-5, 0);
        borderLayoutPanel00.content().assertExpressionEquals("offsetWidth", 5);
        sidePanel01.splitter().dragAndDrop(-1000, 0);
        borderLayoutPanel00.content().assertExpressionEquals("offsetWidth", 443);
        sidePanel01.splitter().dragAndDrop(+43, 0);
        borderLayoutPanel00.content().assertExpressionEquals("offsetWidth", 400);
        sidePanel01.splitter().mouseDown();
        sidePanel01.splitter().mouseUp();
        borderLayoutPanel00.content().assertExpressionEquals("offsetWidth", 443);
        sidePanel01.splitter().mouseDown();
        sidePanel01.splitter().mouseUp();
        borderLayoutPanel00.content().assertExpressionEquals("offsetWidth", 400);

        SidePanelInspector sidePanel04 = sidePanel("formID:sidePanel04");
        sidePanel04.splitter().dragAndDrop(-300, 0);
        borderLayoutPanel00.content().assertExpressionEquals("offsetWidth", 100);
        sidePanel04.splitter().dragAndDrop(-125, 0);
        borderLayoutPanel00.content().assertExpressionEquals("offsetWidth", 0);
        sidePanel04.splitter().dragAndDrop(-125, 0);
        borderLayoutPanel00.content().assertExpressionEquals("offsetWidth", 0);
        sidePanel04.splitter().dragAndDrop(+5, 0);
        borderLayoutPanel00.content().assertExpressionEquals("offsetWidth", 5);
        sidePanel04.splitter().dragAndDrop(+1000, 0);
        borderLayoutPanel00.content().assertExpressionEquals("offsetWidth", 443);
        sidePanel04.splitter().dragAndDrop(-43, 0);
        borderLayoutPanel00.content().assertExpressionEquals("offsetWidth", 400);
        sidePanel04.splitter().mouseDown();
        sidePanel04.splitter().mouseUp();
        borderLayoutPanel00.content().assertExpressionEquals("offsetWidth", 443);
        sidePanel04.splitter().mouseDown();
        sidePanel04.splitter().mouseUp();
        borderLayoutPanel00.content().assertExpressionEquals("offsetWidth", 400);

        SidePanelInspector sidePanel05 = sidePanel("formID:sidePanel05");
        borderLayoutPanel00.content().assertExpressionEquals("offsetHeight", 200);
        sidePanel05.splitter().dragAndDrop(0, +100);
        borderLayoutPanel00.content().assertExpressionEquals("offsetHeight", 100);
        sidePanel05.splitter().dragAndDrop(0, +125);
        borderLayoutPanel00.content().assertExpressionEquals("offsetHeight", 0);
        sidePanel05.splitter().dragAndDrop(0, +125);
        borderLayoutPanel00.content().assertExpressionEquals("offsetHeight", 0);
        sidePanel05.splitter().dragAndDrop(0, -5);
        borderLayoutPanel00.content().assertExpressionEquals("offsetHeight", 5);
        sidePanel05.splitter().dragAndDrop(0, -1000);
        borderLayoutPanel00.content().assertExpressionEquals("offsetHeight", 243);
        sidePanel05.splitter().dragAndDrop(0, +43);
        borderLayoutPanel00.content().assertExpressionEquals("offsetHeight", 200);
        sidePanel05.splitter().mouseDown();
        sidePanel05.splitter().mouseUp();
        borderLayoutPanel00.content().assertExpressionEquals("offsetHeight", 243);
        sidePanel05.splitter().mouseDown();
        sidePanel05.splitter().mouseUp();
        borderLayoutPanel00.content().assertExpressionEquals("offsetHeight", 200);

        SidePanelInspector sidePanel08 = sidePanel("formID:sidePanel08");
        sidePanel08.splitter().dragAndDrop(0, -100);
        borderLayoutPanel00.content().assertExpressionEquals("offsetHeight", 100);
        sidePanel08.splitter().dragAndDrop(0, -125);
        borderLayoutPanel00.content().assertExpressionEquals("offsetHeight", 0);
        sidePanel08.splitter().dragAndDrop(0, -125);
        borderLayoutPanel00.content().assertExpressionEquals("offsetHeight", 0);
        sidePanel08.splitter().dragAndDrop(0, +5);
        borderLayoutPanel00.content().assertExpressionEquals("offsetHeight", 5);
        sidePanel08.splitter().dragAndDrop(0, +1000);
        borderLayoutPanel00.content().assertExpressionEquals("offsetHeight", 243);
        sidePanel08.splitter().dragAndDrop(0, -43);
        borderLayoutPanel00.content().assertExpressionEquals("offsetHeight", 200);
        sidePanel08.splitter().mouseDown();
        sidePanel08.splitter().mouseUp();
        borderLayoutPanel00.content().assertExpressionEquals("offsetHeight", 243);
        sidePanel08.splitter().mouseDown();
        sidePanel08.splitter().mouseUp();
        borderLayoutPanel00.content().assertExpressionEquals("offsetHeight", 200);
    }
View Full Code Here

     @Test
    public void testRendering() {
        testAppFunctionalPage("/components/borderlayoutpanel/sidePanelft.jsf");
        // test defaultSidePanel rendering

        SidePanelInspector defaultSidePanel = sidePanel("formID:defaultSidePanelId");
        defaultSidePanel.assertElementExists();
        defaultSidePanel.splitter().assertElementExists();
        defaultSidePanel.panel().assertElementExists();
        defaultSidePanel.caption().assertElementExists(false);
        defaultSidePanel.content().assertElementExists();

        // test leftSidePanel rendering
        SidePanelInspector leftSidePanel = sidePanel("formID:leftSidePanelId");
        leftSidePanel.assertElementExists();
        leftSidePanel.splitter().assertElementExists();
        leftSidePanel.panel().assertElementExists();
        leftSidePanel.caption().assertElementExists();
        leftSidePanel.content().assertElementExists();

        element("leftSidePanelCaptionTextId").assertElementExists();
        element("leftSidePanelContentTextId").assertElementExists();
    }
View Full Code Here

     @Test
    public void testLeftSidePanel() {
        testAppFunctionalPage("/components/borderlayoutpanel/sidePanelft.jsf");

        SidePanelInspector sidePanel = sidePanel("formID:leftSidePanelId");

        /*test offsetHeight/offsetWidth
        * -----------------------------
        * by default size = "50%" i.e. sidePanel.offsetWidth = 100
        * sidePanel.style.height = "100%" i.e. sidePanel.offsetHeight = 200
        */
        sidePanel.assertExpressionEquals("offsetWidth", 100);
        sidePanel.assertExpressionEquals("offsetHeight", 200);

        /*test collapse/restore
        * ---------------------
        * default splitter width/height = "4px", and splitter borders have a "3px" width at sum, so splitter size = "7px"
        * after collapse() sidePanel size should be equal to splitter size
        * after restore() sidePanel size should return to a normal size
        */
        sidePanel.splitter().mouseDown();
        sidePanel.splitter().mouseUp();
        sidePanel.assertExpressionEquals("_size", "7px");
        sidePanel.splitter().mouseDown();
        sidePanel.splitter().mouseUp();
        sidePanel.assertExpressionEquals("_size", "50%");

        /*test splitter dragging
         ----------------------
         by default minSize and maxSize not specified, so it should be equal "7px" and "100%", i.e. 7 and 200
        */
        sidePanel.splitter().dragAndDrop(-60, 0);
        sidePanel.assertExpressionEquals("_size", "20%");
        sidePanel.splitter().dragAndDrop(0, 60);
        sidePanel.assertExpressionEquals("_size", "20%");
        sidePanel.splitter().dragAndDrop(-50, 0);
        sidePanel.assertExpressionEquals("_size", "3.5%");
        sidePanel.splitter().dragAndDrop(400, 0);
        sidePanel.assertExpressionEquals("_size", "100%");
    }
View Full Code Here

     @Test
    public void testTopSidePanel() {
        testAppFunctionalPage("/components/borderlayoutpanel/sidePanelft.jsf");

        SidePanelInspector sidePanel = sidePanel("formID:topSidePanelId");

        /*test offsetHeight/offsetWidth
        * -----------------------------
        * by default size = "50%" i.e. sidePanel.offsetHeight = "100"
        * sidePanel.style.width = "100%" i.e. sidePanel.offsetWidth = "200"
        */
        sidePanel.assertExpressionEquals("offsetWidth", 200);
        sidePanel.assertExpressionEquals("offsetHeight", 100);

        /*test collapse/restore
        * ---------------------
        * default splitter width/height = "4px", and splitter borders have a "3px" width at sum, so splitter size = "7px"
        * after collapse() sidePanel size should be equal to splitter size
        * after restore() sidePanel size should return to a normal size
        */
        sidePanel.splitter().mouseDown();
        sidePanel.splitter().mouseUp();
        sidePanel.assertExpressionEquals("_size", "7px");
        sidePanel.splitter().mouseDown();
        sidePanel.splitter().mouseUp();
        sidePanel.assertExpressionEquals("_size", "50%");

        /*test splitter dragging
         ----------------------
         by default minSize and maxSize not specified, so it should be equal "7px" and "100%", i.e. 7 and 200
        */
        sidePanel.splitter().dragAndDrop(0, -60);
        sidePanel.assertExpressionEquals("_size", "20%");
        sidePanel.splitter().dragAndDrop(60, 0);
        sidePanel.assertExpressionEquals("_size", "20%");
        sidePanel.splitter().dragAndDrop(0, -60);
        sidePanel.assertExpressionEquals("_size", "3.5%");
        sidePanel.splitter().dragAndDrop(0, 400);
        sidePanel.assertExpressionEquals("_size", "100%");
    }
View Full Code Here

     @Test
    public void testBoxLayoutModel() {
        testAppFunctionalPage("/components/borderlayoutpanel/sidePanelft.jsf");

        SidePanelInspector sidePanel = sidePanel("formID:layoutSidePanelId");

        /* to make sure that sidePanel width/height the same */
        sidePanel.assertExpressionEquals("offsetWidth", 100);
        sidePanel.assertExpressionEquals("offsetHeight", 200);

        sidePanel.splitter().assertExpressionEquals("offsetWidth", 12);
        sidePanel.splitter().assertExpressionEquals("offsetHeight", 196);
        sidePanel.panel().assertExpressionEquals("offsetWidth", 80);
        sidePanel.panel().assertExpressionEquals("offsetHeight", 196);
        sidePanel.caption().assertExpressionEquals("offsetWidth", 68);
        sidePanel.caption().assertExpressionEquals("offsetHeight", 28);
        sidePanel.content().assertExpressionEquals("offsetWidth", 68);
        sidePanel.content().assertExpressionEquals("offsetHeight", 152);

        /* test SidePanel in collapsed mode */
        sidePanel.splitter().mouseDown();
        sidePanel.splitter().mouseUp();
        sidePanel.assertExpressionEquals("offsetWidth", 16);
        sidePanel.assertExpressionEquals("offsetHeight", 200);

        sidePanel.splitter().assertExpressionEquals("offsetWidth", 12);
        sidePanel.splitter().assertExpressionEquals("offsetHeight", 196);
        sidePanel.panel().assertExpressionEquals("offsetWidth", 0);
        sidePanel.panel().assertExpressionEquals("offsetHeight", 0);
        sidePanel.caption().assertExpressionEquals("offsetWidth", 0);
        sidePanel.caption().assertExpressionEquals("offsetHeight", 0);
        sidePanel.content().assertExpressionEquals("offsetWidth", 0);
        sidePanel.content().assertExpressionEquals("offsetHeight", 0);

        /* test SidePanel in small size mode */
        sidePanel.splitter().mouseDown();
        sidePanel.splitter().mouseUp();
        sidePanel.splitter().dragAndDrop(-72, 0);
        sidePanel.assertExpressionEquals("offsetWidth", 28);
        sidePanel.assertExpressionEquals("offsetHeight", 200);

        sidePanel.splitter().assertExpressionEquals("offsetWidth", 12);
        sidePanel.splitter().assertExpressionEquals("offsetHeight", 196);
        sidePanel.panel().assertExpressionEquals("offsetWidth", 8);
        sidePanel.panel().assertExpressionEquals("offsetHeight", 196);
        sidePanel.caption().assertExpressionEquals("offsetWidth", 0);
        sidePanel.caption().assertExpressionEquals("offsetHeight", 0);
        sidePanel.content().assertExpressionEquals("offsetWidth", 0);
        sidePanel.content().assertExpressionEquals("offsetHeight", 0);
    }
View Full Code Here

     @Test
    public void testSizeLimitation() {
        testAppFunctionalPage("/components/borderlayoutpanel/sidePanelft.jsf");

        SidePanelInspector sidePanel = sidePanel("formID:sizeLimitedSidePanelId");

        /* to make sure that size limitation work on resizing */
        sidePanel.splitter().dragAndDrop(0, -200);
        sidePanel.assertExpressionEquals("_size", "25%");
        sidePanel.splitter().dragAndDrop(0, 200);
        sidePanel.assertExpressionEquals("_size", "75%");

        /* to make sure that size limitation ignored on collapse/restore */
        sidePanel.splitter().mouseDown();
        sidePanel.splitter().mouseUp();
        sidePanel.assertExpressionEquals("_size", "7px");
        sidePanel.splitter().mouseDown();
        sidePanel.splitter().mouseUp();
        sidePanel.assertExpressionEquals("_size", "75%");
    }
View Full Code Here

     @Test
    public void testEvents() {
        testAppFunctionalPage("/components/borderlayoutpanel/sidePanelft.jsf");

        SidePanelInspector sidePanel = sidePanel("formID:eventsSidePanelId");
        ElementInspector sidePanelText = element("sidePanelTextId");

        /* test onsplitterdrag */
        sidePanelText.assertExpressionEquals("innerHTML", "size = 50%");
        sidePanel.splitter().dragAndDrop(0, -50);
        sidePanelText.assertExpressionEquals("innerHTML", "size = 25%");

        /* test oncollapse */
        sidePanel.splitter().mouseDown();
        sidePanel.splitter().mouseUp();
        sidePanelText.assertExpressionEquals("innerHTML", "size panel is collapsed");

        /* test onrestore */
        sidePanel.splitter().mouseDown();
        sidePanel.splitter().mouseUp();
        sidePanelText.assertExpressionEquals("innerHTML", "size panel is restored");
    }
View Full Code Here

     @Test
    public void testFixedSidePanels() {
        testAppFunctionalPage("/components/borderlayoutpanel/sidePanelft.jsf");

        /* test SidePanel with collapsible = false and resizable = false */
        SidePanelInspector notFixedSidePane = sidePanel("formID:notFixedSidePanelId");

        notFixedSidePane.splitter().assertStyle("cursor: row-resize");
        notFixedSidePane.splitter().mouseDown();
        notFixedSidePane.splitter().mouseUp();
        notFixedSidePane.splitter().assertStyle("cursor: pointer");
        notFixedSidePane.assertExpressionEquals("_size", "7px");
        notFixedSidePane.splitter().mouseDown();
        notFixedSidePane.splitter().mouseUp();
        notFixedSidePane.assertExpressionEquals("_size", "50%");
        notFixedSidePane.splitter().dragAndDrop(0, 50);
        notFixedSidePane.assertExpressionEquals("_size", "75%");
        notFixedSidePane.splitter().dragAndDrop(0, -50);
        notFixedSidePane.assertExpressionEquals("_size", "50%");

        /* test SidePanel with collapsible = false */
        SidePanelInspector collapseFixedSidePanel = sidePanel("formID:collapseFixedSidePanelId");

        collapseFixedSidePanel.splitter().assertStyle("cursor: row-resize");
        collapseFixedSidePanel.assertExpressionEquals("_size", "50%");
        collapseFixedSidePanel.splitter().mouseDown();
        collapseFixedSidePanel.splitter().mouseUp();
        collapseFixedSidePanel.splitter().assertStyle("cursor: row-resize");
        collapseFixedSidePanel.assertExpressionEquals("_size", "50%");
        collapseFixedSidePanel.splitter().mouseDown();
        collapseFixedSidePanel.splitter().mouseUp();
        collapseFixedSidePanel.assertExpressionEquals("_size", "50%");
        collapseFixedSidePanel.splitter().dragAndDrop(0, 50);
        collapseFixedSidePanel.assertExpressionEquals("_size", "75%");
        collapseFixedSidePanel.splitter().dragAndDrop(0, -50);
        collapseFixedSidePanel.assertExpressionEquals("_size", "50%");

        /* test SidePanel with resizable = false */
        SidePanelInspector resizeFixedSidePanel = sidePanel("formID:resizeFixedSidePanelId");

        resizeFixedSidePanel.splitter().assertStyle("cursor: pointer");
        resizeFixedSidePanel.splitter().mouseDown();
        resizeFixedSidePanel.splitter().mouseUp();
        resizeFixedSidePanel.splitter().assertStyle("cursor: pointer");
        resizeFixedSidePanel.assertExpressionEquals("_size", "7px");
        resizeFixedSidePanel.splitter().mouseDown();
        resizeFixedSidePanel.splitter().mouseUp();
        resizeFixedSidePanel.assertExpressionEquals("_size", "50%");
        resizeFixedSidePanel.splitter().dragAndDrop(0, 50);
        resizeFixedSidePanel.assertExpressionEquals("_size", "50%");
        resizeFixedSidePanel.splitter().dragAndDrop(0, -50);
        resizeFixedSidePanel.assertExpressionEquals("_size", "50%");

        /* test SidePanel with collapsible = false and resizable = false */
        SidePanelInspector fullFixedSidePanel = sidePanel("formID:fullFixedSidePanelId");

        fullFixedSidePanel.splitter().assertStyle("cursor: auto");
        fullFixedSidePanel.splitter().mouseDown();
        fullFixedSidePanel.splitter().mouseUp();
        fullFixedSidePanel.splitter().assertStyle("cursor: auto");
        fullFixedSidePanel.assertExpressionEquals("_size", "50%");
        fullFixedSidePanel.splitter().mouseDown();
        fullFixedSidePanel.splitter().mouseUp();
        fullFixedSidePanel.assertExpressionEquals("_size", "50%");
        fullFixedSidePanel.splitter().dragAndDrop(0, 50);
        fullFixedSidePanel.assertExpressionEquals("_size", "50%");
        fullFixedSidePanel.splitter().dragAndDrop(0, -50);
        fullFixedSidePanel.assertExpressionEquals("_size", "50%");
    }
View Full Code Here

TOP

Related Classes of org.seleniuminspector.openfaces.SidePanelInspector

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.