@Test(dependsOnMethods = "addCalendarPage", timeOut = 60000) public void testCreateEvent() { navigateToSiteDashboard(); calendarPage = siteDashBoard.getSiteNav().selectCalendarPage(); calendarPage = calendarPage.createEvent(CalendarPage.ActionEventVia.MONTH_TAB, event1, event1, event1, null, null, null, null, tag1, false); }
public CalendarPage createEvent(String whatField, String whereField, String description, boolean allDay) { return createEvent(null, whatField, whereField, description, null, null, null, null, null, allDay); }
CalendarPage extends SitePage { public CalendarPage createEvent(String whatField, String whereField, String description, boolean allDay) { return createEvent(null, whatField, whereField, description, null, null, null, null, null, allDay); } }
CalendarPage extends SitePage { public CalendarPage createEvent(String whatField, String whereField, String description, boolean allDay) { return createEvent(null, whatField, whereField, description, null, null, null, null, null, allDay); } CalendarPage(WebDrone drone); }
CalendarPage extends SitePage { public CalendarPage createEvent(String whatField, String whereField, String description, boolean allDay) { return createEvent(null, whatField, whereField, description, null, null, null, null, null, allDay); } CalendarPage(WebDrone drone); @SuppressWarnings("unchecked") @Override CalendarPage render(RenderTime timer); @SuppressWarnings("unchecked") @Override CalendarPage render(); @SuppressWarnings("unchecked") @Override CalendarPage render(long time); AddEventForm clickOnAddEvent(); AddEventForm clickOnTabOrButtonAddEvent(ActionEventVia createEventVia); CalendarPage createEvent(String whatField, String whereField, String description, boolean allDay); CalendarPage createEvent(ActionEventVia createEventVia, String whatField, String whereField, String description, String startDate, String startTime, String endDate, String endTime, String tags, boolean allDay); CalendarPage createEvent(ActionEventVia createEventVia, String whatField, String whereField, String description, String startYear, String startMonth, String startDate, String startTime, String endYear, String endMonth, String endDate, String endTime, String tags, boolean allDay); boolean isAddEventPresent(); CalendarPage editEvent(String eventName, EventType eventType, ActionEventVia editEventVia, String whatField, String whereField, String description, String startDate, String startTime, String endDate, String endTime, String tags, boolean allDay, String[] removeTag); CalendarPage deleteEvent(String eventName, EventType eventType, ActionEventVia editEventVia); HtmlPage chooseDayTab(); HtmlPage chooseWeekTab(); HtmlPage chooseMonthTab(); HtmlPage chooseAgendaTab(); boolean isDayTabOpened(); boolean isWeekTabOpened(); boolean isMonthTabOpened(); boolean isAgendaTabOpened(); boolean isEventPresent(EventType eventType, String eventName); CalendarPage showAllHours(); boolean showAllHoursButtonDisplayed(); CalendarPage showWorkingHours(); boolean showWorkingHoursButtonDisplayed(); boolean checkTableHours(HoursFromTable xpath); InformationEventForm clickOnEvent(EventType eventType, String eventName); String clickIcalFeedButton(); String getIcalFeedHref(); boolean isShowAllItemsPresent(); CalendarPage clickShowAllItems(); boolean isTagPresent(String tagName); CalendarPage clickTagLink(String tagName); boolean isAddEventClickable(ActionEventVia viaTab); int getTheNumOfEvents(ActionEventVia viaTab); }
CalendarPage extends SitePage { public CalendarPage createEvent(String whatField, String whereField, String description, boolean allDay) { return createEvent(null, whatField, whereField, description, null, null, null, null, null, allDay); } CalendarPage(WebDrone drone); @SuppressWarnings("unchecked") @Override CalendarPage render(RenderTime timer); @SuppressWarnings("unchecked") @Override CalendarPage render(); @SuppressWarnings("unchecked") @Override CalendarPage render(long time); AddEventForm clickOnAddEvent(); AddEventForm clickOnTabOrButtonAddEvent(ActionEventVia createEventVia); CalendarPage createEvent(String whatField, String whereField, String description, boolean allDay); CalendarPage createEvent(ActionEventVia createEventVia, String whatField, String whereField, String description, String startDate, String startTime, String endDate, String endTime, String tags, boolean allDay); CalendarPage createEvent(ActionEventVia createEventVia, String whatField, String whereField, String description, String startYear, String startMonth, String startDate, String startTime, String endYear, String endMonth, String endDate, String endTime, String tags, boolean allDay); boolean isAddEventPresent(); CalendarPage editEvent(String eventName, EventType eventType, ActionEventVia editEventVia, String whatField, String whereField, String description, String startDate, String startTime, String endDate, String endTime, String tags, boolean allDay, String[] removeTag); CalendarPage deleteEvent(String eventName, EventType eventType, ActionEventVia editEventVia); HtmlPage chooseDayTab(); HtmlPage chooseWeekTab(); HtmlPage chooseMonthTab(); HtmlPage chooseAgendaTab(); boolean isDayTabOpened(); boolean isWeekTabOpened(); boolean isMonthTabOpened(); boolean isAgendaTabOpened(); boolean isEventPresent(EventType eventType, String eventName); CalendarPage showAllHours(); boolean showAllHoursButtonDisplayed(); CalendarPage showWorkingHours(); boolean showWorkingHoursButtonDisplayed(); boolean checkTableHours(HoursFromTable xpath); InformationEventForm clickOnEvent(EventType eventType, String eventName); String clickIcalFeedButton(); String getIcalFeedHref(); boolean isShowAllItemsPresent(); CalendarPage clickShowAllItems(); boolean isTagPresent(String tagName); CalendarPage clickTagLink(String tagName); boolean isAddEventClickable(ActionEventVia viaTab); int getTheNumOfEvents(ActionEventVia viaTab);  }