com.atlassian.jira.functest.framework.navigation
Class BulkChangeWizardImpl

java.lang.Object
  extended by com.atlassian.jira.functest.framework.navigation.AbstractBulkChangeWizard
      extended by com.atlassian.jira.functest.framework.navigation.BulkChangeWizardImpl
All Implemented Interfaces:
BulkChangeWizard

public class BulkChangeWizardImpl
extends AbstractBulkChangeWizard

Implementation of the Bulk Change Wizard for Functional Tests. Works with basic cases of Bulk Move and Bulk Edit, but it needs improvement to work for other things!

Since:
v4.2

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.atlassian.jira.functest.framework.navigation.BulkChangeWizard
BulkChangeWizard.BulkOperations, BulkChangeWizard.InputTypes, BulkChangeWizard.WizardState
 
Field Summary
 
Fields inherited from class com.atlassian.jira.functest.framework.navigation.AbstractBulkChangeWizard
BULK_EDIT_KEY, SAME_FOR_ALL, TARGET_PROJECT_ID
 
Constructor Summary
BulkChangeWizardImpl(net.sourceforge.jwebunit.WebTester tester, JIRAEnvironmentData environmentData)
           
 
Method Summary
protected  void checkCheckbox(String fieldName)
           
protected  void checkCheckbox(String checkboxName, String value)
           
protected  void checkSameTargetForAllCheckbox()
           
protected  void chooseOperationRadioButton(BulkChangeWizard.BulkOperations operation)
           
protected  void clickOnConfirm()
           
protected  void clickOnNext()
           
protected  boolean pageContainsText(String text)
           
protected  void selectAllIssueCheckboxes()
           
protected  void selectFirstTargetProject(String projectName)
           
protected  void setSelectElement(String fieldName, String value)
           
protected  void setTextElement(String fieldName, String value)
           
 
Methods inherited from class com.atlassian.jira.functest.framework.navigation.AbstractBulkChangeWizard
checkActionForField, checkRetainForField, chooseOperation, chooseTargetContextForAll, complete, finaliseFields, selectAllIssues, setFieldValue, setFieldValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BulkChangeWizardImpl

public BulkChangeWizardImpl(net.sourceforge.jwebunit.WebTester tester,
                            JIRAEnvironmentData environmentData)
Method Detail

clickOnNext

protected void clickOnNext()
Specified by:
clickOnNext in class AbstractBulkChangeWizard

clickOnConfirm

protected void clickOnConfirm()
Specified by:
clickOnConfirm in class AbstractBulkChangeWizard

selectAllIssueCheckboxes

protected void selectAllIssueCheckboxes()
Specified by:
selectAllIssueCheckboxes in class AbstractBulkChangeWizard

chooseOperationRadioButton

protected void chooseOperationRadioButton(BulkChangeWizard.BulkOperations operation)
Specified by:
chooseOperationRadioButton in class AbstractBulkChangeWizard

selectFirstTargetProject

protected void selectFirstTargetProject(String projectName)
Specified by:
selectFirstTargetProject in class AbstractBulkChangeWizard

checkSameTargetForAllCheckbox

protected void checkSameTargetForAllCheckbox()
Specified by:
checkSameTargetForAllCheckbox in class AbstractBulkChangeWizard

setTextElement

protected void setTextElement(String fieldName,
                              String value)
Specified by:
setTextElement in class AbstractBulkChangeWizard

setSelectElement

protected void setSelectElement(String fieldName,
                                String value)
Specified by:
setSelectElement in class AbstractBulkChangeWizard

checkCheckbox

protected void checkCheckbox(String fieldName)
Specified by:
checkCheckbox in class AbstractBulkChangeWizard

checkCheckbox

protected void checkCheckbox(String checkboxName,
                             String value)
Specified by:
checkCheckbox in class AbstractBulkChangeWizard

pageContainsText

protected boolean pageContainsText(String text)
Specified by:
pageContainsText in class AbstractBulkChangeWizard


Copyright © 2002-2012 Atlassian. All Rights Reserved.