com.atlassian.jira.webtest.selenium.framework.fields
Class DateFieldWithCalendar
java.lang.Object
com.atlassian.jira.webtest.selenium.framework.core.AbstractSeleniumPageObject
com.atlassian.jira.webtest.selenium.framework.fields.DateFieldWithCalendar
- All Implemented Interfaces:
- Field<Date>
public class DateFieldWithCalendar
- extends AbstractSeleniumPageObject
- implements Field<Date>
Represents a date field in JIRA with calendar popup.
- Since:
- v4.2
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DateFieldWithCalendar
public DateFieldWithCalendar(SeleniumContext ctx,
String elementLocator,
String calendarTrigger,
String dateFormat)
getValue
public Date getValue()
- Description copied from interface:
Field
- Return the value currently within the field.
- Specified by:
getValue
in interface Field<Date>
- Returns:
- the value currently within the field.
openCalendar
public CalendarPopup openCalendar()
getStringValue
public String getStringValue()
- Description copied from interface:
Field
- Return the string value of the field.
- Specified by:
getStringValue
in interface Field<Date>
- Returns:
- the string value of the field.
assertVisible
public void assertVisible()
- Description copied from interface:
Field
- Make sure that the field is currently visible on the page.
- Specified by:
assertVisible
in interface Field<Date>
createForDateTimeCustomField
public static DateFieldWithCalendar createForDateTimeCustomField(SeleniumContext ctx,
long customFieldId)
createForDateCustomField
public static DateFieldWithCalendar createForDateCustomField(SeleniumContext ctx,
long customFieldId)
Copyright © 2002-2012 Atlassian. All Rights Reserved.