com.atlassian.jira.functest.framework
Interface Form

All Known Implementing Classes:
FormImpl

public interface Form

Used to set form values in tests.


Method Summary
 com.meterware.httpunit.WebForm[] getForms()
          Returns all the forms in the current response.
 void selectOption(String selectName, String option)
          Select an option with a given display value in a select element.
 void selectOptionsByDisplayName(String selectName, String[] options)
          Select multiple options with given display values in a select element.
 void selectOptionsByValue(String selectName, String[] options)
          Select multiple options with given values in a select element.
 

Method Detail

selectOption

void selectOption(String selectName,
                  String option)
Select an option with a given display value in a select element.

Parameters:
selectName - name of select element.
option - display value of option to be selected.

selectOptionsByDisplayName

void selectOptionsByDisplayName(String selectName,
                                String[] options)
Select multiple options with given display values in a select element.

Parameters:
selectName - name of select element.
options - display values of options to be selected.

selectOptionsByValue

void selectOptionsByValue(String selectName,
                          String[] options)
Select multiple options with given values in a select element.

Parameters:
selectName - name of select element.
options - values of options to be selected.

getForms

com.meterware.httpunit.WebForm[] getForms()
Returns all the forms in the current response.

Returns:
all the forms in the current response.


Copyright © 2002-2012 Atlassian. All Rights Reserved.