Package

Source Code of SS_028_03_Test

import org.zkoss.ztl.JQuery;


public class SS_028_03_Test extends SSAbstractTestCase {

    @Override
    protected void executeTest() {
      //freeze some rows first
      click(jq("$viewMenu"));
      waitResponse();
      mouseOver(jq("$freezeRows"));
      waitResponse();
      click(jq("$freezeRow3"));
      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(3)");
      int width = c.width();
      verifyTrue("no. of children=" + clen + ", widht=" + width, clen == 3 && jq("div.zstopblock").children("div:nth-child(3)").width() != 0);
    }
}
TOP

Related Classes of SS_028_03_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.