com.atlassian.jira.webtests
Class JIRAWebTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by net.sourceforge.jwebunit.WebTestCase
              extended by com.atlassian.jira.webtests.WebTestCaseWrapper
                  extended by com.atlassian.jira.webtests.AbstractAtlassianWebTestCase
                      extended by com.atlassian.jira.webtests.JIRAWebTest
All Implemented Interfaces:
FunctTestConstants, EnvironmentAware, junit.framework.Test
Direct Known Subclasses:
AbstractTestIssueNavigatorView, AbstractTestWorkflowMigration, AbstractTestWorkflowNameEditing, BulkChangeIssues, TestAddComment, TestAddPermissionNonStandardPermissionTypes, TestAdminMenuWebFragment, TestAdminSectionVisibility, TestAnnouncementBanner, TestAssignToCurrentUserFunction, TestBasic, TestBrowseVersionsAndComponents, TestBrowseVersionsAndComponentsPaging, TestBulkEditUserGroups, TestBulkMoveWithMultiContexts, TestBulkOperationCustomField, TestBulkOperationIssueNavigator, TestBulkOperationsIndexing, TestCascadingSelectCustomField, TestCloneIssueWithSubTasks, TestCommentDelete, TestCreateIssue, TestCreateIssueForEnterprise, TestCreateIssueViaDirectLink, TestCreateSubTasks, TestCreateSubTasksContextPermission, TestCustomFields, TestCustomFieldsNoSearcherPermissions, TestCustomWorkflow, TestCvsIntegration, TestDataExport, TestDateRangePicker, TestDefaultJiraDataFromInstall, TestDeleteGroup, TestDeleteUserAndPermissions, TestDeveloperWorkloadReport, TestDeveloperWorkloadReportPermissions, TestDraftWorkflow, TestEditAttachmentSettings, TestEditComment, TestEditIssue, TestEditIssueForEnterprise, TestEditNestedGroups, TestEditUserDetails, TestEditUserGroups, TestEditUserProjectRoles, TestEventTypes, TestExcludeResolutionOnTransitions, TestExternalUserManagement, TestFieldConfigurationSchemes, TestFieldRenderers, TestFieldScreens, TestFilterActions, TestFilterSubscription, TestGeneralConfiguration, TestGenericProjectConstantsSearcher, TestGlobalPermissions, TestGlobalUserPreferences, TestGroupSelectorPermissions, TestGroupToRoleMappingTool, TestImportExport, TestIndexAdmin, TestInlineIssueLinking, TestIntegrityChecker, TestIssueConstants, TestIssueNavigatorXmlViewTimeTracking, TestIssueOperations, TestIssueOperationsOnDeletedIssue, TestIssueOperationsWithLimitedPermissions, TestIssuePrintableView, TestIssueSecurityActions, TestIssueSecurityWithGroupsAndRoles, TestIssueSecurityWithRoles, TestIssueToSubTaskConversionSecurityLevel, TestIssueToSubTaskConversionStep1, TestIssueToSubTaskConversionStep2, TestIssueToSubTaskConversionSystemFields, TestIssueToSubTaskConversionVariousOperations, TestIssueToSubTaskConversionWithFields, TestIssueTypeSchemeMigration, TestIssueTypeSchemes, TestIssueViews, TestLicenseFooters, TestLinkIssue, TestMailServer, TestMoveIssue, TestMoveIssueAndRemoveFields, TestMoveIssueForEnterprise, TestMoveSubTask, TestMoveSubTaskIssueType, TestMultiCheckboxCustomFieldOptions, TestMultiGroupSelector, TestMultiIssueTypes, TestMultiSelectCustomFieldOptions, TestNavigationBarWebFragment, TestNavigatorPages, TestPerforcePlugin, TestPermissionSchemes, TestPresetFiltersWebFragment, TestProjectCategory, TestProjectComponentQuickSearch, TestRadioSelectCustomFieldOptions, TestRedirectToMovedIssues, TestReindexingSubtasks, TestReturnToSearch, TestSchemeComparisonTool, TestSchemeMergeTool, TestSchemePurgeTool, TestSecurityLevelOfSubtasks, TestSelectCustomFieldOptions, TestShowConstantsHelp, TestSignup, TestSubtaskSecurity, TestSubTaskToIssueConversionSecurityLevel, TestSubTaskToIssueConversionStep1, TestTaskAdmin, TestTimeTrackingAggregates, TestTimeTrackingExcelReport, TestTimeTrackingNavagableFields, TestTimeTrackingReport, TestTimeTrackingReportPermissions, TestTransitionWorkflowScreen, TestTrustedApplicationClientVersion0, TestTrustedApplicationClientVersion1, TestTrustedApplications, TestUpgradeTask602, TestUpgradeTask606, TestUserGroupPicker, TestUserManagement, TestUserNavigationBarWebFragment, TestUserPickerGroupSearcher, TestUserProperties, TestVersionWorkloadReport, TestVersionWorkloadReportPermissions, TestViewIssue, TestViewProject, TestWatchers, TestWorkFlowActions, TestWorkflowBasedPermissions, TestWorkflowConditions, TestWorkflowEditing, TestWorkflowEditor, TestWorkFlowSchemes, TestWorkflowTransitionView, TestWorkLogTabPanel, TestXmlCustomIssueView, TestXmlIssueViewBackwardCompatibility, TestXmlIssueViewErrors, TestXSSInFullName

Deprecated. This is a legacy class that evolved as a result of a 'stuff every util into the base class' approach. It is probably one of the fattest classes in the JIRA code base. It has been replaced by FuncTestCase that attempts to separate its various responsibilities into multiple helper classes. Always use FuncTestCase for new func tests and attempt to migrate old tests to use it whenever possible.

@Deprecated
public abstract class JIRAWebTest
extends AbstractAtlassianWebTestCase
implements EnvironmentAware, FunctTestConstants

Base web test for JIRA. Extend this to make a functional test.

See Also:
Func Test Developer Guide for details

Nested Class Summary
static interface JIRAWebTest.ParameterEnterer
          Deprecated.  
 
Field Summary
protected  Administration administration
          Deprecated. Use this field to access the Administration helper in play
protected  Assertions assertions
          Deprecated. Use this field to access the Assertions helper in play
protected  Backdoor backdoor
          Deprecated. Use this field to access the Administration helper in play
static String BULK_TRANSITION_ELEMENT_NAME
          Deprecated.  
protected  JIRAEnvironmentData environmentData
          Deprecated. Use this field to access the JIRAEnvironmentData in play
static String FIELD_SCOPE_GLOBAL
          Deprecated.  
protected  Form form
          Deprecated. Used to set form values in tests.
static float JDK_1_5_VERSION
          Deprecated.  
protected  LocatorFactory locator
          Deprecated. Use this field to access the LocatorFactory in play
protected  FuncTestLogger log
          Deprecated. Use this field to access the FuncTestLogger in play
protected  Navigation navigation
          Deprecated. Use this field to access the Navigation helper in play
protected  HtmlPage page
          Deprecated. Used to find out about the current HTML page that the test is on.
static String PAGE_ENTERPRISE_FIELD_CONFIGURATIONS
          Deprecated.  
static String PAGE_ISSUE_TYPE_SCREEN_SCHEMES
          Deprecated.  
static String PAGE_NOT_STANDARD_VIEW_FIELD_SCREEN_SCHEMES
          Deprecated.  
static String PAGE_USER_BROWSER
          Deprecated.  
protected  Parser parse
          Deprecated. Use this field to access the Parser helper in play
protected  TextAssertions text
          Deprecated. Use this field to access the TextAssertions helper in play
 
Fields inherited from class net.sourceforge.jwebunit.WebTestCase
tester
 
Fields inherited from interface com.atlassian.jira.functest.framework.FunctTestConstants
ADMIN_EMAIL, ADMIN_FULLNAME, ADMIN_PASSWORD, ADMIN_USERNAME, ADMINISTER, AFFECTS_VERSIONS_FIELD_ID, ANYONE, ASSIGN_FIELD_SCREEN, ASSIGN_FIELD_SCREEN_NAME, ASSIGN_ISSUE, ASSIGNABLE_USER, ASSIGNEE_FIELD_ID, ATTACHMENT_FIELD_ID, BOB_EMAIL, BOB_FULLNAME, BOB_PASSWORD, BOB_USERNAME, BROWSE, BUILT_IN_CUSTOM_FIELD_KEY, BULK_CHANGE, BUTTON_CANCEL, BUTTON_CONFIRM, BUTTON_NAME_NEXT, BUTTON_NEXT, CHANGE_HISTORY, CLONERS_INWARD_LINK_NAME, CLONERS_LINK_TYPE_NAME, CLONERS_OUTWARD_LINK_NAME, CLOSE_ISSUE, COMMENT_ISSUE, COMPONENT_NAME_FOUR, COMPONENT_NAME_ONE, COMPONENT_NAME_THREE, COMPONENT_NAME_TWO, COMPONENTS_FIELD_ID, CREATE_ATTACHMENT, CREATE_ISSUE, CREATE_ISSUE_OPERATION_SCREEN, CREATE_SHARED_OBJECTS, CUSTOM_FIELD_CONFIGURATION, CUSTOM_FIELD_PREFIX, CUSTOM_FIELD_TYPE_CHECKBOX, CUSTOM_FIELD_TYPE_DATEPICKER, CUSTOM_FIELD_TYPE_DATETIME, CUSTOM_FIELD_TYPE_GROUPPICKER, CUSTOM_FIELD_TYPE_MULTIGROUPPICKER, CUSTOM_FIELD_TYPE_MULTISELECT, CUSTOM_FIELD_TYPE_MULTIUSERPICKER, CUSTOM_FIELD_TYPE_RADIO, CUSTOM_FIELD_TYPE_SELECT, CUSTOM_FIELD_TYPE_TEXTFIELD, CUSTOM_FIELD_TYPE_USERPICKER, CUSTOM_SUB_TASK_SUMMARY, CUSTOM_SUB_TASK_TYPE_DESCRIPTION, CUSTOM_SUB_TASK_TYPE_NAME, DEFAULT_ASSIGNEE_ERROR_MESSAGE, DEFAULT_FIELD_CONFIGURATION, DEFAULT_FIELD_SCREEN_NAME, DEFAULT_ISSUE_TYPE_SCREEN_SCHEME, DEFAULT_OPERATION_SCREEN, DEFAULT_PERM_SCHEME, DEFAULT_SCREEN_SCHEME, DEFAULT_TEXT_RENDERER, DELETE_ISSUE, DUE_DATE_FIELD_ID, EDIT_ISSUE, EDIT_ISSUE_OPERATION_SCREEN, EVENT_TYPE_ACTIVE_STATUS, EVENT_TYPE_INACTIVE_STATUS, FIELD_ASSIGNEE, FIELD_COMPONENTS, FIELD_FIX_VERSIONS, FIELD_OPERATION, FIELD_PRIORITY, FIELD_SCHEME_DESC, FIELD_SCHEME_NAME, FIELD_TABLE_ID, FIELD_VERSIONS, FIX_VERSIONS_FIELD_ID, FORMAT_DAYS, FORMAT_HOURS, FORMAT_PRETTY, FRED_EMAIL, FRED_FULLNAME, FRED_PASSWORD, FRED_USERNAME, FS, GLOBAL_ADMIN, HTM, ISSUE_ALL, ISSUE_BUG, ISSUE_IMAGE_BUG, ISSUE_IMAGE_IMPROVEMENT, ISSUE_IMAGE_NEWFEATURE, ISSUE_IMAGE_SUB_TASK, ISSUE_IMAGE_TASK, ISSUE_IMPROVEMENT, ISSUE_NEWFEATURE, ISSUE_TAB_ALL, ISSUE_TAB_CHANGE_HISTORY, ISSUE_TAB_COMMENTS, ISSUE_TAB_WORK_LOG, ISSUE_TASK, ISSUE_TYPE_ALL, ISSUE_TYPE_ANY, ISSUE_TYPE_BUG, ISSUE_TYPE_IMPROVEMENT, ISSUE_TYPE_NEWFEATURE, ISSUE_TYPE_SUB_TASK, ISSUE_TYPE_TASK, ISSUETABLE_EDIT_ROW, ISSUETABLE_HEADER_ROW, ISSUETABLE_ID, JIRA_ADMIN_GROUP, JIRA_ADMIN_ROLE, JIRA_DEV_GROUP, JIRA_DEV_ROLE, JIRA_FORM_NAME, JIRA_USERS_GROUP, JIRA_USERS_ROLE, LABEL_ISSUE_NAVIGATOR, LINK_ASSIGN_ISSUE, LINK_BULK_CHANGE_ALL, LINK_BULK_CHANGE_CURR_PG, LINK_CLONE_ISSUE, LINK_DELETE_ISSUE, LINK_EDIT_ISSUE, LINK_ISSUE, LINK_NEXT_PG, MANAGE_GROUP_FILTER_SUBSCRIPTIONS, MANAGE_WATCHER_LIST, minorPriority, MODIFY_REPORTER, MOVE_DOWN, MOVE_ISSUE, MOVE_TO_FIRST, MOVE_TO_LAST, MOVE_UP, PERM_SCHEME_DESC, PERM_SCHEME_NAME, PRIORITY_BLOCKER, PRIORITY_CRITICAL, PRIORITY_FIELD_ID, PRIORITY_IMAGE_BLOCKER, PRIORITY_IMAGE_CRITICAL, PRIORITY_IMAGE_MAJOR, PRIORITY_IMAGE_MINOR, PRIORITY_IMAGE_TRIVIAL, PRIORITY_MAJOR, PRIORITY_MINOR, PRIORITY_TRIVIAL, PROJECT_ADMIN, PROJECT_HOMOSAP, PROJECT_HOMOSAP_KEY, PROJECT_MONKEY, PROJECT_MONKEY_KEY, PROJECT_NEO, PROJECT_NEO_KEY, PROJECT_TAB_CHANGE_LOG, PROJECT_TAB_COMPONENTS, PROJECT_TAB_OPEN_ISSUES, PROJECT_TAB_POPULAR_ISSUES, PROJECT_TAB_ROAD_MAP, PROJECT_TAB_VERSIONS, RADIO_OPERATION_DELETE, RADIO_OPERATION_EDIT, RADIO_OPERATION_MOVE, RADIO_OPERATION_WORKFLOW, REPORTER_FIELD_ID, RESOLUTION_FIELD_ID, RESOLVE_FIELD_SCREEN_NAME, RESOLVE_ISSUE, SCHEDULE_ISSUE, SCREEN_TABLE_NAME_COLUMN_INDEX, SECURITY_LEVEL_FIELD_ID, SECURITY_LEVEL_ONE_DESC, SECURITY_LEVEL_ONE_NAME, SECURITY_LEVEL_THREE_DESC, SECURITY_LEVEL_THREE_NAME, SECURITY_LEVEL_TWO_DESC, SECURITY_LEVEL_TWO_NAME, SECURITY_SCHEME_DESC, SECURITY_SCHEME_NAME, SET_ISSUE_SECURITY, STATUS_IMAGE_IN_PROGRESS, STATUS_IMAGE_OPEN, STATUS_IMAGE_REOPENED, STATUS_IMAGE_RESOLVED, STATUS_IN_PROGRESS, STATUS_NAME, STATUS_OPEN, STEP_CHOOSE_ISSUES, STEP_CHOOSE_OPERATION, STEP_CONFIRMATION, STEP_NAME, STEP_OPERATION_DETAILS, STEP_PREFIX, SUB_TASK_DEFAULT_TYPE, SUB_TASK_SUMMARY, Summary, SYS_ADMIN_PASSWORD, SYS_ADMIN_USERNAME, SYSTEM_ADMINISTER, TEST_FIELD_SCREEN, TRANSIION_NAME_APPROVE, TRANSIION_NAME_CLOSE, TRANSIION_NAME_REOPEN, TRANSIION_NAME_RESOLVE, TRANSIION_NAME_START_PROGRESS, TRANSIION_NAME_STOP_PROGRESS, USE, USER_PICKER, VERSION_NAME_FIVE, VERSION_NAME_FOUR, VERSION_NAME_ONE, VERSION_NAME_THREE, VERSION_NAME_TWO, VERSIONS_FIELD_ID, VIEW_ISSUE_OPERATION_SCREEN, VIEW_VERSION_CONTROL, VIEW_VOTERS_AND_WATCHERS, WIKI_STYLE_RENDERER, WORK_ISSUE, WORKFLOW_ADDED, WORKFLOW_COPIED, WORKFLOW_SCHEME
 
Constructor Summary
JIRAWebTest(String name)
          Deprecated.  
 
Method Summary
 void activateIssueLinking()
          Deprecated. Use IssueLinking.enable() instead.
 void activateSubTasks()
          Deprecated. Enables sub-tasks. Use Subtasks.enable() instead.
 void activateTimeTracking()
          Deprecated. Use TimeTracking.enable(com.atlassian.jira.functest.framework.admin.TimeTracking.Mode) instead.
 void activateWorkflow(String workflow_name)
          Deprecated.  
 void addColumnToIssueNavigator(String[] fieldNames)
          Deprecated.  
protected  void addCommentOnCurrentIssue(String comment)
          Deprecated. Use IssueNavigation.addComment(String, String) instead.
protected  void addCommentOnCurrentIssue(String comment, String roleLevel)
          Deprecated. Use IssueNavigation.addComment(String, String, String) instead.
 String addComponent(String projectName, String name)
          Deprecated. Adds a component with the given name (and no lead) to the projectName with the given name.
 String addComponent(String projectName, String name, String componentLead)
          Deprecated. Adds a component with the given name and component lead to the projectName with the given name.
 String addCustomField(String fieldType, String fieldName)
          Deprecated. Creates a global custom field for all issue types with the given details.
 String addCustomField(String fieldType, String fieldScope, String fieldName, String fieldDescription, String issueType, String project, String searcher)
          Deprecated.  
 void addCustomFieldOption(String fieldId, String fieldOption)
          Deprecated.  
 String addCustomFieldWithMultipleIssueTypes(String fieldType, String fieldScope, String fieldName, String fieldDescription, String[] issueTypes, String project, String searcher)
          Deprecated.  
 void addEventType(String name, String description, String template)
          Deprecated.  
 void addFieldLayoutScheme(String scheme_name, String scheme_desc)
          Deprecated.  
 void addFieldLayoutSchemeEntry(String issueTypeName, String fieldLayoutName, String schemeName)
          Deprecated.  
 void addFieldScreenScheme(String schemeName, String schemeDescription, String fieldScreenDefault)
          Deprecated.  
 void addFieldsToFieldScreen(String screenName, String[] fieldNames)
          Deprecated.  
 void addFieldToFieldScreen(String screenName, String fieldName)
          Deprecated.  
 void addFieldToFieldScreen(String screenName, String fieldName, String position)
          Deprecated.  
 void addFieldToFieldScreenTab(String screenName, String tabName, String fieldName, String position)
          Deprecated.  
 void addGroupToProjectRole(String groupName, String projectName, String roleName)
          Deprecated.  
 void addGroupToSecurityLevel(String scheme_name, String level_name, String groupName)
          Deprecated.  
 void addGroupToSecurityLevel(String scheme_name, String level_name, String groupName, String[] expectedGroups)
          Deprecated.  
 String addIssue(String project, String projectKey, String issueType, String summary)
          Deprecated. please use IssueNavigation.createIssue(String, String, String)
 String addIssue(String project, String projectKey, String issueType, String summary, String priority, String[] components, String[] affectsVersions, String[] fixVersions, String assignTo, String environment, String description, String originalEstimate, String securityLevel, String dueDate)
          Deprecated. Adds an issue to the given project returning its key.
 void addIssueOnly(String project, String projectKey, String issueType, String summary, String priority, String[] components, String[] affectsVersions, String[] fixVersions, String assignTo, String environment, String description, String originalEstimate, String securityLevel, String dueDate)
          Deprecated. add issue without getting its issue key
 void addIssueOperationToScreenAssociation(String schemeName, String issueOperation, String screenName)
          Deprecated.  
 String addIssueType(String name, String desc, String iconUrl)
          Deprecated. Creates a custom issue type with the given properties.
 void addIssueTypeFieldScreenScheme(String schemeName, String schemeDescription, String defaultScreenScheme)
          Deprecated.  
 void addIssueTypeStatsPortlet(String filterName)
          Deprecated. Adds a stats portlet with the filter name
 void addIssueTypeToScreenAssociation(String issueTypeSchemeId, String issueType, String screenSchemeName)
          Deprecated.  
 void addLinkedStatus(String status_name, String status_desc)
          Deprecated.  
 void addPortlet(String portlet)
          Deprecated. Adds the portlet with the given name up to the point where the portlet configuration form comes up.
 long addProject(String name, String key, String lead)
          Deprecated. Use Project.addProject(String, String, String) instead.
 void addProjectAdminPermission(int permission, String group)
          Deprecated.  
 void addRoleToSecurityLevel(String scheme_name, String level_name, String roleName)
          Deprecated.  
 void addScreen(String screenName, String screenDescription)
          Deprecated.  
 void addStep(String workflow_name, String step_name, String linked_status)
          Deprecated. Use WorkflowSteps.add(String, String) instead.
 String addSubTaskToIssue(String issueKey, String subTaskType, String subTaskSummary, String subTaskDescription)
          Deprecated. please use IssueNavigation.createSubTask(String, String, String, String)
 String addSubTaskToIssue(String issueKey, String subTaskType, String subTaskSummary, String subTaskDescription, String originalEstimate)
          Deprecated. Adds a subtask with the given type and properties to the given issue.
 void addTabToScreen(String screenName, String tabName)
          Deprecated.  
 void addTransition(String workflow_name, String step_name, String transition_name, String transition_desc, String destination_step, String transitionFieldScreen)
          Deprecated. Use WorkflowSteps.addTransition(String, String, String, String, String) instead.
 void addUser(String username)
          Deprecated. Use UsersAndGroups.addUser(String) instead.
 void addUser(String username, String password, String fullname, String emailAddress)
          Deprecated. Use UsersAndGroups.addUser(String, String, String, String) instead.
 void addUserToGroup(String userName, String groupName)
          Deprecated. Use UsersAndGroups.addUserToGroup(String, String) instead.
 void addUserToProjectRole(String userName, String projectName, String roleName)
          Deprecated.  
 String addVersion(String project, String name, String description)
          Deprecated.  
 void addWorkFlow(String workflow_name, String workflow_desc)
          Deprecated. Adds a workflow with the given name and description.
protected  void addWorkflowCondition(String workflowName, String stepName, String condition)
          Deprecated.  
protected  void addWorkflowCondition(String workflowName, String stepName, String condition, JIRAWebTest.ParameterEnterer paramEnterer)
          Deprecated.  
 void addWorkflowPostfunction(String workflowName, String stepName, String transitionName, String postFunctionName)
          Deprecated.  
 void addWorkFlowScheme(String workflowscheme_name, String workflowscheme_desc)
          Deprecated.  
protected  void addWorkflowValidator(String workflowName, String stepName, String validator)
          Deprecated.  
protected  void addWorkflowValidator(String workflowName, String stepName, String validator, JIRAWebTest.ParameterEnterer paramEnterer)
          Deprecated.  
 void assertErrorMsgFieldRequired(String fieldId, String project, String fieldDisplayName)
          Deprecated.  
 void assertFormElementHasValue(String fieldId, String expectedValue)
          Deprecated. Assert form element with fieldId has expectedValue
 void assertFormElementHasValue(String formNameOrId, String fieldId, String expectedValue)
          Deprecated. Assert form element with fieldId has expectedValue
 void assertFormElementWithNameHasValue(String fieldName, String expectedValue)
          Deprecated. Assert form element with fieldName has expectedValue
 void assertFormElementWithNameHasValue(String formNameOrId, String fieldName, String expectedValue)
          Deprecated. Assert form element with fieldName has expectedValue
 void assertFormTextAreaHasValue(String fieldId, String expectedValue)
          Deprecated. Assert the form textarea has the expectedValue
 void assertFormTextAreaHasValue(String formNameOrId, String fieldId, String expectedValue)
          Deprecated. Assert the form textarea has the expectedValue
protected  void assertHelpLinkWithStringInUrlPresent(String linkPart)
          Deprecated. Checks for a presence of the part of the link's URL
protected  void assertIndexedFieldCorrect(String path, Map expectedItemNodes, Map unexpectedItemNodes, String issueKey)
          Deprecated. Check that certain fields have been indexed correctly.
 void assertIssueNavigatorDisplaying(String from, String to, String of)
          Deprecated.  
 void assertLastChangeHistoryIs(String issueKey, String field, String originalValue, String newValue)
          Deprecated. please use Assertions.assertLastChangeHistoryRecords(String, com.atlassian.jira.webtests.ztests.workflow.ExpectedChangeHistoryRecord)
 void assertLastChangeNotMadeToField(String issueKey, String field)
          Deprecated.  
 void assertLinkPresentWithoutSubString(String linkId, String urlSubString)
          Deprecated. Asserts that the link with the given id attribute exists and its href does NOT have the urlSubString
 void assertLinkPresentWithSubString(String linkId, String urlSubString)
          Deprecated. Asserts that the link with the given id attribute exists and its href has the urlSubString
 void assertLinkPresentWithURL(String linkId, String urlSuffix)
          Deprecated. Asserts that the link with the given id attribute exists and its href ends with the given URL.
 void assertLinkWithTextUrlContains(String linkText, String[] strings)
          Deprecated. Asserts that there exists a link on the current page with the given text the url of which has the given suffix.
 void assertLinkWithTextUrlEndsWith(String linkText, String urlSuffix)
          Deprecated. please use LinkAssertions.assertLinkLocationEndsWith(String, String)
 void assertNoChangesForIssue(String issueKey)
          Deprecated.  
 void assertOptionSelected(String elementId, String expectedValue)
          Deprecated. Asserts that the expectedValue has been selected for the form element with Id elementId.
 void assertOptionSelectedById(String elementId, String expectedId)
          Deprecated. Asserts that the expectedId has been selected for the form element with Id elementId.
 void assertOptionsEqualIgnoreOrder(String selectName, String[] expectedOptions)
          Deprecated. A more robust version of WebTestCase.assertOptionsEqual(String,String[]).
 void assertPageDoesNotExist(String assertionMessage, String url)
          Deprecated. This will try and restrive the given URL and assert that it fails to be retrieved.
 void assertRedirect(String path)
          Deprecated.  
protected  void assertRedirectAndFollow(String url, String redirectRegex)
          Deprecated.  
 void assertRedirectPath(String s)
          Deprecated.  
 void assertRegexMatch(String regex, boolean multiline)
          Deprecated. Detects whether or not the passed regular expression matches the page.
protected  void assertResponseCanBeCached()
          Deprecated. Asserts that the Cache-control header in the response *is not* set to any one of "no-cache", "no-store" or "must-revalidate".
protected  void assertResponseCannotBeCached()
          Deprecated. Asserts that the Cache-control header in the response *is* set to any one of "no-cache", "no-store" or "must-revalidate".
protected  void assertSubTaskConversionPanelSteps(String key, int currentStep)
          Deprecated.  
protected  void assertTableCellContainsFixVersionsLinks(com.meterware.httpunit.TableCell fixVersionsCell, int expectedLinkCount)
          Deprecated.  
protected  void assertTableCellContainsNoFixVersionsLinks(com.meterware.httpunit.TableCell fixVersionsCell)
          Deprecated.  
protected  void assertTableCellContainsNoPriorityIcon(com.meterware.httpunit.TableCell tableCell)
          Deprecated.  
protected  void assertTableCellContainsPriorityIcon(com.meterware.httpunit.TableCell tableCell)
          Deprecated.  
protected  void assertTableCellHasImage(com.meterware.httpunit.WebTable table, int row, int col, String stringInImageSource)
          Deprecated.  
protected  void assertTableCellHasNoImage(com.meterware.httpunit.WebTable table, int row, int col)
          Deprecated.  
protected  void assertTableCellHasNotText(String tableId, int row, int col, String text)
          Deprecated.  
 void assertTableCellHasText(String tableId, int row, int column, String text)
          Deprecated. please use TableAssertions.assertTableCellHasText(com.meterware.httpunit.WebTable, int, int, String)
 void assertTableHasMatchingRow(com.meterware.httpunit.WebTable table, Object[] expectedRow)
          Deprecated. please use TableAssertions.assertTableContainsRow(com.meterware.httpunit.WebTable, String[])
 void assertTableHasMatchingRowFrom(com.meterware.httpunit.WebTable table, int minRow, Object[] expectedRow)
          Deprecated. Asserts that the table has atleast one row matching the expectedRow
 void assertTableHasMatchingRowFromTo(com.meterware.httpunit.WebTable table, int minRow, int maxRow, Object[] expectedRow)
          Deprecated. Asserts that the table has at least one row matching the expectedRow
 void assertTableHasNoMatchingRow(com.meterware.httpunit.WebTable table, int minRow, Object[] expectedRow)
          Deprecated. Asserts that the table has no row in the table matching the expectedRow between minRow and the end of the table
 void assertTableHasNoMatchingRow(com.meterware.httpunit.WebTable table, Object[] expectedRow)
          Deprecated. Asserts that the table has no row in the table matching the expectedRow
 void assertTableHasNoMatchingRowFromTo(com.meterware.httpunit.WebTable table, int minRow, int maxRow, Object[] expectedRow)
          Deprecated. Asserts that the table has no row in the table matching the expectedRow between minRow and maxRow
 void assertTableHasOnlyNMatchingRows(com.meterware.httpunit.WebTable table, int n, Object[] expectedRow)
          Deprecated. Asserts that the table has strictly 'n' number of rows in the table matching the expectedRow.
 void assertTableHasSubTable(com.meterware.httpunit.WebTable table, Object[][] expectedSubTable)
          Deprecated.  
 void assertTableRowEquals(com.meterware.httpunit.WebTable table, int row, Object[] expectedRow)
          Deprecated. please use TableAssertions.assertTableRowEquals(com.meterware.httpunit.WebTable, int, Object[])
 void assertTextListNotPresent(Iterable<String> iterable)
          Deprecated. Takes in a list of strings, iterates over them and asserts that each is *NOT* present
 void assertTextListPresent(Iterable<String> iterable)
          Deprecated. Takes in a list of strings, iterates over them and asserts that each is present
protected  void assertTextNotInColumn(String tableId, int column, String text)
          Deprecated.  
 void assertUserIsMemberOfGroups(String username, Collection expectedGroupNames)
          Deprecated. Check that the user with username is a member of the expectedGroupNames exactly.
 void assertViewIssueFields()
          Deprecated.  
 void assignIssue(String issueKey, String comment, String userFullName)
          Deprecated. please use IssueNavigation.assignIssue(String, String, String)
 void assignWorkflowScheme(String workflowscheme_id, String issuetype, String workflow_name)
          Deprecated.  
 void associateFieldLayoutScheme(String project, String issue_type, String scheme_name)
          Deprecated.  
protected  void associateIssueLevelSecuritySchemeToProject(String projectName, String schemeName)
          Deprecated.  
 void associateIssueTypeScreenSchemeToProject(String projectKey, String screenScheme)
          Deprecated.  
 void associatePermSchemeToProject(String project, String permission_name)
          Deprecated. Associate a permission scheme with a project
 void associateSecuritySchemeToProject(String project_name, String scheme_name)
          Deprecated.  
 void associateWorkFlowSchemeToProject(String project, String workflow_scheme)
          Deprecated. Use Project.associateWorkflowScheme(String, String) instead.
 void associateWorkFlowSchemeToProject(String project, String workflow_scheme, Map statusMapping)
          Deprecated.  
 void browseToFullConfigure()
          Deprecated.  
 void bulkChangeCancel()
          Deprecated. Clicks on the 'Cancel' button on any of the bulk change steps
 void bulkChangeChooseIssuesAll()
          Deprecated. selects the checkbox with id all
Used in the Step Choose Issues
 void bulkChangeChooseOperationDelete(boolean mailServerExists)
          Deprecated. Chooses the Delete Operation radio button in the Step Choose Operation
 void bulkChangeChooseOperationEdit()
          Deprecated. Chooses the Edit Operation radio button in the Step Choose Operation
 void bulkChangeConfirm()
          Deprecated. Clicks on the 'Confirm' button on the confirmation steps
 void bulkChangeIncludeAllPages()
          Deprecated. simulates the clicking on bulk change all issues
 void bulkChangeIncludeCurrentPage()
          Deprecated. simulates the clicking on bulk change current page of issues
 void bulkChangeSelectIssue(String key)
          Deprecated.  
 void bulkChangeSelectIssues(Collection keys)
          Deprecated.  
 void bulkEditConfirmEdit(Map fields)
          Deprecated. Checks in step Confirmation of edit operation before confirming, whether or not the selected fields have been made
DOES NOT goto the issues change log and check that they are changed after confirmation...
 void bulkEditOperationDetailsSetAs(Map fields)
          Deprecated. Chooses the bulk action(s) you wish to perform on the selected issue.
if a field is not to be selected place "" in place of it.
Used in Operation Details
 void changeWorkflow(String issueKey, int actionKey)
          Deprecated.  
 void checkCommentVisibility(String usernameAndPassword, String issueKey, Iterable<String> expectedPresentComments, Iterable<String> expectedAbsentComments)
          Deprecated. 
 void checkEventTypeDetails(String eventTypeName, String eventTypeDesc, String status, String template, String notificationScheme, String workflow)
          Deprecated.  
 void checkItemsAreInAscendingOrder(String[] optionValue)
          Deprecated.  
 void checkNotificationForEvent(String eventTypeName, String notificationType, String template)
          Deprecated.  
 void checkOrderingUsingArrows(String[] optionValue, String[] optionId)
          Deprecated.  
 String checkOrderingUsingMoveToPos(String[] optionValue, String[] optionId, String itemType)
          Deprecated.  
 void chooseOperationBulkMove()
          Deprecated. Chooses the Move Operation radio button in the Step Choose Operation
 void chooseOperationExecuteWorfklowTransition()
          Deprecated. Chooses the Execute Worfklow Action radio button in the Step Choose Operation
 void clearComponentLead(String project, String component)
          Deprecated. Clear component lead
 void clickOnAdminPanel(String adminsubject, String adminpage)
          Deprecated. Use Navigation.gotoAdminSection(String) passing the linkId of the admin page you want to go to.
 void clickOnNext()
          Deprecated. please use Navigation.clickOnNext()
 boolean componentExists(String component, String project)
          Deprecated.  
 void configureCustomFieldOption(String fieldId, String fieldOption)
          Deprecated.  
 void configureDefaultCheckBoxCustomFieldValue(String fieldId, String fieldOption)
          Deprecated.  
 void configureDefaultCustomFieldValue(String fieldId, String fieldOption)
          Deprecated.  
 void configureDefaultMultiCustomFieldValue(String fieldId, String fieldOption, String fieldOption2)
          Deprecated.  
 void copyFieldLayout(String fieldLayoutName)
          Deprecated.  
 void copyFieldScreenScheme(String copiedSchemeName, String schemeName, String schemeDescription)
          Deprecated.  
protected  void copyFileToJiraImportDirectory(File file)
          Deprecated.  
 void copyIssueTypeFieldScreenSchemeName(String copiedSchemeId, String schemeName, String schemeDescription)
          Deprecated.  
 void copyScreen(String copiedScreenName, String newScreenName, String screenDescription)
          Deprecated.  
 void copyWorkFlow(String original_workflow_name, String new_workflow_name, String new_workflow_desc)
          Deprecated. Use ViewWorkflows.copyWorkflow(String, String) instead.
 void createClonersLinkType()
          Deprecated. Creates the Cloners link type that JIRA creates between cloned issues.
 String createCustomFields(String fieldType, String fieldScope, String fieldName, String fieldDescription, String issueType, String projectType, String[] fieldOptions)
          Deprecated.  
 void createGroup(String groupName)
          Deprecated. Use UsersAndGroups.addGroup(String) instead.
 String createIssueLinkType(String name, String outwardLinkName, String inwardLinkName)
          Deprecated.  
 Collection<String> createIssuesInBulk(int numberOfIssues, String project, String projectKey, String issueType, String summary, String priority, String[] components, String[] affectsVersions, String[] fixVersions, String assignTo, String environment, String description, String originalEstimate, String securityLevel)
          Deprecated.  
 void createIssueStep1()
          Deprecated.  
 void createIssueStep1(String project, String issueType)
          Deprecated.  
 void createNewFieldScreen(String[] optionId)
          Deprecated.  
 void createPermissionScheme(String permission_name, String permission_desc)
          Deprecated. Create a new permission scheme
 void createProjectCategory(String categoryName, String categoryDescription)
          Deprecated.  
 void createSecurityLevel(String scheme_name, String level_name, String level_description)
          Deprecated.  
 void createSecurityScheme(String scheme_name, String scheme_description)
          Deprecated.  
 void createSubTaskStep1(String issueKey, String task_type)
          Deprecated.  
 void createSubTaskType(String sub_task_name, String sub_task_description)
          Deprecated. Use Subtasks.addSubTaskType(String, String) instead.
 boolean customFieldExists(String fieldName)
          Deprecated.  
 void deactivateIssueLinking()
          Deprecated. Use IssueLinking.disable() instead.
 boolean deactivateSubTasks()
          Deprecated. Use Subtasks.disable() instead.
 void deactivateTimeTracking()
          Deprecated. Use com.atlassian.jira.functest.framework.admin.TimeTracking#disable(com.atlassian.jira.functest.framework.admin.TimeTracking.Mode) instead.
 void delCustomFieldOption(String fieldId, String fieldOption)
          Deprecated.  
 void deleteAllFilter()
          Deprecated.  
 void deleteAllIssuesInAllPages()
          Deprecated.  
 void deleteComponent(String project, String name)
          Deprecated.  
protected  void deleteCurrentIssue()
          Deprecated.  
 void deleteCustomField(String fieldId)
          Deprecated.  
 void deleteEventType(String name)
          Deprecated.  
 void deleteFieldLayoutScheme(String scheme_name)
          Deprecated.  
 void deleteFieldScreenScheme(String schemeName)
          Deprecated.  
 void deleteFilter(String filterName)
          Deprecated. Deletes the filter with the given name if it exists.
 void deleteIssue(String issueKey)
          Deprecated. Use IssueNavigation.deleteIssue(String) instead.
 void deleteIssueOperationFromScreenAssociation(String schemeName, String issueOperation)
          Deprecated.  
 void deleteIssueTypeFieldScreenScheme(String schemeId)
          Deprecated.  
 void deleteLinkedStatus(String statusId)
          Deprecated.  
 void deletePermissionScheme(String permission_name)
          Deprecated. Deletes a permission scheme
 void deleteProject(String project)
          Deprecated. Delete project with the given name
 void deleteProjectCategory(String categoryName)
          Deprecated.  
 void deleteScreen(String screenName)
          Deprecated.  
 void deleteSecurityLevel(String scheme_name, String level_name)
          Deprecated.  
 void deleteSecurityScheme(String scheme_name)
          Deprecated.  
 void deleteStep(String workflow_name, String step_name)
          Deprecated.  
 void deleteSubTaskType(String sub_task_name)
          Deprecated. Use Subtasks.deleteSubTaskType(String) instead.
 void deleteTabFromScreen(String screenName, String tabName)
          Deprecated.  
 void deleteTransition(String workflow_name, String step_name, String transition_name)
          Deprecated.  
 void deleteUser(String username)
          Deprecated.  
 void deleteVersion(Long id)
          Deprecated.  
 void deleteWorkFlow(String workflow_name)
          Deprecated.  
 void deleteWorkFlowScheme(String workflowscheme_name)
          Deprecated.  
 void disableIssueLinks()
          Deprecated. Use IssueLinking.disable() instead
 void disableUnassignedIssues()
          Deprecated.  
 void displayAllIssues()
          Deprecated. use IssueNavigatorNavigation.displayAllIssues()
 void doFieldOperation(String fieldName, String linkName)
          Deprecated.  
 void dumpResponse()
          Deprecated. Simply dumps the web response, not necessarily because and error occurred.
 void dumpResponse(Throwable t)
          Deprecated. Dumps the web response because a Throwable condition exists.
 void dumpScreen(String filename)
          Deprecated.  
static Map easyMapBuild(Object key1, Object value1)
          Deprecated.  
static Map easyMapBuild(Object key1, Object value1, Object key2, Object value2)
          Deprecated.  
static Map easyMapBuild(Object key1, Object value1, Object key2, Object value2, Object key3, Object value3)
          Deprecated.  
 void editIssueType(String issueTypeId, String name, String description, String iconUrl)
          Deprecated. Modifies the issue type with the given id to have the given properties.
 void editIssueWithCustomFields(String issueKey, List cfValues)
          Deprecated.  
 void editIssueWithCustomFields(String issueKey, String customFieldId, String customFieldValue, String customFieldType)
          Deprecated.  
 void editTransitionScreen(String workflow_name, String transition_name, String transitionFieldScreen)
          Deprecated.  
protected  void enableCommentGroupVisibility(Boolean enable)
          Deprecated. Turn on/off Project Roles + Groups visibility for comments and worklogs
 void enableRemoteApi()
          Deprecated.  
 void enableUnassignedIssues()
          Deprecated.  
 void enableWorkflow(String workflowName)
          Deprecated.  
 String extractFilterId(String filterName)
          Deprecated.  
 String extractIssueKey(String projectKey)
          Deprecated.  
 boolean fieldSchemeExists(String fieldSchemeName)
          Deprecated.  
 String findRowWithName(String fieldTableName, int column, String fieldName)
          Deprecated.  
 Administration getAdministration()
          Deprecated.  
protected  Assertions getAssertions()
          Deprecated.  
 Backdoor getBackdoor()
          Deprecated.  
protected  String getBuild()
          Deprecated. 
 String getComponentId(String project, String component)
          Deprecated.  
protected  String getEdition()
          Deprecated.  
 JIRAEnvironmentData getEnvironmentData()
          Deprecated.  
 String getEventTypeIDWithName(String name)
          Deprecated.  
 Object getFormElement(String form, String elementId)
          Deprecated. Gets the FormControl with elementId in the specified form.
 String getFormElementValue(String form, String elementId)
          Deprecated. Get the single value of the field with elementId inside the form 'form'
 String[] getFormElementValues(String form, String elementId)
          Deprecated. Get the values of the field with elementId inside the form 'form'
 Object getFormParameter(String form, String elementName)
          Deprecated.  
 Map getFormParameters(String form)
          Deprecated.  
 String[] getFormParameterValues(String form, String elementName)
          Deprecated.  
 String getIssueIdWithIssueKey(String issueKey)
          Deprecated. 
 String getIssueKeyWithSummary(String summary, String projectKey)
          Deprecated.  
 float getJiraJavaVersion()
          Deprecated. For the new framework version of this method, check out EnvironmentUtils.getJiraJavaVersion()
 Navigation getNavigation()
          Deprecated.  
 HtmlPage getPage()
          Deprecated.  
 String getProjectId(String project)
          Deprecated.  
 String getRedirect()
          Deprecated.  
 String getRegexMatch(String regex)
          Deprecated. Reads the HTML response text and finds the first group match for the given regex
protected  long getSubmittedTaskId()
          Deprecated. This method assums that you have just submitted a long running task and that you need the taskId back.
 List getTableRowAsList(com.meterware.httpunit.WebTable table, int row)
          Deprecated. Get the specified row from the table as a list of trimmed strings.
 String getTagBody(String startTag, String endTag, String html)
          Deprecated.  
 net.sourceforge.jwebunit.WebTester getTester()
          Deprecated.  
 String getTitle(String responseHtml)
          Deprecated.  
 FuncTestWebClientListener getWebClientListener()
          Deprecated.  
 void gotoAdmin()
          Deprecated. Use Navigation.gotoAdmin() or even better Navigation.gotoAdminSection(String) instead. If there is a specific method in Navigation to navigate to the admin page you want to go to, this should be the preferred way of navigating to it. e.g Navigation.gotoDashboard()
 void gotoComponentBrowse(String projectKey, String componentName)
          Deprecated.  
 void gotoConvertIssue(String issueId)
          Deprecated.  
 void gotoConvertIssueStep2(String issueId, String parent, String issueType)
          Deprecated.  
protected  void gotoConvertIssueStep3(String issueId, String parentKey, String issueType, String status)
          Deprecated.  
 void gotoConvertSubTask(String issueId)
          Deprecated.  
 void gotoConvertSubTaskStep2(String issueId, String issueType)
          Deprecated.  
 void gotoCustomFields()
          Deprecated.  
protected  void gotoDashboard()
          Deprecated.  
protected  void gotoDefaultPermissionScheme()
          Deprecated.  
protected  void gotoFieldConfigurationDefault()
          Deprecated.  
 void gotoFieldLayoutConfiguration(String configuration)
          Deprecated.  
 void gotoFieldLayouts()
          Deprecated.  
 void gotoFieldLayoutSchemes()
          Deprecated.  
 void gotoFieldScreen(String screenName)
          Deprecated.  
 void gotoFieldScreens()
          Deprecated.  
 void gotoFieldScreenScheme()
          Deprecated.  
 void gotoFieldScreenScheme(String schemeName)
          Deprecated.  
 void gotoFieldScreenSchemes()
          Deprecated.  
 void gotoFieldScreenTab(String screenName, String tabName)
          Deprecated.  
 void gotoFilter(String filtername)
          Deprecated.  
 void gotoFilterById(long filterId)
          Deprecated. please use IssueNavigatorNavigation.loadFilter(long)
 void gotoGroupToRoleMappingToolMappingSelection(String schemeType, String schemeName)
          Deprecated.  
 void gotoGroupToRoleMappingToolSchemeSelection()
          Deprecated.  
 void gotoIssue(String issueKey)
          Deprecated. Use IssueNavigation.gotoIssue(String) instead.
 void gotoIssueSecuritySchemes()
          Deprecated.  
 void gotoIssueTabPanel(String issueKey, String issueTabName)
          Deprecated. Goes to the specified issue tab panel for the issue with issueKy directly.
 void gotoIssueTypeScreenScheme(String schemeName)
          Deprecated.  
protected  void gotoIssueTypeScreenSchemes()
          Deprecated.  
 void gotoNavigator()
          Deprecated. Goes to the navigator section, or, if already in the section, does nothing.
 void gotoPage(String url)
          Deprecated.  
 void gotoPageNoLog(String url)
          Deprecated.  
 void gotoPermissionSchemes()
          Deprecated.  
 void gotoPluginsScreen()
          Deprecated.  
protected  void gotoPortletConfig()
          Deprecated.  
 void goToProject(String project_name)
          Deprecated. Go to the project summary page for the given project.
 void gotoProjectBrowse(String key)
          Deprecated. 
 void gotoProjectCategories()
          Deprecated.  
 void gotoProjectRolesScreen()
          Deprecated.  
 void gotoProjectTabPanel(String projectKey, String projectTabName)
          Deprecated. Goes to the specified project tab panel for the project with projectKey directly.
 void gotoSchemeTools()
          Deprecated.  
 void gotoVersionBrowse(String projectKey, String versionName)
          Deprecated.  
 void gotoWorkFlow()
          Deprecated.  
 void gotoWorkFlowScheme()
          Deprecated.  
 void grantGlobalPermission(int permissionCode, String groupName)
          Deprecated. Use Administration.addGlobalPermission(int, String) instead.
 void grantGroupAllPermissions(String permission_scheme, String groupName)
          Deprecated.  
 void grantGroupPermission(int permission, String groupName)
          Deprecated. Use PermissionSchemes.defaultScheme() and call PermissionSchemes.PermissionScheme.grantPermissionToGroup(int, String) (int, String)} on it.
 void grantGroupPermission(String permission_scheme, int permission, String groupName)
          Deprecated. Grant permission
 void grantPermissionToReporter(int permission)
          Deprecated.  
 void grantPermissionToUserCustomField(String permissionScheme, String customFieldName, int permission)
          Deprecated.  
protected  void grantPermissionToUserInEnterprise(int permission, String username)
          Deprecated. Grants a Permissions constant to the specified user to the default permission scheme.
 void grantRolePermission(int permission, int role)
          Deprecated.  
 void init()
          Deprecated.  
 boolean isBeforeJdk15()
          Deprecated. For the new framework version of this method, check out EnvironmentUtils.isJavaBeforeJdk15()
 boolean isFormElementDisabled(String form, String elementId)
          Deprecated. Checks if a form element has the disabled flag set.
 boolean isJiraSetup()
          Deprecated.  
 boolean isMailServerExists()
          Deprecated.  
 void isStepChooseIssues()
          Deprecated. Checks if the current step in bulk change is: Choose Issues
 void isStepChooseOperation()
          Deprecated. Checks if the current step in bulk change is: Choose Operation
 void isStepConfirmation()
          Deprecated. Checks if the current step in bulk change is: Confirmation.
 void isStepOperationDetails()
          Deprecated. please use Workflows.assertStepOperationDetails()
protected  void jiraLog(String message, boolean testStarted)
          Deprecated. Logs a message in the atlassian-jira.log on the server - you must be set up and logged in as an admin to do this.
 boolean linkedStatusExists(String linkedStatus)
          Deprecated.  
 void linkIssueWithComment(String currentIssueKey, String link, String destinationIssueKey, String comment, String commentLevel)
          Deprecated.  
 void login(String usernameAndPassword)
          Deprecated. Use Navigation.login(String) ()} instead.
 void login(String username, String password)
          Deprecated. Use Navigation.login(String, String) instead.
 void logout()
          Deprecated. Use Navigation.logout() instead.
protected  void logWork(String issueKey, String timeLogged, String newEstimate)
          Deprecated. Logs work on the issue with the given key.
 void logWorkOnIssue(String issueKey, String timeLogged)
          Deprecated. Logs work on an issue.
 void logWorkOnIssueWithComment(String issueKey, String timeLogged, String comment)
          Deprecated. Logs work on an issue.
 void mapGroupToRoles(String schemeType, String schemeName, Map groupToRoleMapping)
          Deprecated. Goes to the Group to Role Mapping Scheme tool and goes through the wizard with the specified schemeType and schemeName.
 void moveOptionsToPositions(String[] optionValue, String[] optionId, String itemType, Map moveToPosition)
          Deprecated.  
 void navigateToUser(String username)
          Deprecated.  
 boolean permissionSchemeExists(String permissionScheme)
          Deprecated.  
 void placeProjectInCategory(String projectName, String categoryName)
          Deprecated.  
 String prettyParseRow(List expectedRow)
          Deprecated.  
 String prettyParseRow(Object[] expectedRow)
          Deprecated.  
 void progressAndResolve(String issueKey, int actionKey, String comment)
          Deprecated.  
 void progressWorkflow(String issueKey, int actionKey, String comment)
          Deprecated. action keys: Resolve = 1 Reopen a resolved issue = 702 Reopen a closed issue = 901 close an issue = 701
 boolean projectCategoryExists(String categoryName)
          Deprecated.  
 boolean projectExists(String project)
          Deprecated.  
 void reconfigureTimetracking(String format)
          Deprecated. change the time tracking format (timetracking must be on before this call)
 void removeAllCustomFields()
          Deprecated.  
 void removeAllFieldScreenAssociation(String schemeName)
          Deprecated.  
 void removeAllFieldScreens()
          Deprecated.  
 void removeAllFieldScreenSchemes()
          Deprecated.  
 void removeAllIssueTypeScreenSchemes()
          Deprecated.  
 void removeAllScreenAssociationsFromDefault()
          Deprecated.  
 void removeAllWatchers(String issueKey)
          Deprecated.  
 void removeAssociationOfSecuritySchemeFromProject(String project_name)
          Deprecated.  
 void removeAssociationWithFieldLayoutScheme(String project, String issue_type, String scheme_name)
          Deprecated.  
 void removeFieldFromFieldScreen(String screenName, String[] fieldNames)
          Deprecated.  
 void removeFieldFromFieldScreenTab(String screenName, String tabName, String[] fieldNames)
          Deprecated.  
 void removeGlobalPermission(int permissionCode, String groupName)
          Deprecated. User Administration.removeGlobalPermission(int, String) instead.
 void removeGroup(String groupName)
          Deprecated. Use UsersAndGroups.deleteGroup(String) instead.
 void removeGroupFromProjectRole(String groupName, String projectName, String roleName)
          Deprecated.  
 void removeGroupFromSecurityLevel(String scheme_name, String level_name, String groupName)
          Deprecated.  
 void removeGroupPermission(int permission, String groupName)
          Deprecated. Use PermissionSchemes.defaultScheme() and call PermissionSchemes.PermissionScheme.removePermission(int, String) on it.
 void removeGroupPermission(String permission_scheme, int permission, String groupName)
          Deprecated. Remove permssion for a particular scheme
 void removePermissionFromUserCustomField(String permissionScheme, String customFieldId, int permission)
          Deprecated.  
 void removeRoleFromSecurityLevel(String scheme_name, String level_name, String roleId)
          Deprecated.  
 void removeRolePermission(int permission, int role)
          Deprecated.  
 void removeUserFromGroup(String userName, String groupName)
          Deprecated. Use UsersAndGroups.removeUserFromGroup(String, String) instead.
 void removeUserFromProjectRole(String userName, String projectName, String roleName)
          Deprecated.  
 void resetFields()
          Deprecated.  
 void resetInAscendingOrdering(String[] optionId, String itemType)
          Deprecated.  
 void restoreBlankInstance()
          Deprecated. Since 5.0. Use Backdoor.restoreBlankInstance() instead.
 void restoreColumnDefaults()
          Deprecated.  
 void restoreData(File file)
          Deprecated.  
 void restoreData(File file, boolean quickImport)
          Deprecated.  
 void restoreData(String fileName)
          Deprecated. Use Administration.restoreData(String) instead.
 void restoreDataWithFullRefresh(String fileName)
          Deprecated. This restore uses the full Pico refresh the same as in Production.
 void restoreDataWithLicense(String fileName, String licenseKey)
          Deprecated.  
 void restoreDefaultDashboard()
          Deprecated.  
 void restoreI18nData(File file)
          Deprecated. Restores the data from the file name without making any english assertions.
 void restoreI18nData(String fileName)
          Deprecated. Restores the data from the file name without making any english assertions.
 void runBare()
          Deprecated. The outer most edge of a JUnit Test.
 void runQuickSearch(String searchInput)
          Deprecated. Executes quicksearch with no search string to return all issues
protected  void runTest()
          Deprecated.  
 int saveFilter(String filterName, String filterDesc)
          Deprecated.  
 int saveFilterAs(String filterName, String copyName, String copyDesc, String saveColumnOrder)
          Deprecated.  
 boolean securtiyLevelExists(String securityScheme, String securityLevel)
          Deprecated.  
 boolean securtiySchemeExists(String securityScheme)
          Deprecated.  
 void selectCheckbox(String cbox)
          Deprecated. checks a checkbox with cbox id, and confirms that is has been checked
 void setBaseUrl()
          Deprecated.  
 void setBaseUrl(String baseUrl)
          Deprecated. please use GeneralConfiguration.setBaseUrl(String)
 void setBulkEditFieldTo(String field, String listValue)
          Deprecated. Selects the 'listValue' in the 'field' list and checks that the corresponding 'field' checkbox is selected
 void setComponentAssigneeOptions(String project, String component, String option)
          Deprecated. Set Component Assignee Options
 void setComponentLead(String project, String userName, String fullName, String component)
          Deprecated. Sets the component lead for a component in a project.
 void setComponentName(String project, String oldComponentName, String newComponentName)
          Deprecated.  
 void setDueDateToRequried()
          Deprecated.  
 void setEnvironmentData(JIRAEnvironmentData environmentData)
          Deprecated.  
protected  void setEstimate(String time)
          Deprecated. Sets the estimate on the current issue.
 void setFieldConfigurationFieldToRenderer(String configuration, String fieldId, String renderer)
          Deprecated.  
 void setFieldConfigurationFieldToRenderer(String configuration, String fieldId, String renderer, boolean assertWarningNotPresent)
          Deprecated.  
 void setHiddenFields(String fieldName)
          Deprecated.  
 void setHiddenFieldsOnEnterprise(String fieldLayoutName, String fieldName)
          Deprecated.  
 void setOptionalFieldsOnEnterprise(String fieldLayoutName, String fieldName)
          Deprecated.  
 void setProjectLead(String project, String username)
          Deprecated. Set Project Lead
 void setRequiredField(String fieldName)
          Deprecated.  
 void setRequiredFields()
          Deprecated.  
 void setRequiredFieldsOnEnterprise(String fieldLayoutName, String fieldName)
          Deprecated.  
 void setSecurityLevelToRequried()
          Deprecated.  
 void setShownFields(String fieldName)
          Deprecated.  
 void setShownFieldsOnEnterprise(String fieldLayoutName, String fieldName)
          Deprecated.  
 void setUnassignedIssuesOption(boolean enable)
          Deprecated. Please use GeneralConfigurationImpl.setAllowUnassignedIssues(boolean) instead.
 void setUp()
          Deprecated.  
protected  void setUpHttpUnitOptions()
          Deprecated. Override this to set up any HttpUnitOptions that must be set before the WebTester is used
 void sortIssues(String field, String direction)
          Deprecated.  
 void sortIssues(String page, String field, String direction)
          Deprecated.  
 void split()
          Deprecated.  
 void start()
          Deprecated.  
 void startDashboardConfiguration()
          Deprecated. use new FuncTestCase way.
 void startWatchingAnIssue(String issueKey)
          Deprecated.  
 void startWatchingAnIssue(String issueKey, String[] userNames)
          Deprecated.  
 void stop()
          Deprecated.  
 void stopWatchingAnIssue(String issueKey)
          Deprecated.  
 void submitAtPage(String url, String button, String logOnFail)
          Deprecated. Goes to the given URL, submits the given button or logs the given message if the given button doesn't exist.
 boolean subTaskTypeExists(String subTaskType)
          Deprecated.  
protected  void switchLicense(String licenseKey, String licenseDescription)
          Deprecated.  
protected  void switchToPersonalLicense()
          Deprecated.  
protected  boolean tableCellDoesNotHaveText(com.meterware.httpunit.WebTable table, int row, int col, String text)
          Deprecated.  
protected  boolean tableCellHasLinkThatContains(com.meterware.httpunit.WebTable table, int row, int col, String link)
          Deprecated. Checks if a particular table cell contains the link URL specified.
protected  boolean tableCellHasNoLinks(com.meterware.httpunit.WebTable table, int row, int col)
          Deprecated.  
protected  boolean tableCellHasStrictText(com.meterware.httpunit.WebTable table, int row, int col, String text)
          Deprecated. Same as tableCellHasText(com.meterware.httpunit.WebTable,int,int,String) but if the text is an empty string ("") than make sure the table cell trimmed is equal
protected  boolean tableCellHasText(com.meterware.httpunit.WebTable table, int row, int col, String text)
          Deprecated. Method that checks if a particular table cell contains the text specified.
 boolean tableHasSubTable(com.meterware.httpunit.WebTable table, Object[][] expectedSubTable)
          Deprecated. Checks whether the given table has a subtable matching the expectedSubTable.
 int tableIndexOf(com.meterware.httpunit.WebTable table, int minRow, int maxRow, List expectedRow)
          Deprecated. Returns the row number (starting from 0) of the first row matching expectedRow on the table.
 int tableIndexOf(com.meterware.httpunit.WebTable table, int minRow, List expectedRow)
          Deprecated.  
 int tableIndexOf(com.meterware.httpunit.WebTable table, int minRow, Object[] expectedRow)
          Deprecated.  
 int tableIndexOf(com.meterware.httpunit.WebTable table, List expectedRow)
          Deprecated.  
 int tableIndexOf(com.meterware.httpunit.WebTable table, Object[] expectedRow)
          Deprecated.  
 void tearDown()
          Deprecated.  
 void toggleExternalUserManagement(boolean enable)
          Deprecated.  
 void unassignWorkflowScheme(String workflowscheme_name, String issuetype, String workflow_name)
          Deprecated.  
 void unvoteForIssue(String issueKey)
          Deprecated.  
 boolean userExists(String userName)
          Deprecated.  
 boolean usingHsqlDb()
          Deprecated. Check whether we are using HSQLDB as the DB -- assumes we are already logged in as the administrator
protected  void validateProgressBarUI(String desiredTaskState)
          Deprecated. The button name controls what to check for in terms of the progress bar UI.
 boolean versionExists(String version, String project)
          Deprecated.  
 void viewChangeHistoryOfIssue(String issueKey)
          Deprecated.  
 void voteForIssue(String issueKey)
          Deprecated.  
protected  void waitForSuccessfulWorkflowActivation(String targetWorkflowName)
          Deprecated. Waits for the worflow activation "asynch" screens to finish and then puts it on the ListWorkflow page
protected  void waitForSuccessfulWorkflowSchemeMigration(String projectName, String targetWorkflowName)
          Deprecated. Waits until a workflow scheme migration completes now that it runs asynchronously.
protected  void waitForTaskAcknowledgement(long taskId)
          Deprecated. This method assumes that you have just submitted a long running task, and you know the task id of it.
 boolean workflowExists(String workflow)
          Deprecated.  
 boolean workflowSchemeExists(String workflowScheme)
          Deprecated.  
protected  XPathLocator xpath(String xpathExpression)
          Deprecated. A shortcut method to allow quick creation of XPathLocators
 
Methods inherited from class com.atlassian.jira.webtests.AbstractAtlassianWebTestCase
assertCollapsedTextSequence, assertLessThan, assertLinkWithNameExists, assertLinkWithNameNotPresent, assertLinkWithTextExists, assertLinkWithTextNotPresent, assertTextPresent, assertTextPresentAfterText, assertTextPresentBeforeText, assertTextPresentOnlyOnce, assertTextSequence, assertTextSequence, clickAnyButtonWithValue, clickButtonWithValue, findTextSequence, flattenArray, getCollapsedResponseText, getFirstWebTableWithClass, getResponseText, getWebTablesWithClass, getWebTableWithID, hasLinkWithName, hasLinkWithText
 
Methods inherited from class com.atlassian.jira.webtests.WebTestCaseWrapper
assertElementNotPresent, assertElementPresent, assertOptionValueNotPresent, assertOptionValuePresent, assertTextInTable, assertTextNotPresent, assertTextPresent, clickCancelButton, log, log, log, logSection, raiseRuntimeException, selectMultiOption, selectMultiOptionByValue, selectOption, submit
 
Methods inherited from class net.sourceforge.jwebunit.WebTestCase
assertButtonNotPresent, assertButtonPresent, assertCheckboxNotSelected, assertCheckboxSelected, assertCookiePresent, assertCookieValueEquals, assertFormElementEmpty, assertFormElementEquals, assertFormElementNotPresent, assertFormElementNotPresentWithLabel, assertFormElementPresent, assertFormElementPresentWithLabel, assertFormNotPresent, assertFormNotPresent, assertFormPresent, assertFormPresent, assertFramePresent, assertKeyInTable, assertKeyNotInTable, assertKeyNotPresent, assertKeyPresent, assertKeysInTable, assertLinkNotPresent, assertLinkNotPresentWithImage, assertLinkNotPresentWithText, assertLinkNotPresentWithText, assertLinkPresent, assertLinkPresentWithImage, assertLinkPresentWithText, assertLinkPresentWithText, assertOptionEquals, assertOptionsEqual, assertOptionsNotEqual, assertOptionValuesEqual, assertOptionValuesNotEqual, assertRadioOptionNotPresent, assertRadioOptionNotSelected, assertRadioOptionPresent, assertRadioOptionSelected, assertSubmitButtonNotPresent, assertSubmitButtonPresent, assertSubmitButtonValue, assertTableEquals, assertTableEquals, assertTableNotPresent, assertTablePresent, assertTableRowsEqual, assertTableRowsEqual, assertTextInElement, assertTextInTable, assertTextNotInElement, assertTextNotInTable, assertTextNotInTable, assertTitleEquals, assertTitleEqualsKey, assertWindowPresent, beginAt, checkCheckbox, checkCheckbox, clickButton, clickLink, clickLinkWithImage, clickLinkWithText, clickLinkWithText, clickLinkWithTextAfterText, dumpCookies, dumpCookies, dumpResponse, dumpTable, dumpTable, getDialog, getMessage, getTestContext, gotoFrame, gotoRootWindow, gotoWindow, reset, setFormElement, setFormElementWithLabel, setWorkingForm, submit, uncheckCheckbox, uncheckCheckbox
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, setName, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

environmentData

protected JIRAEnvironmentData environmentData
Deprecated. 
Use this field to access the JIRAEnvironmentData in play


navigation

protected Navigation navigation
Deprecated. 
Use this field to access the Navigation helper in play


form

protected Form form
Deprecated. 
Used to set form values in tests.


page

protected HtmlPage page
Deprecated. 
Used to find out about the current HTML page that the test is on.


parse

protected Parser parse
Deprecated. 
Use this field to access the Parser helper in play


administration

protected Administration administration
Deprecated. 
Use this field to access the Administration helper in play


backdoor

protected Backdoor backdoor
Deprecated. 
Use this field to access the Administration helper in play


assertions

protected Assertions assertions
Deprecated. 
Use this field to access the Assertions helper in play


text

protected TextAssertions text
Deprecated. 
Use this field to access the TextAssertions helper in play


log

protected FuncTestLogger log
Deprecated. 
Use this field to access the FuncTestLogger in play


locator

protected LocatorFactory locator
Deprecated. 
Use this field to access the LocatorFactory in play


FIELD_SCOPE_GLOBAL

public static final String FIELD_SCOPE_GLOBAL
Deprecated. 
See Also:
Constant Field Values

PAGE_ISSUE_TYPE_SCREEN_SCHEMES

public static final String PAGE_ISSUE_TYPE_SCREEN_SCHEMES
Deprecated. 
See Also:
Constant Field Values

PAGE_ENTERPRISE_FIELD_CONFIGURATIONS

public static final String PAGE_ENTERPRISE_FIELD_CONFIGURATIONS
Deprecated. 
See Also:
Constant Field Values

PAGE_USER_BROWSER

public static final String PAGE_USER_BROWSER
Deprecated. 
See Also:
Constant Field Values

PAGE_NOT_STANDARD_VIEW_FIELD_SCREEN_SCHEMES

public static final String PAGE_NOT_STANDARD_VIEW_FIELD_SCREEN_SCHEMES
Deprecated. 
See Also:
Constant Field Values

JDK_1_5_VERSION

public static final float JDK_1_5_VERSION
Deprecated. 
See Also:
Constant Field Values

BULK_TRANSITION_ELEMENT_NAME

public static final String BULK_TRANSITION_ELEMENT_NAME
Deprecated. 
See Also:
Constant Field Values
Constructor Detail

JIRAWebTest

public JIRAWebTest(String name)
Deprecated. 
Method Detail

getTester

public net.sourceforge.jwebunit.WebTester getTester()
Deprecated. 
Overrides:
getTester in class net.sourceforge.jwebunit.WebTestCase

getPage

public HtmlPage getPage()
Deprecated. 

getEnvironmentData

public JIRAEnvironmentData getEnvironmentData()
Deprecated. 

setEnvironmentData

public void setEnvironmentData(JIRAEnvironmentData environmentData)
Deprecated. 
Specified by:
setEnvironmentData in interface EnvironmentAware

getAdministration

public Administration getAdministration()
Deprecated. 

getBackdoor

public Backdoor getBackdoor()
Deprecated. 

getAssertions

protected Assertions getAssertions()
Deprecated. 

getNavigation

public Navigation getNavigation()
Deprecated. 

getWebClientListener

public FuncTestWebClientListener getWebClientListener()
Deprecated. 

getRedirect

public String getRedirect()
Deprecated. 

assertRedirect

public void assertRedirect(String path)
Deprecated. 

assertRedirectPath

public void assertRedirectPath(String s)
Deprecated. 

jiraLog

protected void jiraLog(String message,
                       boolean testStarted)
Deprecated. 
Logs a message in the atlassian-jira.log on the server - you must be set up and logged in as an admin to do this. It captures the URL before logging the message and returns back to this URL after logging the message, because some func tests expect to be at a certain position when the test starts and this logging happens after setUp().

Parameters:
message - the message to log.

dumpScreen

public void dumpScreen(String filename)
Deprecated. 

login

@Deprecated
public void login(String usernameAndPassword)
Deprecated. Use Navigation.login(String) ()} instead.

Login as the user with the given username and identical password.

Parameters:
usernameAndPassword - the username and password duh.

login

@Deprecated
public void login(String username,
                             String password)
Deprecated. Use Navigation.login(String, String) instead.


logout

@Deprecated
public void logout()
Deprecated. Use Navigation.logout() instead.


getFormElement

public Object getFormElement(String form,
                             String elementId)
Deprecated. 
Gets the FormControl with elementId in the specified form.

Parameters:
form - name of the form to look for the element
elementId - the id of the element to get
Returns:
FormControl of the element

getFormParameters

public Map getFormParameters(String form)
Deprecated. 

getFormParameter

public Object getFormParameter(String form,
                               String elementName)
Deprecated. 

getFormParameterValues

public String[] getFormParameterValues(String form,
                                       String elementName)
Deprecated. 

getFormElementValue

public String getFormElementValue(String form,
                                  String elementId)
Deprecated. 
Get the single value of the field with elementId inside the form 'form'

Parameters:
form - form the field resides in
elementId - id of the field
Returns:
the value of the field

isFormElementDisabled

public boolean isFormElementDisabled(String form,
                                     String elementId)
Deprecated. 
Checks if a form element has the disabled flag set.

Parameters:
form - form the field resides in
elementId - id of the field
Returns:
the value of the field

getFormElementValues

public String[] getFormElementValues(String form,
                                     String elementId)
Deprecated. 
Get the values of the field with elementId inside the form 'form'

Parameters:
form - form the field resides in
elementId - id of the field
Returns:
the values of the field

assertOptionSelected

public void assertOptionSelected(String elementId,
                                 String expectedValue)
Deprecated. 
Asserts that the expectedValue has been selected for the form element with Id elementId. use assertOptionSelectedById(String,String) to check if an id has been selected

Parameters:
elementId - id of the option (select/radio) field
expectedValue - the expected value (the display name) to be selected

assertOptionsEqualIgnoreOrder

public void assertOptionsEqualIgnoreOrder(String selectName,
                                          String[] expectedOptions)
Deprecated. 
A more robust version of WebTestCase.assertOptionsEqual(String,String[]). This version is different in that, it does not care about the ordering (So its workable with different JDKs or when you dont know/care about the order).


assertOptionSelectedById

public void assertOptionSelectedById(String elementId,
                                     String expectedId)
Deprecated. 
Asserts that the expectedId has been selected for the form element with Id elementId. use assertOptionSelected(String,String) to check if a specific value has been selected

Parameters:
elementId - id of the option (select/radio) field
expectedId - the expected id to be selected

assertFormElementHasValue

public void assertFormElementHasValue(String fieldId,
                                      String expectedValue)
Deprecated. 
Assert form element with fieldId has expectedValue

Parameters:
fieldId - id of the option (select/radio) field
expectedValue - the expected value of the form

assertFormElementHasValue

public void assertFormElementHasValue(String formNameOrId,
                                      String fieldId,
                                      String expectedValue)
Deprecated. 
Assert form element with fieldId has expectedValue

Parameters:
formNameOrId - Name or Id of the form
fieldId - id of the option (select/radio) field
expectedValue - the expected value of the form

assertFormElementWithNameHasValue

public void assertFormElementWithNameHasValue(String fieldName,
                                              String expectedValue)
Deprecated. 
Assert form element with fieldName has expectedValue

Parameters:
fieldName - name of the field
expectedValue - the expected value of the field

assertFormElementWithNameHasValue

public void assertFormElementWithNameHasValue(String formNameOrId,
                                              String fieldName,
                                              String expectedValue)
Deprecated. 
Assert form element with fieldName has expectedValue

Parameters:
formNameOrId - Name or Id of the form
fieldName - name of the field
expectedValue - the expected value of the field

assertFormTextAreaHasValue

public void assertFormTextAreaHasValue(String fieldId,
                                       String expectedValue)
Deprecated. 
Assert the form textarea has the expectedValue

Parameters:
fieldId - id of the textarea to check
expectedValue - the expected value of the textarea

assertFormTextAreaHasValue

public void assertFormTextAreaHasValue(String formNameOrId,
                                       String fieldId,
                                       String expectedValue)
Deprecated. 
Assert the form textarea has the expectedValue

Parameters:
formNameOrId - Name or Id of the form
fieldId - id of the textarea to check
expectedValue - the expected value of the textarea

clickOnAdminPanel

@Deprecated
public void clickOnAdminPanel(String adminsubject,
                                         String adminpage)
Deprecated. Use Navigation.gotoAdminSection(String) passing the linkId of the admin page you want to go to.

Note: this uses two http round-trips and can make tests slow.


addProject

@Deprecated
public long addProject(String name,
                                  String key,
                                  String lead)
Deprecated. Use Project.addProject(String, String, String) instead.

Adds a project, or if a project with that name exists, does almost nothing. Choose a project name that will not clash with operational links on the page such as "View Projects" or "Add".

Parameters:
name - the name of the project.
key - the project key.
lead - the username of the project lead.
Returns:
the project id.

deleteProject

public void deleteProject(String project)
Deprecated. 
Delete project with the given name

Parameters:
project - the project name.

addComponent

public String addComponent(String projectName,
                           String name)
Deprecated. 
Adds a component with the given name (and no lead) to the projectName with the given name.

Parameters:
projectName - the name of the project.
name - the name of the component.
Returns:
the component id.

addComponent

public String addComponent(String projectName,
                           String name,
                           String componentLead)
Deprecated. 
Adds a component with the given name and component lead to the projectName with the given name.

Parameters:
projectName - the name of the project.
name - the name of the component.
componentLead - the username of the lead for the component, may be null for none.
Returns:
the component id.

deleteComponent

public void deleteComponent(String project,
                            String name)
Deprecated. 

addVersion

public String addVersion(String project,
                         String name,
                         String description)
Deprecated. 

deleteVersion

public void deleteVersion(Long id)
Deprecated. 

addIssueOnly

public void addIssueOnly(String project,
                         String projectKey,
                         String issueType,
                         String summary,
                         String priority,
                         String[] components,
                         String[] affectsVersions,
                         String[] fixVersions,
                         String assignTo,
                         String environment,
                         String description,
                         String originalEstimate,
                         String securityLevel,
                         String dueDate)
Deprecated. 
add issue without getting its issue key


addIssue

public String addIssue(String project,
                       String projectKey,
                       String issueType,
                       String summary)
Deprecated. please use IssueNavigation.createIssue(String, String, String)

Adds an issue to the given project returning its key.


addIssue

public String addIssue(String project,
                       String projectKey,
                       String issueType,
                       String summary,
                       String priority,
                       String[] components,
                       String[] affectsVersions,
                       String[] fixVersions,
                       String assignTo,
                       String environment,
                       String description,
                       String originalEstimate,
                       String securityLevel,
                       String dueDate)
Deprecated. 
Adds an issue to the given project returning its key.


extractIssueKey

public String extractIssueKey(String projectKey)
                       throws IOException
Deprecated. 
Throws:
IOException

getIssueKeyWithSummary

public String getIssueKeyWithSummary(String summary,
                                     String projectKey)
Deprecated. 

getIssueIdWithIssueKey

@Deprecated
public String getIssueIdWithIssueKey(String issueKey)
Deprecated. 

Use IssueNavigation.getId(String) instead.

Parameters:
issueKey - The keys of the issue in play.
Returns:
The id of the issue.

deleteIssue

@Deprecated
public void deleteIssue(String issueKey)
Deprecated. Use IssueNavigation.deleteIssue(String) instead.


deleteCurrentIssue

protected final void deleteCurrentIssue()
Deprecated. 

progressWorkflow

public void progressWorkflow(String issueKey,
                             int actionKey,
                             String comment)
Deprecated. 
action keys: Resolve = 1 Reopen a resolved issue = 702 Reopen a closed issue = 901 close an issue = 701


progressAndResolve

public void progressAndResolve(String issueKey,
                               int actionKey,
                               String comment)
Deprecated. 

changeWorkflow

public void changeWorkflow(String issueKey,
                           int actionKey)
Deprecated. 

assignIssue

public void assignIssue(String issueKey,
                        String comment,
                        String userFullName)
Deprecated. please use IssueNavigation.assignIssue(String, String, String)

Assigns the given issue to the user with the given full name.

Parameters:
comment - the comment to leave on the assignment action - may be null for no comment.

addUser

@Deprecated
public void addUser(String username)
Deprecated. Use UsersAndGroups.addUser(String) instead.

Creates a user with the given username and the same password, fullname and an email address username@example.com

Parameters:
username - the username.

addUser

@Deprecated
public void addUser(String username,
                               String password,
                               String fullname,
                               String emailAddress)
Deprecated. Use UsersAndGroups.addUser(String, String, String, String) instead.


navigateToUser

public void navigateToUser(String username)
Deprecated. 

deleteUser

public void deleteUser(String username)
Deprecated. 

runQuickSearch

public void runQuickSearch(String searchInput)
Deprecated. 
Executes quicksearch with no search string to return all issues


displayAllIssues

public void displayAllIssues()
Deprecated. use IssueNavigatorNavigation.displayAllIssues()

Executes quicksearch with no search string to return all issues


assertIssueNavigatorDisplaying

public void assertIssueNavigatorDisplaying(String from,
                                           String to,
                                           String of)
Deprecated. 

gotoIssue

@Deprecated
public void gotoIssue(String issueKey)
Deprecated. Use IssueNavigation.gotoIssue(String) instead.

Goes to the view issue page

Parameters:
issueKey - the issue key

goToProject

public void goToProject(String project_name)
Deprecated. 
Go to the project summary page for the given project.

Parameters:
project_name - the name of the project.

gotoAdmin

@Deprecated
public void gotoAdmin()
Deprecated. Use Navigation.gotoAdmin() or even better Navigation.gotoAdminSection(String) instead. If there is a specific method in Navigation to navigate to the admin page you want to go to, this should be the preferred way of navigating to it. e.g Navigation.gotoDashboard()

Goes to the admin section, or, if already in the admin section, does nothing.


gotoNavigator

public void gotoNavigator()
Deprecated. 
Goes to the navigator section, or, if already in the section, does nothing.


addUserToGroup

@Deprecated
public void addUserToGroup(String userName,
                                      String groupName)
Deprecated. Use UsersAndGroups.addUserToGroup(String, String) instead.

Parameters:
userName -
groupName -

addUserToProjectRole

public void addUserToProjectRole(String userName,
                                 String projectName,
                                 String roleName)
Deprecated. 

addGroupToProjectRole

public void addGroupToProjectRole(String groupName,
                                  String projectName,
                                  String roleName)
Deprecated. 

removeUserFromProjectRole

public void removeUserFromProjectRole(String userName,
                                      String projectName,
                                      String roleName)
Deprecated. 

removeGroupFromProjectRole

public void removeGroupFromProjectRole(String groupName,
                                       String projectName,
                                       String roleName)
Deprecated. 

assertUserIsMemberOfGroups

public void assertUserIsMemberOfGroups(String username,
                                       Collection expectedGroupNames)
Deprecated. 
Check that the user with username is a member of the expectedGroupNames exactly.

Parameters:
username - username of the user to check group membership
expectedGroupNames - all the group names the user is expected to be a member of

gotoDashboard

protected void gotoDashboard()
Deprecated. 

removeUserFromGroup

@Deprecated
public void removeUserFromGroup(String userName,
                                           String groupName)
Deprecated. Use UsersAndGroups.removeUserFromGroup(String, String) instead.

Parameters:
userName -
groupName -

createGroup

@Deprecated
public void createGroup(String groupName)
Deprecated. Use UsersAndGroups.addGroup(String) instead.

Parameters:
groupName -

removeGroup

@Deprecated
public void removeGroup(String groupName)
Deprecated. Use UsersAndGroups.deleteGroup(String) instead.

Parameters:
groupName -

addColumnToIssueNavigator

public void addColumnToIssueNavigator(String[] fieldNames)
Deprecated. 

restoreColumnDefaults

public void restoreColumnDefaults()
Deprecated. 

createIssueStep1

public void createIssueStep1()
Deprecated. 

createIssueStep1

public void createIssueStep1(String project,
                             String issueType)
Deprecated. 

gotoFieldLayoutSchemes

public void gotoFieldLayoutSchemes()
Deprecated. 

addFieldLayoutScheme

public void addFieldLayoutScheme(String scheme_name,
                                 String scheme_desc)
Deprecated. 

deleteFieldLayoutScheme

public void deleteFieldLayoutScheme(String scheme_name)
Deprecated. 

copyFieldLayout

public void copyFieldLayout(String fieldLayoutName)
Deprecated. 

addFieldLayoutSchemeEntry

public void addFieldLayoutSchemeEntry(String issueTypeName,
                                      String fieldLayoutName,
                                      String schemeName)
Deprecated. 

associateFieldLayoutScheme

public void associateFieldLayoutScheme(String project,
                                       String issue_type,
                                       String scheme_name)
Deprecated. 

removeAssociationWithFieldLayoutScheme

public void removeAssociationWithFieldLayoutScheme(String project,
                                                   String issue_type,
                                                   String scheme_name)
Deprecated. 

setHiddenFieldsOnEnterprise

public void setHiddenFieldsOnEnterprise(String fieldLayoutName,
                                        String fieldName)
Deprecated. 

setShownFieldsOnEnterprise

public void setShownFieldsOnEnterprise(String fieldLayoutName,
                                       String fieldName)
Deprecated. 

setRequiredFieldsOnEnterprise

public void setRequiredFieldsOnEnterprise(String fieldLayoutName,
                                          String fieldName)
Deprecated. 

setOptionalFieldsOnEnterprise

public void setOptionalFieldsOnEnterprise(String fieldLayoutName,
                                          String fieldName)
Deprecated. 

setRequiredField

public void setRequiredField(String fieldName)
Deprecated. 

setRequiredFields

public void setRequiredFields()
Deprecated. 

setHiddenFields

public void setHiddenFields(String fieldName)
Deprecated. 

setShownFields

public void setShownFields(String fieldName)
Deprecated. 

doFieldOperation

public void doFieldOperation(String fieldName,
                             String linkName)
Deprecated. 

resetFields

public void resetFields()
Deprecated. 

setDueDateToRequried

public void setDueDateToRequried()
Deprecated. 

setSecurityLevelToRequried

public void setSecurityLevelToRequried()
Deprecated. 

grantGlobalPermission

@Deprecated
public void grantGlobalPermission(int permissionCode,
                                             String groupName)
Deprecated. Use Administration.addGlobalPermission(int, String) instead.

Grant Global Permission for specified group


removeGlobalPermission

@Deprecated
public void removeGlobalPermission(int permissionCode,
                                              String groupName)
Deprecated. User Administration.removeGlobalPermission(int, String) instead.

Remove Global Permission for specified group


createPermissionScheme

public void createPermissionScheme(String permission_name,
                                   String permission_desc)
Deprecated. 
Create a new permission scheme


deletePermissionScheme

public void deletePermissionScheme(String permission_name)
Deprecated. 
Deletes a permission scheme


associatePermSchemeToProject

public void associatePermSchemeToProject(String project,
                                         String permission_name)
Deprecated. 
Associate a permission scheme with a project


removeGroupPermission

public void removeGroupPermission(String permission_scheme,
                                  int permission,
                                  String groupName)
Deprecated. 
Remove permssion for a particular scheme


grantGroupPermission

public void grantGroupPermission(String permission_scheme,
                                 int permission,
                                 String groupName)
Deprecated. 
Grant permission


grantGroupAllPermissions

public void grantGroupAllPermissions(String permission_scheme,
                                     String groupName)
Deprecated. 

removeGroupPermission

@Deprecated
public void removeGroupPermission(int permission,
                                             String groupName)
Deprecated. Use PermissionSchemes.defaultScheme() and call PermissionSchemes.PermissionScheme.removePermission(int, String) on it.

Remove permission


removeRolePermission

public void removeRolePermission(int permission,
                                 int role)
Deprecated. 

grantGroupPermission

@Deprecated
public void grantGroupPermission(int permission,
                                            String groupName)
Deprecated. Use PermissionSchemes.defaultScheme() and call PermissionSchemes.PermissionScheme.grantPermissionToGroup(int, String) (int, String)} on it.

Grant permission


grantRolePermission

public void grantRolePermission(int permission,
                                int role)
Deprecated. 

gotoPermissionSchemes

public void gotoPermissionSchemes()
Deprecated. 

grantPermissionToUserCustomField

public void grantPermissionToUserCustomField(String permissionScheme,
                                             String customFieldName,
                                             int permission)
Deprecated. 

grantPermissionToReporter

public void grantPermissionToReporter(int permission)
Deprecated. 

removePermissionFromUserCustomField

public void removePermissionFromUserCustomField(String permissionScheme,
                                                String customFieldId,
                                                int permission)
Deprecated. 

gotoSchemeTools

public void gotoSchemeTools()
Deprecated. 

gotoGroupToRoleMappingToolSchemeSelection

public void gotoGroupToRoleMappingToolSchemeSelection()
Deprecated. 

gotoGroupToRoleMappingToolMappingSelection

public void gotoGroupToRoleMappingToolMappingSelection(String schemeType,
                                                       String schemeName)
Deprecated. 

mapGroupToRoles

public void mapGroupToRoles(String schemeType,
                            String schemeName,
                            Map groupToRoleMapping)
Deprecated. 
Goes to the Group to Role Mapping Scheme tool and goes through the wizard with the specified schemeType and schemeName. In the mapping step, it will get the group to role mapping from the specified map groupToRoleMapping.

Parameters:
schemeType - schemeType of the scheme specified by the schemeName
schemeName - the name of the scheme to work on
groupToRoleMapping - Map of group names to role names

activateTimeTracking

@Deprecated
public void activateTimeTracking()
Deprecated. Use TimeTracking.enable(com.atlassian.jira.functest.framework.admin.TimeTracking.Mode) instead.

activate time Tracking


deactivateTimeTracking

@Deprecated
public void deactivateTimeTracking()
Deprecated. Use com.atlassian.jira.functest.framework.admin.TimeTracking#disable(com.atlassian.jira.functest.framework.admin.TimeTracking.Mode) instead.

deactivate time tracking


reconfigureTimetracking

public void reconfigureTimetracking(String format)
Deprecated. 
change the time tracking format (timetracking must be on before this call)


submitAtPage

public void submitAtPage(String url,
                         String button,
                         String logOnFail)
Deprecated. 
Goes to the given URL, submits the given button or logs the given message if the given button doesn't exist.

Parameters:
url - url to go to to submit the button
button - label on the button to submit at url
logOnFail - null or a message to log if button isn't found

logWorkOnIssue

public void logWorkOnIssue(String issueKey,
                           String timeLogged)
Deprecated. 
Logs work on an issue. Note - this method requires activated time tracking

Parameters:
issueKey - the key of the issue to log work on.
timeLogged - the time in a suitible format for JIRA's current settings (e.g. 2d 1h 30m)

logWorkOnIssueWithComment

public void logWorkOnIssueWithComment(String issueKey,
                                      String timeLogged,
                                      String comment)
Deprecated. 
Logs work on an issue. Note - this method requires activated time tracking

Parameters:
issueKey - the key of the issue to log work on.
timeLogged - the time in a suitible format for JIRA's current settings (e.g. 2d 1h 30m)
comment - a comment to add for the work log - may be null to not leave a comment.

activateIssueLinking

@Deprecated
public void activateIssueLinking()
Deprecated. Use IssueLinking.enable() instead.

activate issue linking


deactivateIssueLinking

@Deprecated
public void deactivateIssueLinking()
Deprecated. Use IssueLinking.disable() instead.


getComponentId

public String getComponentId(String project,
                             String component)
Deprecated. 

getProjectId

public String getProjectId(String project)
Deprecated. 

setComponentLead

public void setComponentLead(String project,
                             String userName,
                             String fullName,
                             String component)
Deprecated. 
Sets the component lead for a component in a project.

Parameters:
project - the project key.
userName - the username of the lead.
fullName - the full name of the lead - used for assertion that it worked!
component - the component id.

setComponentName

public void setComponentName(String project,
                             String oldComponentName,
                             String newComponentName)
Deprecated. 

clearComponentLead

public void clearComponentLead(String project,
                               String component)
Deprecated. 
Clear component lead


setComponentAssigneeOptions

public void setComponentAssigneeOptions(String project,
                                        String component,
                                        String option)
Deprecated. 
Set Component Assignee Options


setUnassignedIssuesOption

@Deprecated
public void setUnassignedIssuesOption(boolean enable)
Deprecated. Please use GeneralConfigurationImpl.setAllowUnassignedIssues(boolean) instead.

Configure 'unassigned' issues option


setProjectLead

public void setProjectLead(String project,
                           String username)
Deprecated. 
Set Project Lead

Parameters:
project - the project key.
username - the username of the project lead.

voteForIssue

public void voteForIssue(String issueKey)
Deprecated. 

unvoteForIssue

public void unvoteForIssue(String issueKey)
Deprecated. 

startWatchingAnIssue

public void startWatchingAnIssue(String issueKey)
Deprecated. 

startWatchingAnIssue

public void startWatchingAnIssue(String issueKey,
                                 String[] userNames)
Deprecated. 

stopWatchingAnIssue

public void stopWatchingAnIssue(String issueKey)
Deprecated. 

removeAllWatchers

public void removeAllWatchers(String issueKey)
Deprecated. 

activateSubTasks

@Deprecated
public void activateSubTasks()
Deprecated. Enables sub-tasks. Use Subtasks.enable() instead.


deactivateSubTasks

@Deprecated
public boolean deactivateSubTasks()
Deprecated. Use Subtasks.disable() instead.

This method forces deactivation of the subtasks by removing all issues

Returns:
boolean - signals whether all the issues was deleted or not

addSubTaskToIssue

public String addSubTaskToIssue(String issueKey,
                                String subTaskType,
                                String subTaskSummary,
                                String subTaskDescription,
                                String originalEstimate)
Deprecated. 
Adds a subtask with the given type and properties to the given issue.

Parameters:
issueKey - the issue key of the parent.
subTaskType - the subtask issue type (try FunctTestConstants.ISSUE_TYPE_SUB_TASK
subTaskSummary - the summary of the subtask
subTaskDescription - the description for the subtask
originalEstimate - the estimated time to complete the subtask (subtasks must be turned on)
Returns:
the issueKey of the new subtask.

addSubTaskToIssue

@Deprecated
public String addSubTaskToIssue(String issueKey,
                                           String subTaskType,
                                           String subTaskSummary,
                                           String subTaskDescription)
Deprecated. please use IssueNavigation.createSubTask(String, String, String, String)


createSubTaskType

public void createSubTaskType(String sub_task_name,
                              String sub_task_description)
Deprecated. Use Subtasks.addSubTaskType(String, String) instead.

Parameters:
sub_task_name - name
sub_task_description - description

deleteSubTaskType

public void deleteSubTaskType(String sub_task_name)
Deprecated. Use Subtasks.deleteSubTaskType(String) instead.


createSubTaskStep1

public void createSubTaskStep1(String issueKey,
                               String task_type)
Deprecated. 

gotoIssueSecuritySchemes

public void gotoIssueSecuritySchemes()
Deprecated. 

createSecurityScheme

public void createSecurityScheme(String scheme_name,
                                 String scheme_description)
Deprecated. 

createSecurityLevel

public void createSecurityLevel(String scheme_name,
                                String level_name,
                                String level_description)
Deprecated. 

addGroupToSecurityLevel

public void addGroupToSecurityLevel(String scheme_name,
                                    String level_name,
                                    String groupName)
Deprecated. 

addGroupToSecurityLevel

public void addGroupToSecurityLevel(String scheme_name,
                                    String level_name,
                                    String groupName,
                                    String[] expectedGroups)
Deprecated. 

addRoleToSecurityLevel

public void addRoleToSecurityLevel(String scheme_name,
                                   String level_name,
                                   String roleName)
Deprecated. 

removeGroupFromSecurityLevel

public void removeGroupFromSecurityLevel(String scheme_name,
                                         String level_name,
                                         String groupName)
Deprecated. 

removeRoleFromSecurityLevel

public void removeRoleFromSecurityLevel(String scheme_name,
                                        String level_name,
                                        String roleId)
Deprecated. 

deleteSecurityScheme

public void deleteSecurityScheme(String scheme_name)
Deprecated. 

deleteSecurityLevel

public void deleteSecurityLevel(String scheme_name,
                                String level_name)
Deprecated. 

removeAssociationOfSecuritySchemeFromProject

public void removeAssociationOfSecuritySchemeFromProject(String project_name)
Deprecated. 

associateSecuritySchemeToProject

public void associateSecuritySchemeToProject(String project_name,
                                             String scheme_name)
Deprecated. 

gotoWorkFlowScheme

public void gotoWorkFlowScheme()
Deprecated. 

gotoWorkFlow

public void gotoWorkFlow()
Deprecated. 

addWorkFlowScheme

public void addWorkFlowScheme(String workflowscheme_name,
                              String workflowscheme_desc)
Deprecated. 

deleteWorkFlowScheme

public void deleteWorkFlowScheme(String workflowscheme_name)
Deprecated. 

addWorkFlow

public void addWorkFlow(String workflow_name,
                        String workflow_desc)
Deprecated. 
Adds a workflow with the given name and description.

Parameters:
workflow_name - name of the workflow.
workflow_desc - description of the workflow.

deleteWorkFlow

public void deleteWorkFlow(String workflow_name)
Deprecated. 

copyWorkFlow

@Deprecated
public void copyWorkFlow(String original_workflow_name,
                                    String new_workflow_name,
                                    String new_workflow_desc)
Deprecated. Use ViewWorkflows.copyWorkflow(String, String) instead.

Parameters:
original_workflow_name -
new_workflow_name -
new_workflow_desc -

addLinkedStatus

public void addLinkedStatus(String status_name,
                            String status_desc)
Deprecated. 

deleteLinkedStatus

public void deleteLinkedStatus(String statusId)
Deprecated. 

addStep

public void addStep(String workflow_name,
                    String step_name,
                    String linked_status)
Deprecated. Use WorkflowSteps.add(String, String) instead.


deleteStep

public void deleteStep(String workflow_name,
                       String step_name)
Deprecated. 

addTransition

@Deprecated
public void addTransition(String workflow_name,
                                     String step_name,
                                     String transition_name,
                                     String transition_desc,
                                     String destination_step,
                                     String transitionFieldScreen)
Deprecated. Use WorkflowSteps.addTransition(String, String, String, String, String) instead.


editTransitionScreen

public void editTransitionScreen(String workflow_name,
                                 String transition_name,
                                 String transitionFieldScreen)
Deprecated. 

deleteTransition

public void deleteTransition(String workflow_name,
                             String step_name,
                             String transition_name)
Deprecated. 

activateWorkflow

public void activateWorkflow(String workflow_name)
Deprecated. 

assignWorkflowScheme

public void assignWorkflowScheme(String workflowscheme_id,
                                 String issuetype,
                                 String workflow_name)
Deprecated. 

unassignWorkflowScheme

public void unassignWorkflowScheme(String workflowscheme_name,
                                   String issuetype,
                                   String workflow_name)
Deprecated. 

associateWorkFlowSchemeToProject

@Deprecated
public void associateWorkFlowSchemeToProject(String project,
                                                        String workflow_scheme)
Deprecated. Use Project.associateWorkflowScheme(String, String) instead.

Parameters:
project - the project name
workflow_scheme - the scheme name

assertIndexedFieldCorrect

protected void assertIndexedFieldCorrect(String path,
                                         Map expectedItemNodes,
                                         Map unexpectedItemNodes,
                                         String issueKey)
Deprecated. 
Check that certain fields have been indexed correctly. This will move to the XML Index View of a given issuekey, then execute some xpath to assert that the index is in order.

Parameters:
path - xpath expression of the base node we are checking. Eg: "//item"
expectedItemNodes - Map containing key (xpath expression starting from path) : value (the expected value). For example: "description" : "some description"
unexpectedItemNodes - List of nodes from path that are *not* expected to be present. For example, if the //item/[environment = "some environment"] should NOT be found, then the map would be: "environment" : "some environment"
issueKey - issue key of item we are checking. Eg: "HSP-1" ----------------------------------------------------------------

gotoPageNoLog

public void gotoPageNoLog(String url)
Deprecated. 

gotoPage

public void gotoPage(String url)
Deprecated. 
Overrides:
gotoPage in class net.sourceforge.jwebunit.WebTestCase

assertPageDoesNotExist

public void assertPageDoesNotExist(String assertionMessage,
                                   String url)
Deprecated. 
This will try and restrive the given URL and assert that it fails to be retrieved.

Parameters:
assertionMessage - the assertion message
url - the url to the page we DONT want to exist

gotoCustomFields

public void gotoCustomFields()
Deprecated. 

addCustomField

public String addCustomField(String fieldType,
                             String fieldName)
Deprecated. 
Creates a global custom field for all issue types with the given details.

Parameters:
fieldType - use the constants CUSTOM_FIELD_TYPE*.
fieldName - a name for the field.
Returns:
returns the field id.

addCustomField

public String addCustomField(String fieldType,
                             String fieldScope,
                             String fieldName,
                             String fieldDescription,
                             String issueType,
                             String project,
                             String searcher)
Deprecated. 

addCustomFieldWithMultipleIssueTypes

public String addCustomFieldWithMultipleIssueTypes(String fieldType,
                                                   String fieldScope,
                                                   String fieldName,
                                                   String fieldDescription,
                                                   String[] issueTypes,
                                                   String project,
                                                   String searcher)
Deprecated. 

deleteCustomField

public void deleteCustomField(String fieldId)
Deprecated. 

addCustomFieldOption

public void addCustomFieldOption(String fieldId,
                                 String fieldOption)
Deprecated. 

configureCustomFieldOption

public void configureCustomFieldOption(String fieldId,
                                       String fieldOption)
Deprecated. 

configureDefaultCustomFieldValue

public void configureDefaultCustomFieldValue(String fieldId,
                                             String fieldOption)
Deprecated. 

configureDefaultCheckBoxCustomFieldValue

public void configureDefaultCheckBoxCustomFieldValue(String fieldId,
                                                     String fieldOption)
Deprecated. 

configureDefaultMultiCustomFieldValue

public void configureDefaultMultiCustomFieldValue(String fieldId,
                                                  String fieldOption,
                                                  String fieldOption2)
Deprecated. 

delCustomFieldOption

public void delCustomFieldOption(String fieldId,
                                 String fieldOption)
Deprecated. 

removeAllCustomFields

public void removeAllCustomFields()
Deprecated. 

createCustomFields

public String createCustomFields(String fieldType,
                                 String fieldScope,
                                 String fieldName,
                                 String fieldDescription,
                                 String issueType,
                                 String projectType,
                                 String[] fieldOptions)
Deprecated. 

editIssueWithCustomFields

public void editIssueWithCustomFields(String issueKey,
                                      List cfValues)
Deprecated. 

editIssueWithCustomFields

public void editIssueWithCustomFields(String issueKey,
                                      String customFieldId,
                                      String customFieldValue,
                                      String customFieldType)
Deprecated. 

createIssuesInBulk

public Collection<String> createIssuesInBulk(int numberOfIssues,
                                             String project,
                                             String projectKey,
                                             String issueType,
                                             String summary,
                                             String priority,
                                             String[] components,
                                             String[] affectsVersions,
                                             String[] fixVersions,
                                             String assignTo,
                                             String environment,
                                             String description,
                                             String originalEstimate,
                                             String securityLevel)
Deprecated. 

sortIssues

public void sortIssues(String field,
                       String direction)
Deprecated. 

sortIssues

public void sortIssues(String page,
                       String field,
                       String direction)
Deprecated. 

deleteAllIssuesInAllPages

public void deleteAllIssuesInAllPages()
Deprecated. 

userExists

public boolean userExists(String userName)
Deprecated. 

fieldSchemeExists

public boolean fieldSchemeExists(String fieldSchemeName)
Deprecated. 

customFieldExists

public boolean customFieldExists(String fieldName)
Deprecated. 

subTaskTypeExists

public boolean subTaskTypeExists(String subTaskType)
Deprecated. 

securtiySchemeExists

public boolean securtiySchemeExists(String securityScheme)
Deprecated. 

securtiyLevelExists

public boolean securtiyLevelExists(String securityScheme,
                                   String securityLevel)
Deprecated. 

permissionSchemeExists

public boolean permissionSchemeExists(String permissionScheme)
Deprecated. 

workflowSchemeExists

public boolean workflowSchemeExists(String workflowScheme)
Deprecated. 

workflowExists

public boolean workflowExists(String workflow)
Deprecated. 

linkedStatusExists

public boolean linkedStatusExists(String linkedStatus)
Deprecated. 

componentExists

public boolean componentExists(String component,
                               String project)
Deprecated. 

versionExists

public boolean versionExists(String version,
                             String project)
Deprecated. 

projectExists

public boolean projectExists(String project)
Deprecated. 

gotoFieldScreens

public void gotoFieldScreens()
Deprecated. 

gotoFieldScreen

public void gotoFieldScreen(String screenName)
Deprecated. 

gotoFieldScreenSchemes

public void gotoFieldScreenSchemes()
Deprecated. 

gotoFieldScreenScheme

public void gotoFieldScreenScheme()
Deprecated. 

addFieldToFieldScreen

public void addFieldToFieldScreen(String screenName,
                                  String fieldName)
Deprecated. 

addFieldsToFieldScreen

public void addFieldsToFieldScreen(String screenName,
                                   String[] fieldNames)
Deprecated. 

addFieldToFieldScreen

public void addFieldToFieldScreen(String screenName,
                                  String fieldName,
                                  String position)
Deprecated. 

removeFieldFromFieldScreen

public void removeFieldFromFieldScreen(String screenName,
                                       String[] fieldNames)
Deprecated. 

findRowWithName

public String findRowWithName(String fieldTableName,
                              int column,
                              String fieldName)
Deprecated. 

addScreen

public void addScreen(String screenName,
                      String screenDescription)
Deprecated. 

copyScreen

public void copyScreen(String copiedScreenName,
                       String newScreenName,
                       String screenDescription)
Deprecated. 

deleteScreen

public void deleteScreen(String screenName)
Deprecated. 

removeAllFieldScreens

public void removeAllFieldScreens()
Deprecated. 

removeAllFieldScreenSchemes

public void removeAllFieldScreenSchemes()
Deprecated. 

removeAllScreenAssociationsFromDefault

public void removeAllScreenAssociationsFromDefault()
Deprecated. 

gotoFieldScreenScheme

public void gotoFieldScreenScheme(String schemeName)
Deprecated. 

addFieldScreenScheme

public void addFieldScreenScheme(String schemeName,
                                 String schemeDescription,
                                 String fieldScreenDefault)
Deprecated. 

copyFieldScreenScheme

public void copyFieldScreenScheme(String copiedSchemeName,
                                  String schemeName,
                                  String schemeDescription)
Deprecated. 

deleteFieldScreenScheme

public void deleteFieldScreenScheme(String schemeName)
Deprecated. 

addIssueOperationToScreenAssociation

public void addIssueOperationToScreenAssociation(String schemeName,
                                                 String issueOperation,
                                                 String screenName)
Deprecated. 

deleteIssueOperationFromScreenAssociation

public void deleteIssueOperationFromScreenAssociation(String schemeName,
                                                      String issueOperation)
Deprecated. 

removeAllFieldScreenAssociation

public void removeAllFieldScreenAssociation(String schemeName)
Deprecated. 

removeAllIssueTypeScreenSchemes

public void removeAllIssueTypeScreenSchemes()
Deprecated. 

gotoIssueTypeScreenScheme

public void gotoIssueTypeScreenScheme(String schemeName)
Deprecated. 

addIssueTypeFieldScreenScheme

public void addIssueTypeFieldScreenScheme(String schemeName,
                                          String schemeDescription,
                                          String defaultScreenScheme)
Deprecated. 

deleteIssueTypeFieldScreenScheme

public void deleteIssueTypeFieldScreenScheme(String schemeId)
Deprecated. 

copyIssueTypeFieldScreenSchemeName

public void copyIssueTypeFieldScreenSchemeName(String copiedSchemeId,
                                               String schemeName,
                                               String schemeDescription)
Deprecated. 

gotoIssueTypeScreenSchemes

protected void gotoIssueTypeScreenSchemes()
Deprecated. 

addIssueTypeToScreenAssociation

public void addIssueTypeToScreenAssociation(String issueTypeSchemeId,
                                            String issueType,
                                            String screenSchemeName)
Deprecated. 

associateIssueTypeScreenSchemeToProject

public void associateIssueTypeScreenSchemeToProject(String projectKey,
                                                    String screenScheme)
Deprecated. 

addTabToScreen

public void addTabToScreen(String screenName,
                           String tabName)
Deprecated. 

gotoFieldScreenTab

public void gotoFieldScreenTab(String screenName,
                               String tabName)
Deprecated. 

deleteTabFromScreen

public void deleteTabFromScreen(String screenName,
                                String tabName)
Deprecated. 

addFieldToFieldScreenTab

public void addFieldToFieldScreenTab(String screenName,
                                     String tabName,
                                     String fieldName,
                                     String position)
Deprecated. 

removeFieldFromFieldScreenTab

public void removeFieldFromFieldScreenTab(String screenName,
                                          String tabName,
                                          String[] fieldNames)
Deprecated. 

restoreDefaultDashboard

public void restoreDefaultDashboard()
Deprecated. 

startDashboardConfiguration

public void startDashboardConfiguration()
Deprecated. use new FuncTestCase way.


browseToFullConfigure

public void browseToFullConfigure()
Deprecated. 

addPortlet

public void addPortlet(String portlet)
Deprecated. 
Adds the portlet with the given name up to the point where the portlet configuration form comes up. Callers need to complete that form to finish adding the portlet.

Parameters:
portlet - name of the portlet as defined in the plugin config.

saveFilter

public int saveFilter(String filterName,
                      String filterDesc)
Deprecated. 

saveFilterAs

public int saveFilterAs(String filterName,
                        String copyName,
                        String copyDesc,
                        String saveColumnOrder)
Deprecated. 

extractFilterId

public String extractFilterId(String filterName)
Deprecated. 

deleteAllFilter

public void deleteAllFilter()
Deprecated. 

deleteFilter

public void deleteFilter(String filterName)
Deprecated. 
Deletes the filter with the given name if it exists. Leaves you on the manage filter page.

Parameters:
filterName - name of the filter to delete.

gotoFilterById

public void gotoFilterById(long filterId)
Deprecated. please use IssueNavigatorNavigation.loadFilter(long)

Parameters:
filterId - The id of the filter to load

gotoFilter

public void gotoFilter(String filtername)
Deprecated. 

assertViewIssueFields

public void assertViewIssueFields()
Deprecated. 

moveOptionsToPositions

public void moveOptionsToPositions(String[] optionValue,
                                   String[] optionId,
                                   String itemType,
                                   Map moveToPosition)
Deprecated. 

checkOrderingUsingArrows

public void checkOrderingUsingArrows(String[] optionValue,
                                     String[] optionId)
Deprecated. 

checkOrderingUsingMoveToPos

public String checkOrderingUsingMoveToPos(String[] optionValue,
                                          String[] optionId,
                                          String itemType)
Deprecated. 

resetInAscendingOrdering

public void resetInAscendingOrdering(String[] optionId,
                                     String itemType)
Deprecated. 

createNewFieldScreen

public void createNewFieldScreen(String[] optionId)
Deprecated. 

checkItemsAreInAscendingOrder

public void checkItemsAreInAscendingOrder(String[] optionValue)
Deprecated. 

easyMapBuild

public static Map easyMapBuild(Object key1,
                               Object value1)
Deprecated. 

easyMapBuild

public static Map easyMapBuild(Object key1,
                               Object value1,
                               Object key2,
                               Object value2)
Deprecated. 

easyMapBuild

public static Map easyMapBuild(Object key1,
                               Object value1,
                               Object key2,
                               Object value2,
                               Object key3,
                               Object value3)
Deprecated. 

viewChangeHistoryOfIssue

public void viewChangeHistoryOfIssue(String issueKey)
Deprecated. 

assertNoChangesForIssue

public void assertNoChangesForIssue(String issueKey)
Deprecated. 

assertLastChangeHistoryIs

public void assertLastChangeHistoryIs(String issueKey,
                                      String field,
                                      String originalValue,
                                      String newValue)
Deprecated. please use Assertions.assertLastChangeHistoryRecords(String, com.atlassian.jira.webtests.ztests.workflow.ExpectedChangeHistoryRecord)

Checkts that the last change history of the issue (with given issueKey) has an entry for the field with the original and new value

Parameters:
issueKey - Which issue to check
field - The issue field as displayed on the change history
originalValue - The expected original value for the change history
newValue - The expected new value for the change history

assertLastChangeNotMadeToField

public void assertLastChangeNotMadeToField(String issueKey,
                                           String field)
Deprecated. 

assertErrorMsgFieldRequired

public void assertErrorMsgFieldRequired(String fieldId,
                                        String project,
                                        String fieldDisplayName)
Deprecated. 

bulkChangeIncludeAllPages

public void bulkChangeIncludeAllPages()
Deprecated. 
simulates the clicking on bulk change all issues


bulkChangeIncludeCurrentPage

public void bulkChangeIncludeCurrentPage()
Deprecated. 
simulates the clicking on bulk change current page of issues


isStepChooseIssues

public void isStepChooseIssues()
Deprecated. 
Checks if the current step in bulk change is: Choose Issues


isStepChooseOperation

public void isStepChooseOperation()
Deprecated. 
Checks if the current step in bulk change is: Choose Operation


isStepOperationDetails

public void isStepOperationDetails()
Deprecated. please use Workflows.assertStepOperationDetails()

Checks if the current step in bulk change is: Operation Details


isStepConfirmation

public void isStepConfirmation()
Deprecated. 
Checks if the current step in bulk change is: Confirmation.


selectCheckbox

public void selectCheckbox(String cbox)
Deprecated. 
checks a checkbox with cbox id, and confirms that is has been checked


bulkChangeChooseIssuesAll

public void bulkChangeChooseIssuesAll()
Deprecated. 
selects the checkbox with id all
Used in the Step Choose Issues


bulkChangeChooseOperationDelete

public void bulkChangeChooseOperationDelete(boolean mailServerExists)
Deprecated. 
Chooses the Delete Operation radio button in the Step Choose Operation


bulkChangeChooseOperationEdit

public void bulkChangeChooseOperationEdit()
Deprecated. 
Chooses the Edit Operation radio button in the Step Choose Operation


chooseOperationBulkMove

public void chooseOperationBulkMove()
Deprecated. 
Chooses the Move Operation radio button in the Step Choose Operation


chooseOperationExecuteWorfklowTransition

public void chooseOperationExecuteWorfklowTransition()
Deprecated. 
Chooses the Execute Worfklow Action radio button in the Step Choose Operation


clickOnNext

public void clickOnNext()
Deprecated. please use Navigation.clickOnNext()

Clicks on the 'Next' button on any of the bulk change steps


bulkChangeCancel

public void bulkChangeCancel()
Deprecated. 
Clicks on the 'Cancel' button on any of the bulk change steps


bulkChangeConfirm

public void bulkChangeConfirm()
Deprecated. 
Clicks on the 'Confirm' button on the confirmation steps


getJiraJavaVersion

public float getJiraJavaVersion()
Deprecated. 
For the new framework version of this method, check out EnvironmentUtils.getJiraJavaVersion()


isBeforeJdk15

public boolean isBeforeJdk15()
Deprecated. 
For the new framework version of this method, check out EnvironmentUtils.isJavaBeforeJdk15()


restoreData

@Deprecated
public void restoreData(String fileName)
Deprecated. Use Administration.restoreData(String) instead.


restoreDataWithFullRefresh

public void restoreDataWithFullRefresh(String fileName)
Deprecated. 
This restore uses the full Pico refresh the same as in Production.

ie it does not do a "Quick Import".

Parameters:
fileName - XML Restore file
See Also:
restoreData(String)

copyFileToJiraImportDirectory

protected void copyFileToJiraImportDirectory(File file)
Deprecated. 

restoreData

public void restoreData(File file)
Deprecated. 

restoreData

public void restoreData(File file,
                        boolean quickImport)
Deprecated. 

restoreI18nData

public void restoreI18nData(String fileName)
Deprecated. 
Restores the data from the file name without making any english assertions.

Parameters:
fileName - The name of the data file from which to restore the data

restoreI18nData

public void restoreI18nData(File file)
Deprecated. 
Restores the data from the file name without making any english assertions.

Parameters:
file - The data file from which to restore the data

restoreDataWithLicense

public void restoreDataWithLicense(String fileName,
                                   String licenseKey)
Deprecated. 

start

public void start()
Deprecated. 

split

public void split()
Deprecated. 

stop

public void stop()
Deprecated. 

restoreBlankInstance

@Deprecated
public void restoreBlankInstance()
Deprecated. Since 5.0. Use Backdoor.restoreBlankInstance() instead.

Restores the jira instance to one with no issues. Some projects have been created


enableUnassignedIssues

public void enableUnassignedIssues()
Deprecated. 

disableUnassignedIssues

public void disableUnassignedIssues()
Deprecated. 

setBaseUrl

public void setBaseUrl()
Deprecated. 

setBaseUrl

public void setBaseUrl(String baseUrl)
Deprecated. please use GeneralConfiguration.setBaseUrl(String)

Parameters:
baseUrl -

addIssueTypeStatsPortlet

public void addIssueTypeStatsPortlet(String filterName)
Deprecated. 
Adds a stats portlet with the filter name


createProjectCategory

public void createProjectCategory(String categoryName,
                                  String categoryDescription)
Deprecated. 

deleteProjectCategory

public void deleteProjectCategory(String categoryName)
Deprecated. 

gotoProjectCategories

public void gotoProjectCategories()
Deprecated. 

placeProjectInCategory

public void placeProjectInCategory(String projectName,
                                   String categoryName)
Deprecated. 

projectCategoryExists

public boolean projectCategoryExists(String categoryName)
Deprecated. 

gotoProjectBrowse

@Deprecated
public void gotoProjectBrowse(String key)
Deprecated. 

Use Navigation.browseProject(String) instead.

Parameters:
key - The project key.

gotoVersionBrowse

public void gotoVersionBrowse(String projectKey,
                              String versionName)
Deprecated. 

gotoComponentBrowse

public void gotoComponentBrowse(String projectKey,
                                String componentName)
Deprecated. 

gotoIssueTabPanel

public void gotoIssueTabPanel(String issueKey,
                              String issueTabName)
Deprecated. 
Goes to the specified issue tab panel for the issue with issueKy directly.

Parameters:
issueKey - issue key of the issue to see
issueTabName - valid issue tab names are:
  • FunctTestConstants.ISSUE_TAB_ALL
  • FunctTestConstants.ISSUE_TAB_COMMENTS
  • FunctTestConstants.ISSUE_TAB_WORK_LOG
  • FunctTestConstants.ISSUE_TAB_CHANGE_HISTORY

  • gotoProjectTabPanel

    public void gotoProjectTabPanel(String projectKey,
                                    String projectTabName)
    Deprecated. 
    Goes to the specified project tab panel for the project with projectKey directly.

    Parameters:
    projectKey - project key of the project to see
    projectTabName - valid project tab names are:
  • FunctTestConstants.PROJECT_TAB_OPEN_ISSUES
  • FunctTestConstants.PROJECT_TAB_ROAD_MAP
  • FunctTestConstants.PROJECT_TAB_CHANGE_LOG
  • FunctTestConstants.PROJECT_TAB_POPULAR_ISSUES

  • setFieldConfigurationFieldToRenderer

    public void setFieldConfigurationFieldToRenderer(String configuration,
                                                     String fieldId,
                                                     String renderer)
    Deprecated. 

    setFieldConfigurationFieldToRenderer

    public void setFieldConfigurationFieldToRenderer(String configuration,
                                                     String fieldId,
                                                     String renderer,
                                                     boolean assertWarningNotPresent)
    Deprecated. 

    gotoFieldLayoutConfiguration

    public void gotoFieldLayoutConfiguration(String configuration)
    Deprecated. 

    gotoPluginsScreen

    public void gotoPluginsScreen()
    Deprecated. 

    gotoFieldLayouts

    public void gotoFieldLayouts()
    Deprecated. 

    addEventType

    public void addEventType(String name,
                             String description,
                             String template)
    Deprecated. 

    deleteEventType

    public void deleteEventType(String name)
    Deprecated. 

    getEventTypeIDWithName

    public String getEventTypeIDWithName(String name)
    Deprecated. 

    checkEventTypeDetails

    public void checkEventTypeDetails(String eventTypeName,
                                      String eventTypeDesc,
                                      String status,
                                      String template,
                                      String notificationScheme,
                                      String workflow)
    Deprecated. 

    checkNotificationForEvent

    public void checkNotificationForEvent(String eventTypeName,
                                          String notificationType,
                                          String template)
    Deprecated. 

    disableIssueLinks

    @Deprecated
    public void disableIssueLinks()
    Deprecated. Use IssueLinking.disable() instead


    createClonersLinkType

    public void createClonersLinkType()
    Deprecated. 
    Creates the Cloners link type that JIRA creates between cloned issues. If this link type does not exist the clone of teh issue is not linked to the original issue.


    setBulkEditFieldTo

    public void setBulkEditFieldTo(String field,
                                   String listValue)
    Deprecated. 
    Selects the 'listValue' in the 'field' list and checks that the corresponding 'field' checkbox is selected


    bulkEditOperationDetailsSetAs

    public void bulkEditOperationDetailsSetAs(Map fields)
    Deprecated. 
    Chooses the bulk action(s) you wish to perform on the selected issue.
    if a field is not to be selected place "" in place of it.
    Used in Operation Details

    Parameters:
    fields - A map woth field ids as keys and field values (have to be simple Strings) as values.

    bulkEditConfirmEdit

    public void bulkEditConfirmEdit(Map fields)
    Deprecated. 
    Checks in step Confirmation of edit operation before confirming, whether or not the selected fields have been made
    DOES NOT goto the issues change log and check that they are changed after confirmation... something to consider testing...

    Parameters:
    fields - a map with field ids as keys and simple Strings as values.

    bulkChangeSelectIssue

    public void bulkChangeSelectIssue(String key)
    Deprecated. 

    bulkChangeSelectIssues

    public void bulkChangeSelectIssues(Collection keys)
    Deprecated. 

    createIssueLinkType

    public String createIssueLinkType(String name,
                                      String outwardLinkName,
                                      String inwardLinkName)
    Deprecated. 
    Returns:
    the id of the link type created.

    linkIssueWithComment

    public void linkIssueWithComment(String currentIssueKey,
                                     String link,
                                     String destinationIssueKey,
                                     String comment,
                                     String commentLevel)
    Deprecated. 

    isMailServerExists

    public boolean isMailServerExists()
    Deprecated. 

    getRegexMatch

    public String getRegexMatch(String regex)
                         throws org.apache.oro.text.regex.MalformedPatternException
    Deprecated. 
    Reads the HTML response text and finds the first group match for the given regex

    Parameters:
    regex - regex
    Returns:
    The first matching group (first pair of parens) or null if there none is found.
    Throws:
    org.apache.oro.text.regex.MalformedPatternException - if regex is malformed

    assertRegexMatch

    public void assertRegexMatch(String regex,
                                 boolean multiline)
    Deprecated. 
    Detects whether or not the passed regular expression matches the page.

    Parameters:
    regex - the regular expression to match.
    multiline - true iff the regex should match across lines, false otherwise.

    gotoProjectRolesScreen

    public void gotoProjectRolesScreen()
    Deprecated. 

    editIssueType

    public void editIssueType(String issueTypeId,
                              String name,
                              String description,
                              String iconUrl)
    Deprecated. 
    Modifies the issue type with the given id to have the given properties.

    Parameters:
    issueTypeId - the id of the issue type to edit.
    name - the new name of the issue type.

    addIssueType

    public String addIssueType(String name,
                               String desc,
                               String iconUrl)
    Deprecated. 
    Creates a custom issue type with the given properties. Make the name and description unique or things will be... interesting.

    Parameters:
    name - The name of the issue type.
    desc - The description.
    iconUrl - the path to an icon relative to the document base.
    Returns:
    the id of the created issue type.

    associateWorkFlowSchemeToProject

    public final void associateWorkFlowSchemeToProject(String project,
                                                       String workflow_scheme,
                                                       Map statusMapping)
    Deprecated. 

    enableCommentGroupVisibility

    protected void enableCommentGroupVisibility(Boolean enable)
    Deprecated. 
    Turn on/off Project Roles + Groups visibility for comments and worklogs

    Parameters:
    enable - true = enable, false = disable

    addCommentOnCurrentIssue

    @Deprecated
    protected void addCommentOnCurrentIssue(String comment)
    Deprecated. Use IssueNavigation.addComment(String, String) instead.

    Adds the given comment to the current issue, making it visible to all who can see the issue.

    Parameters:
    comment - the comment body.

    addCommentOnCurrentIssue

    @Deprecated
    protected void addCommentOnCurrentIssue(String comment,
                                                       String roleLevel)
    Deprecated. Use IssueNavigation.addComment(String, String, String) instead.

    Adds a comment on the current issue on the given role level or no level restriction (all users)

    Parameters:
    comment - the comment body.
    roleLevel - role level, null does not select any role level

    getTitle

    public String getTitle(String responseHtml)
    Deprecated. 

    getTagBody

    public String getTagBody(String startTag,
                             String endTag,
                             String html)
    Deprecated. 

    tableCellHasText

    protected boolean tableCellHasText(com.meterware.httpunit.WebTable table,
                                       int row,
                                       int col,
                                       String text)
    Deprecated. 
    Method that checks if a particular table cell contains the text specified.

    Returns:
    Returns true if the text is contained in the table cell specified.

    tableCellDoesNotHaveText

    protected boolean tableCellDoesNotHaveText(com.meterware.httpunit.WebTable table,
                                               int row,
                                               int col,
                                               String text)
    Deprecated. 

    tableCellHasStrictText

    protected boolean tableCellHasStrictText(com.meterware.httpunit.WebTable table,
                                             int row,
                                             int col,
                                             String text)
    Deprecated. 
    Same as tableCellHasText(com.meterware.httpunit.WebTable,int,int,String) but if the text is an empty string ("") than make sure the table cell trimmed is equal

    Returns:
    Returns true if the text is contained in the table cell specified.

    tableCellHasLinkThatContains

    protected boolean tableCellHasLinkThatContains(com.meterware.httpunit.WebTable table,
                                                   int row,
                                                   int col,
                                                   String link)
    Deprecated. 
    Checks if a particular table cell contains the link URL specified.

    Parameters:
    link - URL
    Returns:
    True if the table cell contains the link URL specified.

    assertTableCellHasImage

    protected void assertTableCellHasImage(com.meterware.httpunit.WebTable table,
                                           int row,
                                           int col,
                                           String stringInImageSource)
    Deprecated. 

    assertTableCellHasNoImage

    protected void assertTableCellHasNoImage(com.meterware.httpunit.WebTable table,
                                             int row,
                                             int col)
    Deprecated. 

    tableCellHasNoLinks

    protected boolean tableCellHasNoLinks(com.meterware.httpunit.WebTable table,
                                          int row,
                                          int col)
    Deprecated. 

    assertTableRowEquals

    public void assertTableRowEquals(com.meterware.httpunit.WebTable table,
                                     int row,
                                     Object[] expectedRow)
    Deprecated. please use TableAssertions.assertTableRowEquals(com.meterware.httpunit.WebTable, int, Object[])

    Assert that the specified row of the table is equal to the expectedRow

    Parameters:
    table - table to look up the row
    row - the row number of the table to compare
    expectedRow - the expected row to match

    getTableRowAsList

    public List getTableRowAsList(com.meterware.httpunit.WebTable table,
                                  int row)
    Deprecated. 
    Get the specified row from the table as a list of trimmed strings.

    Parameters:
    table - table to get the row from
    row - the row index starting from 0 to extract the row from
    Returns:
    list of trimmed cell values from the table on specified row.

    assertTableHasNoMatchingRow

    public void assertTableHasNoMatchingRow(com.meterware.httpunit.WebTable table,
                                            Object[] expectedRow)
    Deprecated. 
    Asserts that the table has no row in the table matching the expectedRow

    Parameters:
    table - table to check the expectedRow does not exist in
    expectedRow - the row that should not be in the table

    assertTableHasNoMatchingRow

    public void assertTableHasNoMatchingRow(com.meterware.httpunit.WebTable table,
                                            int minRow,
                                            Object[] expectedRow)
    Deprecated. 
    Asserts that the table has no row in the table matching the expectedRow between minRow and the end of the table

    Parameters:
    table - table to check the expectedRow does not exist in
    minRow - the starting row index (inclusive)
    expectedRow - the row that should not be in the table

    assertTableHasNoMatchingRowFromTo

    public void assertTableHasNoMatchingRowFromTo(com.meterware.httpunit.WebTable table,
                                                  int minRow,
                                                  int maxRow,
                                                  Object[] expectedRow)
    Deprecated. 
    Asserts that the table has no row in the table matching the expectedRow between minRow and maxRow

    Parameters:
    table - table to check the expectedRow does not exist in
    minRow - the starting row index (inclusive)
    maxRow - the ending row index (exclusive)
    expectedRow - the row that should not be in the table

    assertTableHasOnlyNMatchingRows

    public void assertTableHasOnlyNMatchingRows(com.meterware.httpunit.WebTable table,
                                                int n,
                                                Object[] expectedRow)
    Deprecated. 
    Asserts that the table has strictly 'n' number of rows in the table matching the expectedRow. ie. checks there are 'n' and only 'n' number of matching rows.

    Parameters:
    table - table to check the expectedRow exist in
    expectedRow - the row that should be in the table
    n - the number of times the expectedRow should appear in the table

    assertTableHasMatchingRow

    public void assertTableHasMatchingRow(com.meterware.httpunit.WebTable table,
                                          Object[] expectedRow)
    Deprecated. please use TableAssertions.assertTableContainsRow(com.meterware.httpunit.WebTable, String[])

    Asserts that the table has at least one row matching the expectedRow

    Parameters:
    table - table to check for the expectedRow
    expectedRow - the row to look for

    assertTableHasMatchingRowFrom

    public void assertTableHasMatchingRowFrom(com.meterware.httpunit.WebTable table,
                                              int minRow,
                                              Object[] expectedRow)
    Deprecated. 
    Asserts that the table has atleast one row matching the expectedRow

    Parameters:
    table - table to check for the expectedRow
    minRow - the starting row to look for the expectedRow (inclusive)
    expectedRow - the row to look for

    assertTableHasMatchingRowFromTo

    public void assertTableHasMatchingRowFromTo(com.meterware.httpunit.WebTable table,
                                                int minRow,
                                                int maxRow,
                                                Object[] expectedRow)
    Deprecated. 
    Asserts that the table has at least one row matching the expectedRow

    Parameters:
    table - table to check for the expectedRow
    minRow - the starting row to look for the expectedRow (inclusive)
    maxRow - the last row to look for the expectedRow (exclusive)
    expectedRow - the row to look for

    prettyParseRow

    public String prettyParseRow(Object[] expectedRow)
    Deprecated. 

    prettyParseRow

    public String prettyParseRow(List expectedRow)
    Deprecated. 

    tableIndexOf

    public int tableIndexOf(com.meterware.httpunit.WebTable table,
                            Object[] expectedRow)
    Deprecated. 

    tableIndexOf

    public int tableIndexOf(com.meterware.httpunit.WebTable table,
                            int minRow,
                            Object[] expectedRow)
    Deprecated. 

    tableIndexOf

    public int tableIndexOf(com.meterware.httpunit.WebTable table,
                            List expectedRow)
    Deprecated. 

    tableIndexOf

    public int tableIndexOf(com.meterware.httpunit.WebTable table,
                            int minRow,
                            List expectedRow)
    Deprecated. 

    tableIndexOf

    public int tableIndexOf(com.meterware.httpunit.WebTable table,
                            int minRow,
                            int maxRow,
                            List expectedRow)
    Deprecated. 
    Returns the row number (starting from 0) of the first row matching expectedRow on the table. minRow and maxRow limit the range of rows to look on the table. Uses tableRowEquals(com.meterware.httpunit.WebTable,int,java.util.List) to determine if the rows match

    Parameters:
    table - table to look up the expectedRow
    minRow - the starting row to look for the expectedRow (inclusive)
    maxRow - the last row to look for the expectedRow (exclusive)
    expectedRow - the row to look for
    Returns:
    row number of the matching expectedRow, -1 if not found

    tableHasSubTable

    public boolean tableHasSubTable(com.meterware.httpunit.WebTable table,
                                    Object[][] expectedSubTable)
    Deprecated. 
    Checks whether the given table has a subtable matching the expectedSubTable.

    Parameters:
    table - table to check if it has the subtable
    expectedSubTable - the subtable to look for
    Returns:
    true if all the rows of the expectedSubTable are part of the table (in same order)

    assertTableHasSubTable

    public void assertTableHasSubTable(com.meterware.httpunit.WebTable table,
                                       Object[][] expectedSubTable)
    Deprecated. 

    assertTextListPresent

    public void assertTextListPresent(Iterable<String> iterable)
    Deprecated. 
    Takes in a list of strings, iterates over them and asserts that each is present

    Parameters:
    iterable - of strings

    assertTextListNotPresent

    public void assertTextListNotPresent(Iterable<String> iterable)
    Deprecated. 
    Takes in a list of strings, iterates over them and asserts that each is *NOT* present

    Parameters:
    iterable - of strings

    checkCommentVisibility

    @Deprecated
    public void checkCommentVisibility(String usernameAndPassword,
                                                  String issueKey,
                                                  Iterable<String> expectedPresentComments,
                                                  Iterable<String> expectedAbsentComments)
    Deprecated. 

    Use CommentAssertions.areVisibleTo(String, String) and CommentAssertions.areNotVisibleTo(String, String) instead. Given a username, view the issue with issuekey and assert that a given list of comments are visible in the issue view and another given list of comments are not visible in issue view. NOTE: username must be the same as the password

    Parameters:
    usernameAndPassword - - must be a valid login username/password combination where username = password
    issueKey - - issuekey of issue comments we are checking
    expectedPresentComments - - List of comments in the form of strings that should be visible to the user when viewing that issue
    expectedAbsentComments - - List of comments in the form of strings that should *NOT* be visible to the user when viewing that issue

    toggleExternalUserManagement

    public void toggleExternalUserManagement(boolean enable)
    Deprecated. 

    assertSubTaskConversionPanelSteps

    protected void assertSubTaskConversionPanelSteps(String key,
                                                     int currentStep)
    Deprecated. 

    gotoConvertIssue

    public void gotoConvertIssue(String issueId)
    Deprecated. 

    gotoConvertIssueStep2

    public void gotoConvertIssueStep2(String issueId,
                                      String parent,
                                      String issueType)
    Deprecated. 

    gotoConvertSubTask

    public void gotoConvertSubTask(String issueId)
    Deprecated. 

    gotoConvertSubTaskStep2

    public void gotoConvertSubTaskStep2(String issueId,
                                        String issueType)
    Deprecated. 

    gotoConvertIssueStep3

    protected void gotoConvertIssueStep3(String issueId,
                                         String parentKey,
                                         String issueType,
                                         String status)
    Deprecated. 

    assertLinkPresentWithSubString

    public void assertLinkPresentWithSubString(String linkId,
                                               String urlSubString)
    Deprecated. 
    Asserts that the link with the given id attribute exists and its href has the urlSubString

    Parameters:
    linkId - the id attribute.
    urlSubString - the expected sub-string of the href of the link.

    assertLinkPresentWithoutSubString

    public void assertLinkPresentWithoutSubString(String linkId,
                                                  String urlSubString)
    Deprecated. 
    Asserts that the link with the given id attribute exists and its href does NOT have the urlSubString

    Parameters:
    linkId - the id attribute.
    urlSubString - the sub-string that should not appear in the href of the link.

    assertLinkPresentWithURL

    public void assertLinkPresentWithURL(String linkId,
                                         String urlSuffix)
    Deprecated. 
    Asserts that the link with the given id attribute exists and its href ends with the given URL.

    Parameters:
    linkId - the id attribute.
    urlSuffix - the expected suffix of the href of the link.

    assertLinkWithTextUrlEndsWith

    public void assertLinkWithTextUrlEndsWith(String linkText,
                                              String urlSuffix)
    Deprecated. please use LinkAssertions.assertLinkLocationEndsWith(String, String)

    Asserts that there exists a link on the current page with the given text the url of which has the given suffix.

    Parameters:
    linkText - the link text.
    urlSuffix - the expected url suffix.

    assertLinkWithTextUrlContains

    public void assertLinkWithTextUrlContains(String linkText,
                                              String[] strings)
    Deprecated. 
    Asserts that there exists a link on the current page with the given text the url of which has the given suffix.

    Parameters:
    linkText - the link text.
    strings - the expected portions of the URL in the link.

    assertTableCellHasText

    public void assertTableCellHasText(String tableId,
                                       int row,
                                       int column,
                                       String text)
    Deprecated. please use TableAssertions.assertTableCellHasText(com.meterware.httpunit.WebTable, int, int, String)


    assertResponseCanBeCached

    protected void assertResponseCanBeCached()
    Deprecated. 
    Asserts that the Cache-control header in the response *is not* set to any one of "no-cache", "no-store" or "must-revalidate". The choice of these 3 headers is directly related to the implementation of com.atlassian.core.filters.AbstractEncodingFilter.setNonCachingHeaders(HttpServletResponse)


    assertResponseCannotBeCached

    protected void assertResponseCannotBeCached()
    Deprecated. 
    Asserts that the Cache-control header in the response *is* set to any one of "no-cache", "no-store" or "must-revalidate". The choice of these 3 headers is directly related to the implementation of com.atlassian.core.filters.AbstractEncodingFilter.setNonCachingHeaders(HttpServletResponse)


    gotoDefaultPermissionScheme

    protected void gotoDefaultPermissionScheme()
    Deprecated. 

    grantPermissionToUserInEnterprise

    protected void grantPermissionToUserInEnterprise(int permission,
                                                     String username)
    Deprecated. 
    Grants a Permissions constant to the specified user to the default permission scheme. Only works in enterprise.

    Parameters:
    username - the user who is
    permission - a Permissions constant

    addProjectAdminPermission

    public void addProjectAdminPermission(int permission,
                                          String group)
    Deprecated. 

    gotoFieldConfigurationDefault

    protected void gotoFieldConfigurationDefault()
    Deprecated. 

    assertTableCellContainsFixVersionsLinks

    protected void assertTableCellContainsFixVersionsLinks(com.meterware.httpunit.TableCell fixVersionsCell,
                                                           int expectedLinkCount)
    Deprecated. 

    assertTableCellContainsNoFixVersionsLinks

    protected void assertTableCellContainsNoFixVersionsLinks(com.meterware.httpunit.TableCell fixVersionsCell)
    Deprecated. 

    assertTableCellContainsPriorityIcon

    protected void assertTableCellContainsPriorityIcon(com.meterware.httpunit.TableCell tableCell)
    Deprecated. 

    assertTableCellContainsNoPriorityIcon

    protected void assertTableCellContainsNoPriorityIcon(com.meterware.httpunit.TableCell tableCell)
    Deprecated. 

    dumpResponse

    public void dumpResponse()
    Deprecated. 
    Simply dumps the web response, not necessarily because and error occurred.

    Overrides:
    dumpResponse in class WebTestCaseWrapper

    dumpResponse

    public void dumpResponse(Throwable t)
    Deprecated. 
    Dumps the web response because a Throwable condition exists.

    Overrides:
    dumpResponse in class WebTestCaseWrapper
    Parameters:
    t - the Throwable in question

    logWork

    protected void logWork(String issueKey,
                           String timeLogged,
                           String newEstimate)
    Deprecated. 
    Logs work on the issue with the given key.

    Parameters:
    issueKey - the key of the issue to log work on.
    timeLogged - formatted time spent e.g. 1h 30m.
    newEstimate - formatted new estimate e.g. 1d 2h.

    setEstimate

    protected void setEstimate(String time)
    Deprecated. 
    Sets the estimate on the current issue.

    Parameters:
    time - formatted time estimate e.g. 3h 30m.

    waitForSuccessfulWorkflowSchemeMigration

    protected void waitForSuccessfulWorkflowSchemeMigration(String projectName,
                                                            String targetWorkflowName)
    Deprecated. 
    Waits until a workflow scheme migration completes now that it runs asynchronously.

    Parameters:
    projectName - the name of the project to associate the worflow scheme to
    targetWorkflowName - the name of the workflow scheme to associate the project to

    getSubmittedTaskId

    protected long getSubmittedTaskId()
    Deprecated. 
    This method assums that you have just submitted a long running task and that you need the taskId back. It does not acknowledge the task in in way

    Returns:
    the id of the submitted task.

    switchToPersonalLicense

    protected void switchToPersonalLicense()
    Deprecated. 

    switchLicense

    protected void switchLicense(String licenseKey,
                                 String licenseDescription)
    Deprecated. 

    waitForTaskAcknowledgement

    protected void waitForTaskAcknowledgement(long taskId)
    Deprecated. 
    This method assumes that you have just submitted a long running task, and you know the task id of it.

    Parameters:
    taskId - the task to wait for until it is in acknowledge state

    validateProgressBarUI

    protected void validateProgressBarUI(String desiredTaskState)
    Deprecated. 
    The button name controls what to check for in terms of the progress bar UI.

    - Acknowledge - means you started the task and its finished - Done means that some one else started the task and its finished - Refresh - means its submitted, maybe running and not finished

    Parameters:
    desiredTaskState - one of the above

    waitForSuccessfulWorkflowActivation

    protected void waitForSuccessfulWorkflowActivation(String targetWorkflowName)
    Deprecated. 
    Waits for the worflow activation "asynch" screens to finish and then puts it on the ListWorkflow page

    Parameters:
    targetWorkflowName - the name of the workflow.

    associateIssueLevelSecuritySchemeToProject

    protected void associateIssueLevelSecuritySchemeToProject(String projectName,
                                                              String schemeName)
    Deprecated. 

    gotoPortletConfig

    protected void gotoPortletConfig()
    Deprecated. 

    assertHelpLinkWithStringInUrlPresent

    protected void assertHelpLinkWithStringInUrlPresent(String linkPart)
    Deprecated. 
    Checks for a presence of the part of the link's URL

    Parameters:
    linkPart - part of the link's URL that needs to be present

    assertTextNotInColumn

    protected void assertTextNotInColumn(String tableId,
                                         int column,
                                         String text)
                                  throws SAXException
    Deprecated. 
    Throws:
    SAXException

    assertTableCellHasNotText

    protected void assertTableCellHasNotText(String tableId,
                                             int row,
                                             int col,
                                             String text)
                                      throws SAXException
    Deprecated. 
    Throws:
    SAXException

    getEdition

    protected String getEdition()
    Deprecated. 

    assertRedirectAndFollow

    protected void assertRedirectAndFollow(String url,
                                           String redirectRegex)
    Deprecated. 

    enableRemoteApi

    public void enableRemoteApi()
    Deprecated. 

    addWorkflowPostfunction

    public void addWorkflowPostfunction(String workflowName,
                                        String stepName,
                                        String transitionName,
                                        String postFunctionName)
    Deprecated. 

    addWorkflowCondition

    protected void addWorkflowCondition(String workflowName,
                                        String stepName,
                                        String condition)
    Deprecated. 

    addWorkflowCondition

    protected void addWorkflowCondition(String workflowName,
                                        String stepName,
                                        String condition,
                                        JIRAWebTest.ParameterEnterer paramEnterer)
    Deprecated. 

    addWorkflowValidator

    protected void addWorkflowValidator(String workflowName,
                                        String stepName,
                                        String validator)
    Deprecated. 

    addWorkflowValidator

    protected void addWorkflowValidator(String workflowName,
                                        String stepName,
                                        String validator,
                                        JIRAWebTest.ParameterEnterer paramEnterer)
    Deprecated. 

    enableWorkflow

    public void enableWorkflow(String workflowName)
    Deprecated. 

    getBuild

    @Deprecated
    protected String getBuild()
    Deprecated. 


    usingHsqlDb

    public boolean usingHsqlDb()
                        throws IOException
    Deprecated. 
    Check whether we are using HSQLDB as the DB -- assumes we are already logged in as the administrator

    Throws:
    IOException

    xpath

    protected XPathLocator xpath(String xpathExpression)
    Deprecated. 
    A shortcut method to allow quick creation of XPathLocators

    Parameters:
    xpathExpression - the xpath expression
    Returns:
    an XPathLocator

    setUp

    public void setUp()
    Deprecated. 
    Overrides:
    setUp in class junit.framework.TestCase

    init

    public void init()
    Deprecated. 

    setUpHttpUnitOptions

    protected void setUpHttpUnitOptions()
    Deprecated. 
    Override this to set up any HttpUnitOptions that must be set before the WebTester is used


    isJiraSetup

    public boolean isJiraSetup()
    Deprecated. 

    tearDown

    public void tearDown()
    Deprecated. 
    Overrides:
    tearDown in class WebTestCaseWrapper

    runTest

    protected void runTest()
                    throws Throwable
    Deprecated. 
    Overrides:
    runTest in class junit.framework.TestCase
    Throws:
    Throwable

    runBare

    public void runBare()
                 throws Throwable
    Deprecated. 
    The outer most edge of a JUnit Test. All things start and end here.

    Overrides:
    runBare in class junit.framework.TestCase
    Throws:
    Throwable
    See Also:
    TestCase.runBare()


    Copyright © 2002-2012 Atlassian. All Rights Reserved.