Changeset 4917 for devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/pages/calendar/AppointmentPage.java
- Timestamp:
- 08/11/11 16:58:17 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/pages/calendar/AppointmentPage.java
r4902 r4917 70 70 private WebElement priority; 71 71 72 @FindBy(id = "usuarioParticipa") 73 private WebElement includeUser; 74 72 75 /** Alarme dia. */ 73 76 @FindBy(name = "cal[alarmdays]") … … 128 131 */ 129 132 public void setTitle(String title) { 133 this.title.clear(); 130 134 this.title.sendKeys(title); 131 135 } … … 136 140 */ 137 141 public void setDescription(String description) { 142 this.description.clear(); 138 143 this.description.sendKeys(description); 139 144 } … … 152 157 */ 153 158 public void setLocation(String location) { 159 this.location.clear(); 154 160 this.location.sendKeys(location); 155 161 } … … 218 224 219 225 /** 226 * Inclui/Exclui usuario criador do compromisso. 227 * 228 * @param include 229 * <code>true</code> para incluir usuario, <code>false</code> 230 * para excluir. 231 */ 232 public void setIncludeUser(Boolean include) { 233 if (include && !this.includeUser.isSelected()) { 234 this.includeUser.click(); 235 } 236 237 if (!include && this.includeUser.isSelected()) { 238 this.includeUser.click(); 239 } 240 } 241 242 /** 220 243 * @param notes 221 244 * the notes to set 222 245 */ 223 246 public void setNotes(String notes) { 247 this.notes.clear(); 224 248 this.notes.sendKeys(notes); 225 249 }
Note: See TracChangeset
for help on using the changeset viewer.