com.atlassian.jira.webtest.selenium.framework.components
Class Pickers

java.lang.Object
  extended by com.atlassian.jira.webtest.selenium.framework.components.Pickers

public final class Pickers
extends Object

Factory for convenient creation of various JIRA pickers.

Since:
v4.2

Method Summary
static GenericMultiSelect newAffectedVersionPicker(String contextLocator, SeleniumContext ctx)
          Factory method for 'Affected Versions' system field picker.
static GenericMultiSelect newComponentPicker(String contextLocator, SeleniumContext ctx)
          Factory method for a component system field picker.
static GenericMultiSelect newCustomFieldVersionPicker(String contextLocator, int customFieldId, SeleniumContext ctx)
          Factory method for a version picker associated with a custom field.
static GenericMultiSelect newFixVersionPicker(String contextLocator, SeleniumContext ctx)
          Factory method for 'Fix Version' system field picker.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

newAffectedVersionPicker

public static GenericMultiSelect newAffectedVersionPicker(String contextLocator,
                                                          SeleniumContext ctx)
Factory method for 'Affected Versions' system field picker.

Parameters:
contextLocator - context of the picker
ctx - Selenium context
Returns:
new 'Affected Versions' picker

newFixVersionPicker

public static GenericMultiSelect newFixVersionPicker(String contextLocator,
                                                     SeleniumContext ctx)
Factory method for 'Fix Version' system field picker.

Parameters:
contextLocator - context of the picker
ctx - Selenium context
Returns:
new 'Fix Version' picker

newCustomFieldVersionPicker

public static GenericMultiSelect newCustomFieldVersionPicker(String contextLocator,
                                                             int customFieldId,
                                                             SeleniumContext ctx)
Factory method for a version picker associated with a custom field.

Parameters:
contextLocator - context of the picker
customFieldId - ID of the custom field associated with the picker
ctx - Selenium context
Returns:
new custom field version picker

newComponentPicker

public static GenericMultiSelect newComponentPicker(String contextLocator,
                                                    SeleniumContext ctx)
Factory method for a component system field picker.

Parameters:
contextLocator - context of the picker
ctx - Selenium context
Returns:
new custom field version picker


Copyright © 2002-2012 Atlassian. All Rights Reserved.