Package org.zkoss.ztl

Examples of org.zkoss.ztl.Widget


    waitResponse();
    click(jq("$confirmRenameBtn td.z-button-cm"));
    waitResponse();
   
    //verify
    Widget debtSibling = widget(jq("@tab[label=\"Debt\"]")).nextSibling();
    String content = jq(debtSibling).find("span").text();   
    verifyEquals("my Sheet", content);   
  }
View Full Code Here


    click(jq("$shiftSheetLeft a.z-menu-item-cnt"));
    waitResponse();
   
   
    //verify       
    Widget marketSibling = widget(jq("@tab[label=\"Market\"]")).nextSibling();
    String content = jq(marketSibling).find("span").text();   
    verifyEquals("Debt", content);
  }
View Full Code Here

    waitResponse();
    click(jq("$shiftSheetRight a.z-menu-item-cnt"));
    waitResponse();

    //verify
    Widget marketSibling = widget(jq("@tab[label=\"Market\"]")).nextSibling();
    String content = jq(marketSibling).find("span").text();   
    verifyEquals("Debt", content);   
  }
View Full Code Here

      waitResponse();
      click(jq("$insertSheet"));
      waitResponse();
     
      // TODO verify if uploaed image is displayed properly
      Widget newTab = widget(marketTab).nextSibling();
      String content = jq(newTab).find("span").text();
      verifyEquals("sheet " + (origChildren + 1), content);
      //"jq('@tab[label=\"sheet 7\"] span.z-tab-text')"
    }
View Full Code Here

    waitResponse();
    click(jq("$deleteSheet a.z-menu-item-cnt"));
    waitResponse();

    //verify
    Widget profitabilitySibling = widget(jq("@tab[label=\"Profitability\"]")).nextSibling();
    String content = jq(profitabilitySibling).find("span").text();   
    verifyEquals("Market", content);   
  }
View Full Code Here

TOP

Related Classes of org.zkoss.ztl.Widget

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.