Package org.zkoss.test

Examples of org.zkoss.test.JQuery.attr()


       
        timeBlocker.waitResponse();
       
        JQuery link = getCell(11, 10).jq$n("real").children().first();
       
        Assert.assertEquals("http://ja.wikipedia.org/wiki", link.attr("href"));
  }
 
  @Test
  public void insert_mail_hyperlink() {
    spreadsheet.focus(11, 10);
View Full Code Here


          timeBlocker.waitResponse();
        }
        click("$_insertHyperlinkDialog $okBtn");
       
        JQuery link = getCell(11, 10).jq$n("real").children().first();
        Assert.assertEquals("mailto:example@potix.com", link.attr("href"));
  }
 
  @Test
  public void insert_doc_hyperlink() {
    spreadsheet.focus(11, 10);
View Full Code Here

   
    click("$refSheet .z-treecell:eq(0)");
    click("$okBtn");
   
    JQuery link = getCell(11, 10).jq$n("real").children().first();
    Assert.assertTrue(link.attr("href").lastIndexOf("Input!A1") >= 0);
  }
}
View Full Code Here

        click("$_insertHyperlinkDialog $okBtn");
        timeBlocker.waitResponse();
       
        JQuery link = getCell(11, 10).jq$n("real").children().first();
       
        Assert.assertEquals("http://ja.wikipedia.org/wiki", link.attr("href"));
  }
}
View Full Code Here

        timeBlocker.waitUntil(browser.isIE6() || browser.isIE7() ? 3 : 2);
        click("$_insertHyperlinkDialog $okBtn");
       
        JQuery link = getCell(11, 10).jq$n("real").children().first();
       
        Assert.assertEquals("http://ja.wikipedia.org/wiki", link.attr("href"));
  }
}
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.