Changeset 4902 for devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/pages/email/MailPage.java
- Timestamp:
- 08/04/11 15:43:12 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/pages/email/MailPage.java
r4780 r4902 417 417 */ 418 418 public void replyAllEmailWithoutHistory(String id) { 419 super.findAndClickElement( "msg_opt_reply_options_" + id + "_r");419 super.findAndClickElement(By.id("msg_opt_reply_options_" + id + "_r")); 420 420 super.waitForElement(By 421 421 .xpath("//div[@id='exmail_main_body']/div[2]/table/tbody/tr[1]/td/table/tbody/tr[2]/td/div/span[3]")); … … 431 431 */ 432 432 public void replyEmailWithoutHistory(String id) { 433 super.findAndClickElement( "msg_opt_reply_options_" + id + "_r");433 super.findAndClickElement(By.id("msg_opt_reply_options_" + id + "_r")); 434 434 super.waitForElement(By 435 435 .xpath("//div[@id='exmail_main_body']/div[2]/table/tbody/tr[1]/td/table/tbody/tr[2]/td/div/span[2]")); … … 445 445 */ 446 446 public void replyAllEmail(String id) { 447 super.findAndClickElement( "msg_opt_reply_options_" + id + "_r");447 super.findAndClickElement(By.id("msg_opt_reply_options_" + id + "_r")); 448 448 super.waitForElement(By 449 449 .xpath("//div[@id='exmail_main_body']/div[2]/table/tbody/tr[1]/td/table/tbody/tr[2]/td/div/span[1]")); … … 539 539 public void moveEmail(String folderName) { 540 540 this.moveEmailLink.click(); 541 super.findAndClickElement( folderName);541 super.findAndClickElement(By.id(folderName)); 542 542 this.moveEmailButton.click(); 543 543 } … … 756 756 */ 757 757 public void sendMail(String id) { 758 super.findAndClickElement( "send_button_" + id);758 super.findAndClickElement(By.id("send_button_" + id)); 759 759 } 760 760 … … 911 911 */ 912 912 public void assertMessage(String message) { 913 Assert.assertEquals( getDisplayedElementContent("em_div_write_msg"),914 message);913 Assert.assertEquals( 914 getDisplayedElementContent(By.id("em_div_write_msg")), message); 915 915 } 916 916
Note: See TracChangeset
for help on using the changeset viewer.