Package org.zkoss.test.zss

Examples of org.zkoss.test.zss.Rect


    //steps
    //1. scroll down
    //2. select second sheet
    //3. switch back to first sheet, shall restore previous top/left
    mouseDirector.pageDown(0, 0);
    Rect expected = spreadsheet.getVisibleRange();
    Assert.assertTrue(expected.getTop() > 0);
   
    JQuery secondSheet = jq(".zssheettab").eq(1);
    click(secondSheet);
   
    JQuery firstSheet = jq(".zssheettab").first();
View Full Code Here


    Assert.assertFalse(isVisible(".zsselect"));
   
    keyboardDirector.shiftSelect(11, 5, 15, 8);
   
    Assert.assertTrue(isVisible(".zsselect"));
    Rect sel = spreadsheet.getSheetCtrl().getLastSelection();
    Assert.assertEquals(11, sel.getTop());
    Assert.assertEquals(5, sel.getLeft());
    Assert.assertEquals(15, sel.getBottom());
    Assert.assertEquals(8, sel.getRight());
  }
View Full Code Here

TOP

Related Classes of org.zkoss.test.zss.Rect

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.