Package

Source Code of SS_028_02_Test

import org.zkoss.ztl.JQuery;


public class SS_028_02_Test extends SSAbstractTestCase {

    @Override
    protected void executeTest() {
      //freeze some rows first
      click(jq("$viewMenu"));
      waitResponse();
      mouseOver(jq("$freezeRows"));
      waitResponse();
      click(jq("$freezeRow2"));
      waitResponse();
      // TODO: Verify correct row is frozen
      verifyTrue(jq("div.zstopblock").width() != 0);
      JQuery p = jq("div.zstopblock");
      int clen = p.children().length();
      JQuery c = p.children("div:nth-child(2)");
      int width = c.width();
      verifyTrue("no. of children=" + clen + ", widht=" + width, clen == 2 && jq("div.zstopblock").children("div:nth-child(2)").width() != 0);
    }
}
TOP

Related Classes of SS_028_02_Test

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.