Revision 4895,
742 bytes
checked in by luiz-fernando, 13 years ago
(diff) |
Ticket #1771 - Adicionado testes automatizados para modulo da agenda
|
Line | |
---|
1 | package org.expressolivre.cte.pages.calendar; |
---|
2 | |
---|
3 | import org.expressolivre.cte.pages.common.Page; |
---|
4 | import org.openqa.selenium.WebDriver; |
---|
5 | import org.openqa.selenium.WebElement; |
---|
6 | import org.openqa.selenium.support.FindBy; |
---|
7 | |
---|
8 | /** |
---|
9 | * @author L.F.Estivalet (Serpro) |
---|
10 | * |
---|
11 | * Created on Aug 2, 2011 at 3:07:31 PM |
---|
12 | * |
---|
13 | */ |
---|
14 | public class AppointmentConflictPage extends Page { |
---|
15 | |
---|
16 | @FindBy(id = "ignore_button") |
---|
17 | private WebElement ignoreButton; |
---|
18 | |
---|
19 | @FindBy(id = "redit_button") |
---|
20 | private WebElement reditButton; |
---|
21 | |
---|
22 | public AppointmentConflictPage(WebDriver driver) { |
---|
23 | super(driver); |
---|
24 | // TODO Auto-generated constructor stub |
---|
25 | } |
---|
26 | |
---|
27 | public void ignoreConflict() { |
---|
28 | this.ignoreButton.click(); |
---|
29 | } |
---|
30 | |
---|
31 | public void reeditConflict() { |
---|
32 | this.reditButton.click(); |
---|
33 | } |
---|
34 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.