com.atlassian.jira.functest.framework
Class FormImpl

java.lang.Object
  extended by com.atlassian.jira.functest.framework.FormImpl
All Implemented Interfaces:
Form

public class FormImpl
extends Object
implements Form


Constructor Summary
FormImpl(net.sourceforge.jwebunit.WebTester webTester)
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FormImpl

public FormImpl(net.sourceforge.jwebunit.WebTester webTester)
Method Detail

selectOption

public void selectOption(String selectName,
                         String option)
Description copied from interface: Form
Select an option with a given display value in a select element.

Specified by:
selectOption in interface Form
Parameters:
selectName - name of select element.
option - display value of option to be selected.

selectOptionsByDisplayName

public void selectOptionsByDisplayName(String selectName,
                                       String[] options)
Description copied from interface: Form
Select multiple options with given display values in a select element.

Specified by:
selectOptionsByDisplayName in interface Form
Parameters:
selectName - name of select element.
options - display values of options to be selected.

selectOptionsByValue

public void selectOptionsByValue(String selectName,
                                 String[] options)
Description copied from interface: Form
Select multiple options with given values in a select element.

Specified by:
selectOptionsByValue in interface Form
Parameters:
selectName - name of select element.
options - values of options to be selected.

getForms

public com.meterware.httpunit.WebForm[] getForms()
Description copied from interface: Form
Returns all the forms in the current response.

Specified by:
getForms in interface Form
Returns:
all the forms in the current response.


Copyright © 2002-2012 Atlassian. All Rights Reserved.