daveayan.gherkinsalad.components.jqueryui.datepicker
Class DefaultDatePicker
java.lang.Object
daveayan.gherkinsalad.AutomationObject
daveayan.gherkinsalad.components.core.BaseBrowserElement
daveayan.gherkinsalad.components.core.Component
daveayan.gherkinsalad.components.jqueryui.datepicker.DefaultDatePicker
- All Implemented Interfaces:
- BrowserElement, CanBeDisabled, CanBeEnabled, Nullable, DatePicker
public class DefaultDatePicker
- extends Component
- implements DatePicker
|
Method Summary |
void |
select_date_except_weekends(Date date_to_select,
Date current_date)
Use this method to navigate to the month and year that needs to be selected and then selects the date. |
void |
select_date(Date date_to_select,
Date current_date)
Use this method to navigate to the month and year that needs to be selected and then selects the date. |
| Methods inherited from class daveayan.gherkinsalad.components.core.Component |
find |
| Methods inherited from class daveayan.gherkinsalad.components.core.BaseBrowserElement |
findElement, findElements, found, getText, has_text, isDisabled, isDisplayed, isEnabled, isNotDisplayed, name, name, root_element, root_elements, should_be_disabled, should_be_displayed, should_be_enabled, should_have_text, should_not_be_displayed, should_not_have_text, toString |
| Methods inherited from class daveayan.gherkinsalad.AutomationObject |
action, and, ask, close_browser, error, execute_async_javascript, execute_javascript, feature, given, goto_url, info, is_not_null, is_not_null, is_null, is_null, javascript_authentication, javascript_popup_click_ok, javascript_popup_dismiss, launch_browser, scenario, switch_to_default_window, switch_to_window_with_name, takeScreenshot, task, then, thisIsNamedElement, verify_profile, wait_between_steps_plus, wait_between_steps, wait_for_seconds, warn, when |
next_month
public Clickable next_month
prev_month
public Clickable prev_month
DefaultDatePicker
public DefaultDatePicker()
select_date_except_weekends
public void select_date_except_weekends(Date date_to_select,
Date current_date)
- Description copied from interface:
DatePicker
- Use this method to navigate to the month and year that needs to be selected and then selects the date.
If the date is on a weekend this method does not select the date. The exact implementation of what needs to be done in that
case is left up to the implementors of this interface.
- Specified by:
select_date_except_weekends in interface DatePicker
select_date
public void select_date(Date date_to_select,
Date current_date)
- Description copied from interface:
DatePicker
- Use this method to navigate to the month and year that needs to be selected and then selects the date.
This method selects the date even if it falls on the weekend.
- Specified by:
select_date in interface DatePicker
Copyright © 2013. All Rights Reserved.