Examples of css()


Examples of org.zkoss.ztl.JQuery.css()

    waitResponse();
    click(jq("$alignCenter"));
    waitResponse();
     
        cell_J_22 = getSpecifiedCell(9, 21);
        String textAlign = cell_J_22.css("text-align");
       
        if (textAlign != null) {
            verifyTrue("Unexcepted result: " + textAlign, textAlign.equalsIgnoreCase("center"));
        } else {
            verifyTrue("Cannot get style of specified cell!", false);
View Full Code Here

Examples of org.zkoss.ztl.JQuery.css()

        clickCell(cell_B_8);
        clickCell(cell_B_8);
        click(jq("$strikethroughBtn"));
       
        cell_B_8 = getSpecifiedCell(1, 7);
        String style = cell_B_8.css("text-decoration");
       
        if (style != null) {
            verifyTrue("Unexcepted result: " + style, "line-through".equalsIgnoreCase(style));
        } else {
            verifyTrue("Cannot get style of specified cell!", false);
View Full Code Here

Examples of org.zkoss.ztl.JQuery.css()

    waitResponse();
    click(jq("$alignRight"));
    waitResponse();
     
        cell_J_22 = getSpecifiedCell(9, 21);
        String textAlign = cell_J_22.css("text-align");
       
        if (textAlign != null) {
            verifyTrue("Unexcepted result: " + textAlign, textAlign.equalsIgnoreCase("right"));
        } else {
            verifyTrue("Cannot get style of specified cell!", false);
View Full Code Here

Examples of org.zkoss.ztl.JQuery.css()

        clickCell(cell_B_8);
        clickCell(cell_B_8);
        click(jq("$italicBtn"));
       
        cell_B_8 = getSpecifiedCell(1, 7);
        String style = cell_B_8.css("font-style");
       
        if (style != null) {
            verifyTrue("Unexcepted result: " + style, "italic".equalsIgnoreCase(style));
        } else {
            verifyTrue("Cannot get style of specified cell!", false);
View Full Code Here

Examples of org.zkoss.ztl.JQuery.css()

        clickCell(cell_B_8);
        clickCell(cell_B_8);
        click(jq("$underlineBtn"));
       
        cell_B_8 = getSpecifiedCell(1, 7);
        String style = cell_B_8.css("text-decoration");
       
        if (style != null) {
            verifyTrue("Unexcepted result: " + style, "underline".equalsIgnoreCase(style));
        } else {
            verifyTrue("Cannot get style of specified cell!", false);
View Full Code Here

Examples of org.zkoss.ztl.JQuery.css()

    waitResponse();
    click(jq("@menuitem[label=\"Center Text\"]").first());
    waitResponse();
               
        cell_B_8 = getSpecifiedCell(1, 7);
        String textAlign = cell_B_8.css("text-align");
       
        if (textAlign != null) {
            verifyTrue("Unexcepted result: " + textAlign, textAlign.equalsIgnoreCase("center"));
        } else {
            verifyTrue("Cannot get style of specified cell!", false);
View Full Code Here

Examples of org.zkoss.ztl.JQuery.css()

    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

Examples of org.zkoss.ztl.JQuery.css()

    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);
View Full Code Here

Examples of org.zkoss.ztl.JQuery.css()

    protected void executeTest() {
        JQuery cell_F_6 = loadCell();
        clickCell(cell_F_6);
        clickCell(cell_F_6);
        int originalWidth = cell_F_6.find("div").last().width();
        String beforeCss = cell_F_6.css("white-space");
        click(jq("$fastIconBtn $wrapTextBtn:visible"));
        System.out.println(">>>beforeCss:"+beforeCss);
        waitResponse();

        int currentWidth = cell_F_6.find("div").last().width();
View Full Code Here

Examples of org.zkoss.ztl.JQuery.css()

        click(jq("$fastIconBtn $wrapTextBtn:visible"));
        System.out.println(">>>beforeCss:"+beforeCss);
        waitResponse();

        int currentWidth = cell_F_6.find("div").last().width();
        String afterCss = cell_F_6.css("white-space");
        System.out.println(">>>afterCss:"+afterCss);
        clickCell(cell_F_6);
        clickCell(cell_F_6);
        click(jq("$fastIconBtn $wrapTextBtn:visible"));
        waitResponse();
View Full Code Here
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.