- Timestamp:
- 03/04/11 16:49:48 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/pages/email/MailPage.java
r3799 r3853 134 134 private WebElement editEmail; 135 135 136 @FindBy(xpath = "//div[@id='lertContainer']/div[@id='lertWindow']/div[@id='lertButtons']/a[1]") 137 private WebElement cancelNewEmail; 138 139 @FindBy(xpath = "//div[@id='lertContainer']/div[@id='lertWindow']/div[@id='lertButtons']/a[2]") 140 private WebElement discardNewEmail; 141 142 @FindBy(xpath = "//div[@id='lertContainer']/div[@id='lertWindow']/div[@id='lertButtons']/a[3]") 143 /** Esse botao eh no alerta ao fechar uma mensagem nao salva e nao o botao salvar para rascunhos. */ 144 private WebElement saveNewEmail; 145 136 146 /** 137 147 * @param driver … … 144 154 this.newEmail.click(); 145 155 waitForElement(By.id("to_1")); 156 } 157 158 public void cancelNewEmail() { 159 this.cancelNewEmail.click(); 160 } 161 162 public void discardNewEmail() { 163 this.discardNewEmail.click(); 164 } 165 166 public void saveNewEmail() { 167 this.saveNewEmail.click(); 146 168 } 147 169 … … 471 493 closeAlert.accept(); 472 494 } 495 } 496 497 public void closeMail(String id) { 498 super.clickElement(By.xpath("//td[@id='border_id_" + id + "']//img")); 473 499 } 474 500
Note: See TracChangeset
for help on using the changeset viewer.