source: devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/pages/common/HomePage.java @ 3782

Revision 3782, 806 bytes checked in by luiz-fernando, 13 years ago (diff)

Ticket #1402 - Mudança no nome dos pacotes das classes

RevLine 
[3782]1package org.expressolivre.cte.pages.common;
[3663]2
[3766]3import org.openqa.selenium.By;
[3663]4import org.openqa.selenium.WebDriver;
5import org.openqa.selenium.WebElement;
6import org.openqa.selenium.support.FindBy;
7
8/**
9 * @author L.F.Estivalet (Serpro)
10 *
11 *         Created on Dec 16, 2010 at 9:43:15 AM
12 *
13 */
14public class HomePage extends Page {
15        @FindBy(xpath = "//a/img[@id='expressoMail12id']")
16        private WebElement mail;
17
[3745]18        @FindBy(id = "calendarid")
19        private WebElement calendar;
20
[3663]21        /**
22         * @param driver
23         */
24        public HomePage(WebDriver driver) {
25                super(driver);
26        }
27
28        public void enterMail() {
29                mail.click();
[3766]30                waitForElement(By
31                                .xpath("//table[@id='folders_tbl']/tbody/tr[1]/td/table/tbody/tr[2]/td/div/span"));
[3663]32        }
[3745]33
34        public void enterCalendar() {
35                calendar.click();
[3766]36                waitForElement(By.id("divAppbox"));
[3745]37        }
[3663]38}
Note: See TracBrowser for help on using the repository browser.