Package

Source Code of SS_079_Test

import org.zkoss.ztl.JQuery;


public class SS_079_Test extends SSAbstractTestCase {

    @Override
    protected void executeTest() {
        JQuery cell_J_22 = getSpecifiedCell(9, 21);
        clickCell(cell_J_22);
        clickCell(cell_J_22);
       
    click(jq("@dropdownbutton$halignBtn div.z-dpbutton-arrow:eq(0)"));
    waitResponse();
    click(jq("@menuitem[label=\"Align Text Left\"]").first());
    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);
        }
    }

}
TOP

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