Class Schedule
- java.lang.Object
-
- org.primefaces.selenium.AbstractPrimePageFragment
-
- org.primefaces.selenium.component.base.AbstractComponent
-
- org.primefaces.selenium.component.Schedule
-
- All Implemented Interfaces:
org.openqa.selenium.SearchContext,org.openqa.selenium.TakesScreenshot,org.openqa.selenium.WebElement,org.openqa.selenium.WrapsElement
public abstract class Schedule extends AbstractComponent
Component wrapper for the PrimeFacesp:schedule.
-
-
Constructor Summary
Constructors Constructor Description Schedule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.openqa.selenium.WebElementgetButton(String buttonClass)org.openqa.selenium.WebElementgetDayButton()org.openqa.selenium.WebElementgetMonthButton()org.openqa.selenium.WebElementgetTodayButton()org.openqa.selenium.WebElementgetWeekButton()voidselect(String cssClass)Selects either a date or event or any other element in the schedule by its CSS class.voidupdate()Updates and refreshes the schedule view refetching all events-
Methods inherited from class org.primefaces.selenium.component.base.AbstractComponent
getWidgetByIdScript, getWidgetConfiguration, getWidgetConfigurationAsString, isAjaxified, isAjaxified
-
Methods inherited from class org.primefaces.selenium.AbstractPrimePageFragment
getElementLocator, getId, getRoot, getWebDriver, getWrappedElement, setElementLocator, setWebDriver
-
-
-
-
Method Detail
-
select
public void select(String cssClass)
Selects either a date or event or any other element in the schedule by its CSS class.- Parameters:
cssClass- the CSS class to select
-
update
public void update()
Updates and refreshes the schedule view refetching all events
-
getTodayButton
public org.openqa.selenium.WebElement getTodayButton()
-
getMonthButton
public org.openqa.selenium.WebElement getMonthButton()
-
getWeekButton
public org.openqa.selenium.WebElement getWeekButton()
-
getDayButton
public org.openqa.selenium.WebElement getDayButton()
-
getButton
public org.openqa.selenium.WebElement getButton(String buttonClass)
-
-