public class CalendarPopup extends Object
Modifier and Type | Field and Description |
---|---|
protected com.atlassian.pageobjects.elements.PageElementActions |
actions |
protected com.atlassian.webdriver.AtlassianWebDriver |
driver |
protected JiraTestedProduct |
jira |
protected com.atlassian.pageobjects.elements.PageElement |
openCalendar |
protected com.atlassian.pageobjects.PageBinder |
pageBinder |
protected com.atlassian.pageobjects.elements.PageElementFinder |
pageElementFinder |
protected com.atlassian.pageobjects.elements.timeout.Timeouts |
timeouts |
Constructor and Description |
---|
CalendarPopup() |
Modifier and Type | Method and Description |
---|---|
Iterable<com.atlassian.pageobjects.elements.PageElement> |
getAllDayCells() |
com.atlassian.pageobjects.elements.PageElement |
getCalendarAMPM() |
com.atlassian.pageobjects.elements.query.TimedQuery |
getCalendarTitle() |
com.atlassian.pageobjects.elements.PageElement |
getCalendarToolTip() |
com.atlassian.pageobjects.elements.PageElement |
getCalendarWeekLabel() |
com.atlassian.pageobjects.elements.PageElement |
getDayCell(int day)
A cell in the calendar popup representing a certain day.
|
List<com.atlassian.pageobjects.elements.PageElement> |
getDaysOfWeek() |
com.atlassian.pageobjects.elements.query.TimedQuery<Integer> |
getHour() |
com.atlassian.pageobjects.elements.PageElement |
getHourCell()
A cell in the calendar popup representing the hour.
|
com.atlassian.pageobjects.elements.query.TimedQuery<Integer> |
getSelectedDay() |
com.atlassian.pageobjects.elements.PageElement |
getSelectedDayCell() |
com.atlassian.pageobjects.elements.PageElement |
getTodayButton() |
boolean |
hasDay(int day) |
CalendarPopup |
increaseHour() |
CalendarPopup |
increaseHour(int times) |
com.atlassian.pageobjects.elements.query.TimedQuery<Boolean> |
isClosed() |
boolean |
isDateTime() |
com.atlassian.pageobjects.elements.query.TimedCondition |
isOpen() |
void |
selectDay(int day)
Clicks a day cell in this calendar.
|
@Inject protected com.atlassian.pageobjects.PageBinder pageBinder
@Inject protected com.atlassian.pageobjects.elements.PageElementFinder pageElementFinder
@Inject protected JiraTestedProduct jira
@Inject protected com.atlassian.pageobjects.elements.PageElementActions actions
@Inject protected com.atlassian.webdriver.AtlassianWebDriver driver
@Inject protected com.atlassian.pageobjects.elements.timeout.Timeouts timeouts
protected com.atlassian.pageobjects.elements.PageElement openCalendar
public com.atlassian.pageobjects.elements.PageElement getDayCell(int day)
PageElement.isPresent()
method of the
returned element.day
- day cell numberpublic Iterable<com.atlassian.pageobjects.elements.PageElement> getAllDayCells()
public com.atlassian.pageobjects.elements.PageElement getSelectedDayCell()
public boolean hasDay(int day)
public com.atlassian.pageobjects.elements.query.TimedQuery<Integer> getSelectedDay()
public com.atlassian.pageobjects.elements.PageElement getHourCell()
PageElement.isPresent()
method of the
returned element.public boolean isDateTime()
public com.atlassian.pageobjects.elements.query.TimedQuery<Integer> getHour()
public com.atlassian.pageobjects.elements.query.TimedCondition isOpen()
public com.atlassian.pageobjects.elements.query.TimedQuery<Boolean> isClosed()
public void selectDay(int day)
day
- the day number to clickpublic CalendarPopup increaseHour()
public CalendarPopup increaseHour(int times)
public com.atlassian.pageobjects.elements.query.TimedQuery getCalendarTitle()
public com.atlassian.pageobjects.elements.PageElement getCalendarToolTip()
public com.atlassian.pageobjects.elements.PageElement getCalendarWeekLabel()
public com.atlassian.pageobjects.elements.PageElement getCalendarAMPM()
public List<com.atlassian.pageobjects.elements.PageElement> getDaysOfWeek()
public com.atlassian.pageobjects.elements.PageElement getTodayButton()
Copyright © 2002-2015 Atlassian. All Rights Reserved.