Package org.zkoss.ztl

Examples of org.zkoss.ztl.JQuery$JQueryIerator


public class SS_094_Test extends SSAbstractTestCase {

    @Override
    protected void executeTest() {
        // Select a cell
        JQuery cell_L_13 = getCell_L13();
        JQuery formulaBar = jq("$formulaEditor");
        clickCell(cell_L_13);
        clickCell(cell_L_13);
       
        // Input value on formula bar
        // type(formulaBar, "123456"); // <-- It has issue.
        focus(formulaBar);
        keyPress(formulaBar, "1");
        keyPress(formulaBar, "2");
        keyPress(formulaBar, "3");
        keyPress(formulaBar, "4");
        keyPress(formulaBar, "5");
        keyPress(formulaBar, "6");
        keyPressEnter(formulaBar);
       
        // Verify
        cell_L_13 = getCell_L13();
        clickCell(cell_L_13);
        verifyEquals(formulaBar.val(), cell_L_13.text());
    }
View Full Code Here


    selectCells(10, 12,10,12);
   
    String beforeTop = jq(".zsselect").css("top");
    String beforeLeft = jq(".zsselect").css("left");
   
    JQuery k13 = getSpecifiedCell(10, 12);
    keyDown(k13,ENTER);
    waitResponse();
    keyUp(k13,ENTER);
    waitResponse();
           
View Full Code Here

   * 1. Click menu View->Formula bar to hide formula bar
   * 2. Click menu View->Formula bar to show formula bar
   */
    @Override
    protected void executeTest() {
        JQuery cell = getSpecifiedCell(5, 20);
        clickCell(cell);
        clickCell(cell);

      click("$viewMenu");
      waitResponse();
View Full Code Here

  /**
   * Shift cell down
   */
  @Override
  protected void executeTest() {
    JQuery cell_B_6 = getSpecifiedCell(1, 5);
    String origValue = getCellText(1, 5);

    clickCell(cell_B_6);
    clickCell(cell_B_6);
    click("$editMenu");
View Full Code Here

public class SS_041_Test extends SSAbstractTestCase {

    @Override
    protected void executeTest() {
//      int origChildren = widget(jq("@tab")).nChildren();
      JQuery marketTab = jq("@tab[label=\"Market\"] span.z-tab-text");
      int origChildren = jq("$sheets @tab").children().length();
      click(jq("$insertMenu"));
      waitResponse();
      click(jq("$insertSheet"));
      waitResponse();
View Full Code Here

  /**
   * Clear Both, style and value
   */
  @Override
  protected void executeTest() {
    JQuery cell_F_5 = getSpecifiedCell(5, 5);
    String origValue = getCellText(5, 5);
    String orgTextColor = getCellTextColor(5, 5);
   
    clickCell(cell_F_5);
    clickCell(cell_F_5);
View Full Code Here

public class SS_020_Test extends SSAbstractTestCase {

  @Override
  protected void executeTest() {
    JQuery cell_F_11 = getSpecifiedCell(5, 10);
    String origValue = getCellText(cell_F_11);
    JQuery cell_G_11 = getSpecifiedCell(6, 10);
    String rightCellValue = getCellText(cell_G_11);
    clickCell(cell_F_11);
    clickCell(cell_F_11);
    click("$editMenu");
    waitResponse();
View Full Code Here

public class SS_187_Test extends SSAbstractTestCase {

    @Override
    protected void executeTest() {
        JQuery cell_I_28 = getSpecifiedCell(8, 27);
        clickCell(cell_I_28);
        clickCell(cell_I_28);
       
        // Select multiple cells
        selectCells(8, 27, 9, 29);
View Full Code Here

public class SS_034_Test extends SSAbstractTestCase {

    @Override
    protected void executeTest() {
        JQuery cell_J_22 = getSpecifiedCell(9, 21);
        clickCell(cell_J_22);
        clickCell(cell_J_22);
    click(jq("$formatMenu"));
    waitResponse();
    mouseOver(jq("$align"));   
    waitResponse();
    click(jq("$alignHorizontal"));
    waitResponse();
     
        cell_J_22 = getSpecifiedCell(9, 21);
        String textAlign = cell_J_22.css("text-align");
       
        if (textAlign != null) {
            verifyTrue("Unexcepted result: " + textAlign, textAlign.equalsIgnoreCase("left"));
        } else {
            verifyTrue("Cannot get style of specified cell!", false);
View Full Code Here

public class SS_004_Test extends SSAbstractTestCase {

 
    @Override
    protected void executeTest() {
        JQuery cell = getSpecifiedCell(5, 20);
        clickCell(cell);
        clickCell(cell);

      click("$fileMenu");
      waitResponse();
View Full Code Here

TOP

Related Classes of org.zkoss.ztl.JQuery$JQueryIerator

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.