Package org.zkoss.test

Examples of org.zkoss.test.JQuery.text()


    String cssName = jq(".zsmenuitem-moveSheetLeft").attr("class");
    Assert.assertTrue(cssName.indexOf("z-menuitem-disd") >= 0);
   
    //move the second sheet left
    JQuery sheet = jq(".zssheettab").eq(1);
    String sheetName = sheet.text();
    click(sheet);
    rightClick(sheet);
    click(".z-menupopup:visible .zsmenuitem-moveSheetLeft");
   
    JQuery firstSheet = jq(".zssheettab").first();
View Full Code Here


    click(sheet);
    rightClick(sheet);
    click(".z-menupopup:visible .zsmenuitem-moveSheetLeft");
   
    JQuery firstSheet = jq(".zssheettab").first();
    Assert.assertEquals(sheetName, firstSheet.text());
  }
 
  @Test
  public void move_shift_right() {
    JQuery sheet = jq(".zssheettab").first();
View Full Code Here

  }
 
  @Test
  public void move_shift_right() {
    JQuery sheet = jq(".zssheettab").first();
    String sheetName = sheet.text();
    rightClick(sheet);
    click(".z-menupopup:visible .zsmenuitem-moveSheetRight");
   
    Assert.assertEquals(sheetName, jq(".zssheettab").eq(1).text());
  }
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.