com.atlassian.jira.webtest.framework.core.component
Interface Select

All Superinterfaces:
Localizable, PageObject
All Known Implementing Classes:
ReloadingSelect, SeleniumSelect

public interface Select
extends Localizable

Represents a standard select HTML component.

Since:
v4.3

Method Summary
 List<Option> all()
          All options
 Select select(Option option)
          Select given option.
 Select selectDefault()
          Select default '-1' option of this select.
 Option selected()
          Selected option of this select.
 
Methods inherited from interface com.atlassian.jira.webtest.framework.core.Localizable
locator
 
Methods inherited from interface com.atlassian.jira.webtest.framework.core.PageObject
context, isReady
 

Method Detail

all

List<Option> all()
All options

Returns:
all options of this select

selected

Option selected()
Selected option of this select.

Returns:
selected option of this select

select

Select select(Option option)
Select given option.

Parameters:
option - option to select
Returns:
this select instance

selectDefault

Select selectDefault()
Select default '-1' option of this select.

Returns:
this select instance


Copyright © 2002-2013 Atlassian. All Rights Reserved.