Changeset 4917 for devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/pages/calendar/AppointmentViewPage.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/AppointmentViewPage.java
r4902 r4917 17 17 public class AppointmentViewPage extends Page { 18 18 19 /** Botao para editar um compromisso. */ 19 20 @FindBy(xpath = "//table[@id='calendar_viewevent_button_left']/tbody/tr/td[1]/nobr/form/div/input[@id='']") 20 21 private WebElement editButton; 21 22 23 /** Botao para editar serie de compromissos. */ 22 24 @FindBy(xpath = "//table[@id='calendar_viewevent_button_left']/tbody/tr/td[2]/nobr/form/div/input[@id='']") 23 private WebElement readyButton; 24 25 @FindBy(xpath = "//table[@id='calendar_viewevent_button_center']/tbody/tr/td[1]/nobr/form/div/input[@id='']") 26 private WebElement alarmManagerButton; 27 28 @FindBy(xpath = "//table[@id='calendar_viewevent_button_center']/tbody/tr/td[2]/nobr/form/div/input[@id='']") 29 private WebElement exportButton; 25 private WebElement editSeriesButton; 30 26 31 27 @FindBy(xpath = "//table[@id='calendar_viewevent_button_right']/tbody/tr/td/nobr/form/div/input[@id='']") … … 44 40 45 41 /** 46 * Edita o compromisso previamente selecionado 42 * Edita o compromisso previamente selecionado. 47 43 * 48 44 * @return Retorna pagina de edicao do compromisso. … … 50 46 public AppointmentEditPage editAppointment() { 51 47 this.editButton.click(); 48 return PageFactory.initElements(driver, AppointmentEditPage.class); 49 50 } 51 52 /** 53 * Edita a serie de compromissos previamente selecionado. 54 * 55 * @return Retorna pagina de edicao do compromisso. 56 */ 57 public AppointmentEditPage editAppointmentSeries() { 58 this.editSeriesButton.click(); 52 59 return PageFactory.initElements(driver, AppointmentEditPage.class); 53 60 … … 87 94 return title.getText(); 88 95 } 89 90 96 }
Note: See TracChangeset
for help on using the changeset viewer.