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
Modifier and Type | Class and Description |
---|---|
static interface |
JIRAWebTest.ParameterEnterer
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
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
Backdoor helper in play,
which can make sly RPCs to the server. |
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.
|
protected IssueTableAssertions |
issueTableAssertions
Deprecated.
Use this field to access the
IssueTableAssertions helper
in play |
protected IssueTableClient |
issueTableClient
Deprecated.
|
static float |
JDK_1_5_VERSION
Deprecated.
|
protected LocatorFactory |
locator
Deprecated.
Use this field to access the
LocatorFactory in play |
protected com.atlassian.jira.testkit.client.log.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 |
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_DELETE_ALL, COMMENT_DELETE_OWN, COMMENT_EDIT_ALL, COMMENT_EDIT_OWN, 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, CURRENT_USER, CUSTOM_FIELD_CASCADING_SELECT_SEARCHER, CUSTOM_FIELD_CHECKBOX_SEARCHER, CUSTOM_FIELD_CONFIGURATION, CUSTOM_FIELD_DATE_RANGE, CUSTOM_FIELD_EXACT_NUMBER, CUSTOM_FIELD_EXACT_TEXT_SEARCHER, CUSTOM_FIELD_GROUP_PICKER_SEARCHER, CUSTOM_FIELD_LABEL_SEARCHER, CUSTOM_FIELD_MULTI_SELECT_SEARCHER, CUSTOM_FIELD_NUMBER_RANGE, CUSTOM_FIELD_PREFIX, CUSTOM_FIELD_PROJECT_SEARCHER, CUSTOM_FIELD_RADIO_SEARCHER, CUSTOM_FIELD_SELECT_SEARCHER, CUSTOM_FIELD_TEXT_SEARCHER, CUSTOM_FIELD_TYPE_CASCADINGSELECT, CUSTOM_FIELD_TYPE_CHECKBOX, CUSTOM_FIELD_TYPE_DATEPICKER, CUSTOM_FIELD_TYPE_DATETIME, CUSTOM_FIELD_TYPE_FLOAT, CUSTOM_FIELD_TYPE_GROUPPICKER, CUSTOM_FIELD_TYPE_LABELS, CUSTOM_FIELD_TYPE_MULTICHECKBOXES, CUSTOM_FIELD_TYPE_MULTIGROUPPICKER, CUSTOM_FIELD_TYPE_MULTISELECT, CUSTOM_FIELD_TYPE_MULTIUSERPICKER, CUSTOM_FIELD_TYPE_PROJECT, CUSTOM_FIELD_TYPE_RADIO, CUSTOM_FIELD_TYPE_SELECT, CUSTOM_FIELD_TYPE_TEXTFIELD, CUSTOM_FIELD_TYPE_URL, CUSTOM_FIELD_TYPE_USERPICKER, CUSTOM_FIELD_TYPE_VERSION, CUSTOM_FIELD_USER_PICKER_GROUP_SEARCHER, CUSTOM_FIELD_USER_PICKER_SEARCHER, CUSTOM_FIELD_VERSION_SEARCHER, CUSTOM_SUB_TASK_SUMMARY, CUSTOM_SUB_TASK_TYPE_DESCRIPTION, CUSTOM_SUB_TASK_TYPE_NAME, DARK_FEATURE_DISABLE_LANDING_PAGE_REDIRECT_FLAG, DEFAULT_ASSIGNEE_ERROR_MESSAGE, DEFAULT_FIELD_CONFIGURATION, DEFAULT_FIELD_SCREEN_NAME, DEFAULT_ISSUE_TYPE_SCREEN_SCHEME, DEFAULT_OPERATION_SCREEN, DEFAULT_PERM_SCHEME, DEFAULT_PERM_SCHEME_ID, 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_COMMENT, FIELD_COMPONENTS, FIELD_FIX_VERSIONS, FIELD_OPERATION, FIELD_PRIORITY, FIELD_SCHEME_DESC, FIELD_SCHEME_NAME, FIELD_TABLE_ID, FIELD_VERSIONS, FIELD_WORKFLOW, FIX_VERSIONS_FIELD_ID, FORMAT_DAYS, FORMAT_HOURS, FORMAT_PRETTY, FRED_EMAIL, FRED_FULLNAME, FRED_PASSWORD, FRED_USERNAME, FS, FUNC_TEST_PLUGIN_REST_PATH, GLOBAL_ADMIN, GROUP_LABEL_ADMIN, GROUP_LABEL_FUNC_TEST, GROUP_LABEL_JIRA_CORE, GROUP_LABEL_MULTI, HTM, ISSUE_ALL, ISSUE_BUG, ISSUE_IMAGE_BUG, ISSUE_IMAGE_GENERIC, 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_ALL_SUB_TASK, 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_ADMIN_ROLE_ID, JIRA_DEV_GROUP, JIRA_DEV_ROLE, JIRA_DEV_ROLE_ID, JIRA_FORM_NAME, JIRA_USERS_GROUP, JIRA_USERS_ROLE, JIRA_USERS_ROLE_ID, 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_ID, 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_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_IN_PROGRESS, STATUS_NAME, STATUS_OPEN, STATUS_RESOLVED, 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, UNKNOWN, UNKNOWN_ID, 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 and Description |
---|
JIRAWebTest(String name)
Deprecated.
|
JIRAWebTest(String name,
JIRAEnvironmentData environmentData)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
activateIssueLinking()
Deprecated.
Use
IssueLinking.enable() instead. |
void |
activateSubTasks()
Deprecated.
Enables sub-tasks. Use
Subtasks.enable()
instead. |
void |
activateTimeTracking()
Deprecated.
|
void |
activateWorkflow(String workflow_name)
Deprecated.
|
void |
addColumnToIssueNavigator(String[] fieldNames)
Deprecated.
|
void |
addColumnToIssueNavigatorById(String[] fieldIds)
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.
|
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)
Deprecated.
Creates a custom issue type with the given properties.
|
String |
addIssueType(String name,
String desc,
String iconUrl)
Deprecated.
Use #addIssueType(String, String) - iconUrl no longer available from web.
|
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.
|
String |
addIssueViaRest(String project,
String projectKey,
String issueType,
String summary,
String priority,
String assignTo,
String environment,
String description)
Deprecated.
Adds an issue to the given project returning its key.
|
IssueCreateResponse |
addIssueViaRestForResponse(String project,
String projectKey,
String issueType,
String summary,
String priority,
String assignTo,
String environment,
String description)
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.
|
String |
addSubTaskToIssue(String issueKey,
String subTaskType,
String subTaskSummary,
String subTaskDescription)
Deprecated.
|
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.
|
void |
addUser(String username)
Deprecated.
Use
UsersAndGroups.addUser(String) instead. |
void |
addUser(String username,
String password,
String fullname,
String emailAddress)
Deprecated.
|
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)
|
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.
|
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.
|
void |
assertTableHasMatchingRow(com.meterware.httpunit.WebTable table,
Object[] expectedRow)
Deprecated.
|
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.
|
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.
|
void |
assignWorkflowScheme(long 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 projectName,
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<String,String> 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<String,String> 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<String,String> 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)
|
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,
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 |
createSessionSearchForAll()
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
TimeTracking.disable() 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.
|
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 <K,V> Map<K,V> |
easyMapBuild(K key1,
V value1)
Deprecated.
|
static <K,V> Map<K,V> |
easyMapBuild(K key1,
V value1,
K key2,
V value2)
Deprecated.
|
static <K,V> Map<K,V> |
easyMapBuild(K key1,
V value1,
K key2,
V value2,
K key3,
V value3)
Deprecated.
|
void |
editIssueType(String issueTypeId,
String name,
String description)
Deprecated.
Modifies the issue type with the given id to have the given properties.
|
void |
editIssueType(String issueTypeId,
String name,
String description,
Long avatarId)
Deprecated.
Modifies the issue type with the given id to have the given properties.
|
void |
editIssueType(String issueTypeId,
String name,
String description,
String iconUrl)
Deprecated.
iconUrl is no longer available from web, use
editIssueType(String, String, String, Long) |
void |
editIssueWithCustomFields(String issueKey,
List<CustomFieldValue> 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 |
enableUnassignedIssues()
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<String> |
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(com.atlassian.jira.functest.framework.Navigation.AdminSection) 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.
|
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 |
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 |
gotoVersionBrowse(String projectKey,
String versionName)
Deprecated.
|
void |
gotoWorkFlow()
Deprecated.
Use
ViewWorkflows.goTo() instead. |
void |
gotoWorkFlowScheme()
Deprecated.
|
void |
grantGlobalPermission(int permissionCode,
String groupName)
Deprecated.
|
void |
grantGroupAllPermissions(String permission_scheme,
String groupName)
Deprecated.
broken do not use
|
void |
grantGroupPermission(int permission,
String groupName)
Deprecated.
Use
PermissionSchemesControl.addGroupPermission(Long, ProjectPermissionKey, String) from
Backdoor.permissionSchemes() instead and
pass as Long /the first argument. |
void |
grantGroupPermission(String permission_scheme,
int permission,
String groupName)
Deprecated.
Use
PermissionSchemesControl.addGroupPermission(Long, ProjectPermissionKey, String) from
Backdoor.permissionSchemes() instead. |
void |
grantPermissionToReporter(int permission)
Deprecated.
Use
PermissionSchemes.PermissionScheme#grantPermissionToReporter(ProjectPermissionKey) instead. |
void |
grantPermissionToUserCustomField(String permissionScheme,
String customFieldName,
int permission)
Deprecated.
Use
PermissionSchemes.PermissionScheme#grantPermissionToUserCustomFieldValue(ProjectPermissionKey, String) instead. |
protected void |
grantPermissionToUserInEnterprise(int permission,
String username)
Deprecated.
Use
PermissionSchemesControl.addUserPermission(long, ProjectPermissionKey, String) from
Backdoor.permissionSchemes() instead and
pass as long /the first argument. |
void |
grantRolePermission(int permission,
int role)
Deprecated.
Use
PermissionSchemesControl.addProjectRolePermission(long, ProjectPermissionKey, long) from
Backdoor.permissionSchemes() instead and
pass as the first argument. |
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
|
boolean |
linkedStatusExists(String linkedStatus)
Deprecated.
|
void |
linkIssueWithComment(String currentIssueKey,
String link,
String destinationIssueKey,
String comment,
String commentLevel)
Deprecated.
|
void |
linkIssueWithComment(String currentIssueKey,
String link,
String destinationIssueKey,
String comment,
String commentLevel,
String expectedText)
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 |
moveOptionsToPositions(String[] optionValue,
String[] optionId,
String itemType,
Map<String,String> 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.
|
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
PermissionSchemesControl.removeGroupPermission(long, ProjectPermissionKey, String) from
Backdoor.permissionSchemes() instead and
pass as long /the first argument. |
void |
removeGroupPermission(String permission_scheme,
int permission,
String groupName)
Deprecated.
Use
PermissionSchemesControl.removeGroupPermission(long, ProjectPermissionKey, String) from
Backdoor.permissionSchemes() instead. |
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.
Use
PermissionSchemesControl.removeProjectRolePermission(long, ProjectPermissionKey, long) from
Backdoor.permissionSchemes() instead and
pass as the first argument. |
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 |
showIssues(String jql)
Deprecated.
|
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.
|
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.
since 7.0; only required during migration of 6.x HSQL installation to 7.x H2
|
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
XPathLocator s |
assertCollapsedTextSequence, assertLessThan, assertLinkWithNameExists, assertLinkWithNameNotPresent, assertLinkWithTextExists, assertLinkWithTextNotPresent, assertTextPresent, assertTextPresentAfterText, assertTextPresentBeforeText, assertTextPresentOnlyOnce, assertTextSequence, assertTextSequence, clickAnyButtonWithValue, clickButtonWithValue, findTextSequence, flattenArray, getCollapsedResponseText, getFirstWebTableWithClass, getResponseText, getWebTablesWithClass, getWebTableWithID, hasLinkWithName, hasLinkWithText
assertElementNotPresent, assertElementNotPresentBy, assertElementPresent, assertElementPresentBy, assertOptionValueNotPresent, assertOptionValuePresent, assertTextInTable, assertTextNotPresent, assertTextPresent, clickCancelButton, log, log, log, logSection, raiseRuntimeException, selectMultiOption, selectMultiOptionByValue, selectOption, submit, waitAndReloadBulkOperationProgressPage, waitAndReloadBulkOperationProgressPage, waitAndReloadBulkOperationProgressPage
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
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, setName, toString
protected JIRAEnvironmentData environmentData
JIRAEnvironmentData
in playprotected Navigation navigation
Navigation
helper in playprotected Form form
protected HtmlPage page
protected Administration administration
Administration
helper in playprotected Backdoor backdoor
Backdoor
helper in play,
which can make sly RPCs to the server.protected IssueTableClient issueTableClient
protected Assertions assertions
Assertions
helper in playprotected TextAssertions text
TextAssertions
helper in
playprotected IssueTableAssertions issueTableAssertions
IssueTableAssertions
helper
in playprotected com.atlassian.jira.testkit.client.log.FuncTestLogger log
FuncTestLogger
in playprotected LocatorFactory locator
LocatorFactory
in playpublic static final String FIELD_SCOPE_GLOBAL
public static final String PAGE_ISSUE_TYPE_SCREEN_SCHEMES
public static final String PAGE_ENTERPRISE_FIELD_CONFIGURATIONS
public static final String PAGE_USER_BROWSER
public static final String PAGE_NOT_STANDARD_VIEW_FIELD_SCREEN_SCHEMES
public static final float JDK_1_5_VERSION
public static final String BULK_TRANSITION_ELEMENT_NAME
public JIRAWebTest(String name)
public JIRAWebTest(String name, JIRAEnvironmentData environmentData)
public net.sourceforge.jwebunit.WebTester getTester()
getTester
in class net.sourceforge.jwebunit.WebTestCase
public HtmlPage getPage()
public JIRAEnvironmentData getEnvironmentData()
public void setEnvironmentData(JIRAEnvironmentData environmentData)
setEnvironmentData
in interface EnvironmentAware
public Administration getAdministration()
public Backdoor getBackdoor()
protected Assertions getAssertions()
public Navigation getNavigation()
public FuncTestWebClientListener getWebClientListener()
public String getRedirect()
public void assertRedirect(String path)
public void assertRedirectPath(String s)
protected void jiraLog(String message, boolean testStarted)
public void dumpScreen(String filename)
@Deprecated public void login(String usernameAndPassword)
Navigation.login(String)
()} instead.usernameAndPassword
- the username and password duh.@Deprecated public void login(String username, String password)
Navigation.login(String, String)
instead.@Deprecated public void logout()
Navigation.logout()
instead.public Object getFormElement(String form, String elementId)
FormControl
with elementId in the specified form.form
- name of the form to look for the elementelementId
- the id of the element to getFormControl
of the elementpublic String[] getFormParameterValues(String form, String elementName)
public String getFormElementValue(String form, String elementId)
form
- form the field resides inelementId
- id of the fieldpublic boolean isFormElementDisabled(String form, String elementId)
form
- form the field resides inelementId
- id of the fieldpublic String[] getFormElementValues(String form, String elementId)
form
- form the field resides inelementId
- id of the fieldpublic void assertOptionSelected(String elementId, String expectedValue)
assertOptionSelectedById(String, String)
to check if an id has been selectedelementId
- id of the option (select/radio) fieldexpectedValue
- the expected value (the display name) to be selectedpublic void assertOptionsEqualIgnoreOrder(String selectName, String[] expectedOptions)
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).public void assertOptionSelectedById(String elementId, String expectedId)
assertOptionSelected(String, String)
to check if a specific value has been selectedelementId
- id of the option (select/radio) fieldexpectedId
- the expected id to be selectedpublic void assertFormElementHasValue(String fieldId, String expectedValue)
fieldId
- id of the option (select/radio) fieldexpectedValue
- the expected value of the formpublic void assertFormElementHasValue(String formNameOrId, String fieldId, String expectedValue)
formNameOrId
- Name or Id of the formfieldId
- id of the option (select/radio) fieldexpectedValue
- the expected value of the formpublic void assertFormElementWithNameHasValue(String fieldName, String expectedValue)
fieldName
- name of the fieldexpectedValue
- the expected value of the fieldpublic void assertFormElementWithNameHasValue(String formNameOrId, String fieldName, String expectedValue)
formNameOrId
- Name or Id of the formfieldName
- name of the fieldexpectedValue
- the expected value of the fieldpublic void assertFormTextAreaHasValue(String fieldId, String expectedValue)
fieldId
- id of the textarea to checkexpectedValue
- the expected value of the textareapublic void assertFormTextAreaHasValue(String formNameOrId, String fieldId, String expectedValue)
formNameOrId
- Name or Id of the formfieldId
- id of the textarea to checkexpectedValue
- the expected value of the textarea@Deprecated public void clickOnAdminPanel(String adminsubject, String adminpage)
Navigation.gotoAdminSection(com.atlassian.jira.functest.framework.Navigation.AdminSection)
@Deprecated public long addProject(String name, String key, String lead)
Project.addProject(String, String, String)
instead.name
- the name of the project.key
- the project key.lead
- the username of the project lead.public void deleteProject(String project)
project
- the project name.public String addComponent(String projectName, String name)
projectName
- the name of the project.name
- the name of the component.public String addComponent(String projectName, String name, String componentLead)
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.public void deleteVersion(Long id)
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)
public String addIssue(String project, String projectKey, String issueType, String summary)
IssueNavigation.createIssue(String,
String, String)
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)
public String addIssueViaRest(String project, String projectKey, String issueType, String summary, String priority, String assignTo, String environment, String description)
addIssue(String, String, String,
String, String, String[], String[], String[], String, String, String, String, String, String)
in that it expects
the username for assignTo instead of the full name. Not all features currently work, so beware.public IssueCreateResponse addIssueViaRestForResponse(String project, String projectKey, String issueType, String summary, String priority, String assignTo, String environment, String description)
public String extractIssueKey(String projectKey) throws IOException
IOException
public String getIssueKeyWithSummary(String summary, String projectKey)
@Deprecated public String getIssueIdWithIssueKey(String issueKey)
IssueNavigation.getId(String)
instead.issueKey
- The keys of the issue in play.@Deprecated public void deleteIssue(String issueKey)
IssueNavigation.deleteIssue(String)
instead.protected final void deleteCurrentIssue()
public void progressWorkflow(String issueKey, int actionKey, String comment)
public void progressAndResolve(String issueKey, int actionKey, String comment)
public void changeWorkflow(String issueKey, int actionKey)
public void assignIssue(String issueKey, String comment, String userFullName)
IssueNavigation.assignIssue(String,
String, String)
comment
- the comment to leave on the assignment action - may be null for no comment.@Deprecated public void addUser(String username)
UsersAndGroups.addUser(String)
instead.username
- the username.@Deprecated public void addUser(String username, String password, String fullname, String emailAddress)
UsersAndGroups.addUser(String, String, String,
String)
instead.public void navigateToUser(String username)
public void deleteUser(String username)
public void runQuickSearch(String searchInput)
public void displayAllIssues()
IssueNavigatorNavigation.displayAllIssues()
public void assertIssueNavigatorDisplaying(String from, String to, String of)
@Deprecated public void gotoIssue(String issueKey)
IssueNavigation.gotoIssue(String)
instead.issueKey
- the issue keypublic void goToProject(String project_name)
project_name
- the name of the project.@Deprecated public void gotoAdmin()
Navigation.gotoAdmin()
or even better Navigation.gotoAdminSection(com.atlassian.jira.functest.framework.Navigation.AdminSection)
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.
public void gotoNavigator()
@Deprecated public void addUserToGroup(String userName, String groupName)
UsersAndGroups.addUserToGroup(String, String)
instead.public void addUserToProjectRole(String userName, String projectName, String roleName)
public void addGroupToProjectRole(String groupName, String projectName, String roleName)
public void removeUserFromProjectRole(String userName, String projectName, String roleName)
public void removeGroupFromProjectRole(String groupName, String projectName, String roleName)
public void assertUserIsMemberOfGroups(String username, Collection expectedGroupNames)
username
- username of the user to check group membershipexpectedGroupNames
- all the group names the user is expected to be a member ofprotected void gotoDashboard()
@Deprecated public void removeUserFromGroup(String userName, String groupName)
UsersAndGroups.removeUserFromGroup(String,
String)
instead.@Deprecated public void createGroup(String groupName)
UsersAndGroups.addGroup(String)
instead.@Deprecated public void removeGroup(String groupName)
UsersAndGroups.deleteGroup(String)
instead.public void addColumnToIssueNavigator(String[] fieldNames)
public void addColumnToIssueNavigatorById(String[] fieldIds)
public void restoreColumnDefaults()
public void createIssueStep1()
public void gotoFieldLayoutSchemes()
public void addFieldLayoutScheme(String scheme_name, String scheme_desc)
public void deleteFieldLayoutScheme(String scheme_name)
public void copyFieldLayout(String fieldLayoutName)
public void addFieldLayoutSchemeEntry(String issueTypeName, String fieldLayoutName, String schemeName)
public void associateFieldLayoutScheme(String project, String issue_type, String scheme_name)
public void removeAssociationWithFieldLayoutScheme(String project, String issue_type, String scheme_name)
public void setHiddenFieldsOnEnterprise(String fieldLayoutName, String fieldName)
public void showIssues(String jql)
public void setShownFieldsOnEnterprise(String fieldLayoutName, String fieldName)
public void setRequiredFieldsOnEnterprise(String fieldLayoutName, String fieldName)
public void setOptionalFieldsOnEnterprise(String fieldLayoutName, String fieldName)
public void setRequiredField(String fieldName)
public void setRequiredFields()
public void setHiddenFields(String fieldName)
public void setShownFields(String fieldName)
public void resetFields()
public void setDueDateToRequried()
public void setSecurityLevelToRequried()
@Deprecated public void grantGlobalPermission(int permissionCode, String groupName)
Administration.addGlobalPermission(GlobalPermissionKey, String)
instead.@Deprecated public void removeGlobalPermission(int permissionCode, String groupName)
Administration.removeGlobalPermission(GlobalPermissionKey, String)
instead.public void createPermissionScheme(String permission_name, String permission_desc)
public void deletePermissionScheme(String permission_name)
public void associatePermSchemeToProject(String project, String permission_name)
@Deprecated public void removeGroupPermission(String permission_scheme, int permission, String groupName)
PermissionSchemesControl.removeGroupPermission(long, ProjectPermissionKey, String)
from
Backdoor.permissionSchemes()
instead.@Deprecated public void grantGroupPermission(String permission_scheme, int permission, String groupName)
PermissionSchemesControl.addGroupPermission(Long, ProjectPermissionKey, String)
from
Backdoor.permissionSchemes()
instead.@Deprecated public void grantGroupAllPermissions(String permission_scheme, String groupName)
@Deprecated public void removeGroupPermission(int permission, String groupName)
PermissionSchemesControl.removeGroupPermission(long, ProjectPermissionKey, String)
from
Backdoor.permissionSchemes()
instead and
pass as long
/the first argument.@Deprecated public void removeRolePermission(int permission, int role)
PermissionSchemesControl.removeProjectRolePermission(long, ProjectPermissionKey, long)
from
Backdoor.permissionSchemes()
instead and
pass as the first argument.@Deprecated public void grantGroupPermission(int permission, String groupName)
PermissionSchemesControl.addGroupPermission(Long, ProjectPermissionKey, String)
from
Backdoor.permissionSchemes()
instead and
pass as Long
/the first argument.@Deprecated public void grantRolePermission(int permission, int role)
PermissionSchemesControl.addProjectRolePermission(long, ProjectPermissionKey, long)
from
Backdoor.permissionSchemes()
instead and
pass as the first argument.public void gotoPermissionSchemes()
@Deprecated public void grantPermissionToUserCustomField(String permissionScheme, String customFieldName, int permission)
PermissionSchemes.PermissionScheme#grantPermissionToUserCustomFieldValue(ProjectPermissionKey, String)
instead.@Deprecated public void grantPermissionToReporter(int permission)
PermissionSchemes.PermissionScheme#grantPermissionToReporter(ProjectPermissionKey)
instead.@Deprecated public void removePermissionFromUserCustomField(String permissionScheme, String customFieldId, int permission)
@Deprecated public void activateTimeTracking()
TimeTracking.enable(com.atlassian.jira.functest.framework.admin.TimeTracking.Mode)
instead.@Deprecated public void deactivateTimeTracking()
TimeTracking.disable()
instead.public void reconfigureTimetracking(String format)
public void submitAtPage(String url, String button, String logOnFail)
url
- url to go to to submit the buttonbutton
- label on the button to submit at urllogOnFail
- null or a message to log if button isn't foundpublic void logWorkOnIssue(String issueKey, String timeLogged)
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)public void logWorkOnIssueWithComment(String issueKey, String timeLogged, String comment)
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.@Deprecated public void activateIssueLinking()
IssueLinking.enable()
instead.@Deprecated public void deactivateIssueLinking()
IssueLinking.disable()
instead.public void setComponentLead(String project, String userName, String fullName, String component)
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.public void setComponentName(String project, String oldComponentName, String newComponentName)
public void clearComponentLead(String project, String component)
public void setComponentAssigneeOptions(String project, String component, String option)
@Deprecated public void setUnassignedIssuesOption(boolean enable)
GeneralConfigurationImpl.setAllowUnassignedIssues(boolean)
instead.public void setProjectLead(String project, String username)
project
- the project key.username
- the username of the project lead.public void voteForIssue(String issueKey)
public void unvoteForIssue(String issueKey)
public void startWatchingAnIssue(String issueKey)
public void startWatchingAnIssue(String issueKey, String[] userNames)
public void stopWatchingAnIssue(String issueKey)
public void removeAllWatchers(String issueKey)
@Deprecated public void activateSubTasks()
Subtasks.enable()
instead.@Deprecated public boolean deactivateSubTasks()
Subtasks.disable()
instead.public String addSubTaskToIssue(String issueKey, String subTaskType, String subTaskSummary, String subTaskDescription, String originalEstimate)
issueKey
- the issue key of the parent.subTaskType
- the subtask issue type (try FunctTestConstants.ISSUE_TYPE_SUB_TASK
subTaskSummary
- the summary of the subtasksubTaskDescription
- the description for the subtaskoriginalEstimate
- the estimated time to complete the subtask (subtasks must be turned on)@Deprecated public String addSubTaskToIssue(String issueKey, String subTaskType, String subTaskSummary, String subTaskDescription)
IssueNavigation.createSubTask(String,
String, String, String)
public void createSubTaskType(String sub_task_name, String sub_task_description)
Subtasks.addSubTaskType(String, String)
instead.sub_task_name
- namesub_task_description
- descriptionpublic void deleteSubTaskType(String sub_task_name)
Subtasks.deleteSubTaskType(String)
instead.public void gotoIssueSecuritySchemes()
public void createSecurityScheme(String scheme_name, String scheme_description)
public void createSecurityLevel(String scheme_name, String level_name, String level_description)
public void addGroupToSecurityLevel(String scheme_name, String level_name, String groupName)
public void addGroupToSecurityLevel(String scheme_name, String level_name, String groupName, String[] expectedGroups)
public void addRoleToSecurityLevel(String scheme_name, String level_name, String roleName)
public void removeGroupFromSecurityLevel(String scheme_name, String level_name, String groupName)
public void removeRoleFromSecurityLevel(String scheme_name, String level_name, String roleId)
public void deleteSecurityScheme(String scheme_name)
public void deleteSecurityLevel(String scheme_name, String level_name)
public void removeAssociationOfSecuritySchemeFromProject(String project_name)
public void associateSecuritySchemeToProject(String project_name, String scheme_name)
public void gotoWorkFlowScheme()
@Deprecated public void gotoWorkFlow()
ViewWorkflows.goTo()
instead.public void addWorkFlowScheme(String workflowscheme_name, String workflowscheme_desc)
public void deleteWorkFlowScheme(String workflowscheme_name)
public void addWorkFlow(String workflow_name, String workflow_desc)
workflow_name
- name of the workflow.workflow_desc
- description of the workflow.public void deleteWorkFlow(String workflow_name)
@Deprecated public void copyWorkFlow(String original_workflow_name, String new_workflow_name, String new_workflow_desc)
ViewWorkflows.copyWorkflow(String, String,
String)
instead.public void deleteLinkedStatus(String statusId)
@Deprecated public void addTransition(String workflow_name, String step_name, String transition_name, String transition_desc, String destination_step, String transitionFieldScreen)
WorkflowSteps.addTransition(String, String,
String, String, String)
instead.public void editTransitionScreen(String workflow_name, String transition_name, String transitionFieldScreen)
public void deleteTransition(String workflow_name, String step_name, String transition_name)
public void activateWorkflow(String workflow_name)
public void assignWorkflowScheme(long workflowscheme_id, String issuetype, String workflow_name)
public void unassignWorkflowScheme(String workflowscheme_name, String issuetype, String workflow_name)
@Deprecated public void associateWorkFlowSchemeToProject(String project, String workflow_scheme)
Project.associateWorkflowScheme(String,
String)
instead.project
- the project nameworkflow_scheme
- the scheme nameprotected void assertIndexedFieldCorrect(String path, Map expectedItemNodes, Map unexpectedItemNodes, String issueKey)
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"public void gotoPageNoLog(String url)
public void gotoPage(String url)
gotoPage
in class net.sourceforge.jwebunit.WebTestCase
public void assertPageDoesNotExist(String assertionMessage, String url)
assertionMessage
- the assertion messageurl
- the url to the page we DONT want to existpublic void gotoCustomFields()
public String addCustomField(String fieldType, String fieldName)
fieldType
- use the constants CUSTOM_FIELD_TYPE*.fieldName
- a name for the field.public String addCustomField(String fieldType, String fieldScope, String fieldName, String fieldDescription, String issueType, String project, String searcher)
public String addCustomFieldWithMultipleIssueTypes(String fieldType, String fieldScope, String fieldName, String fieldDescription, String[] issueTypes, String project, String searcher)
public void deleteCustomField(String fieldId)
public void addCustomFieldOption(String fieldId, String fieldOption)
public void configureCustomFieldOption(String fieldId, String fieldOption)
public void configureDefaultCustomFieldValue(String fieldId, String fieldOption)
public void configureDefaultCheckBoxCustomFieldValue(String fieldId, String fieldOption)
public void configureDefaultMultiCustomFieldValue(String fieldId, String fieldOption, String fieldOption2)
public void delCustomFieldOption(String fieldId, String fieldOption)
public void removeAllCustomFields()
public String createCustomFields(String fieldType, String fieldScope, String fieldName, String fieldDescription, String issueType, String projectType, String[] fieldOptions)
public void editIssueWithCustomFields(String issueKey, List<CustomFieldValue> cfValues)
public void editIssueWithCustomFields(String issueKey, String customFieldId, String customFieldValue, String customFieldType)
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)
public void deleteAllIssuesInAllPages()
public void createSessionSearchForAll()
public boolean userExists(String userName)
public boolean fieldSchemeExists(String fieldSchemeName)
public boolean customFieldExists(String fieldName)
public boolean subTaskTypeExists(String subTaskType)
public boolean securtiySchemeExists(String securityScheme)
public boolean securtiyLevelExists(String securityScheme, String securityLevel)
public boolean permissionSchemeExists(String permissionScheme)
public boolean workflowSchemeExists(String workflowScheme)
public boolean workflowExists(String workflow)
public boolean linkedStatusExists(String linkedStatus)
public boolean projectExists(String project)
public void gotoFieldScreens()
public void gotoFieldScreen(String screenName)
public void gotoFieldScreenSchemes()
public void gotoFieldScreenScheme()
public void addFieldToFieldScreen(String screenName, String fieldName)
public void addFieldsToFieldScreen(String screenName, String[] fieldNames)
public void addFieldToFieldScreen(String screenName, String fieldName, String position)
public void removeFieldFromFieldScreen(String screenName, String[] fieldNames)
public String findRowWithName(String fieldTableName, int column, String fieldName)
public void copyScreen(String copiedScreenName, String newScreenName, String screenDescription)
public void deleteScreen(String screenName)
public void removeAllFieldScreens()
public void removeAllFieldScreenSchemes()
public void removeAllScreenAssociationsFromDefault()
public void gotoFieldScreenScheme(String schemeName)
public void addFieldScreenScheme(String schemeName, String schemeDescription, String fieldScreenDefault)
public void copyFieldScreenScheme(String copiedSchemeName, String schemeName, String schemeDescription)
public void deleteFieldScreenScheme(String schemeName)
public void addIssueOperationToScreenAssociation(String schemeName, String issueOperation, String screenName)
public void deleteIssueOperationFromScreenAssociation(String schemeName, String issueOperation)
public void removeAllFieldScreenAssociation(String schemeName)
public void removeAllIssueTypeScreenSchemes()
public void gotoIssueTypeScreenScheme(String schemeName)
public void addIssueTypeFieldScreenScheme(String schemeName, String schemeDescription, String defaultScreenScheme)
public void deleteIssueTypeFieldScreenScheme(String schemeId)
public void copyIssueTypeFieldScreenSchemeName(String copiedSchemeId, String schemeName, String schemeDescription)
protected void gotoIssueTypeScreenSchemes()
public void addIssueTypeToScreenAssociation(String issueTypeSchemeId, String issueType, String screenSchemeName)
public void associateIssueTypeScreenSchemeToProject(String projectName, String screenScheme)
public void addFieldToFieldScreenTab(String screenName, String tabName, String fieldName, String position)
public void removeFieldFromFieldScreenTab(String screenName, String tabName, String[] fieldNames)
public void restoreDefaultDashboard()
public void startDashboardConfiguration()
public void browseToFullConfigure()
public void addPortlet(String portlet)
portlet
- name of the portlet as defined in the plugin config.public int saveFilterAs(String filterName, String copyName, String copyDesc, String saveColumnOrder)
public void deleteAllFilter()
public void deleteFilter(String filterName)
filterName
- name of the filter to delete.public void gotoFilterById(long filterId)
IssueNavigatorNavigation.loadFilter(long)
filterId
- The id of the filter to loadpublic void gotoFilter(String filtername)
public void assertViewIssueFields()
public void moveOptionsToPositions(String[] optionValue, String[] optionId, String itemType, Map<String,String> moveToPosition)
public void checkOrderingUsingArrows(String[] optionValue, String[] optionId)
public String checkOrderingUsingMoveToPos(String[] optionValue, String[] optionId, String itemType)
public void resetInAscendingOrdering(String[] optionId, String itemType)
public void createNewFieldScreen(String[] optionId)
public void checkItemsAreInAscendingOrder(String[] optionValue)
@Deprecated public static <K,V> Map<K,V> easyMapBuild(K key1, V value1)
@Deprecated public static <K,V> Map<K,V> easyMapBuild(K key1, V value1, K key2, V value2)
@Deprecated public static <K,V> Map<K,V> easyMapBuild(K key1, V value1, K key2, V value2, K key3, V value3)
public void viewChangeHistoryOfIssue(String issueKey)
public void assertNoChangesForIssue(String issueKey)
public void assertLastChangeHistoryIs(String issueKey, String field, String originalValue, String newValue)
Assertions.assertLastChangeHistoryRecords(String,
com.atlassian.jira.webtests.ztests.workflow.ExpectedChangeHistoryRecord)
issueKey
- Which issue to checkfield
- The issue field as displayed on the change historyoriginalValue
- The expected original value for the change historynewValue
- The expected new value for the change historypublic void assertLastChangeNotMadeToField(String issueKey, String field)
public void assertErrorMsgFieldRequired(String fieldId, String project, String fieldDisplayName)
public void bulkChangeIncludeAllPages()
public void bulkChangeIncludeCurrentPage()
public void isStepChooseIssues()
public void isStepChooseOperation()
public void isStepOperationDetails()
Workflows.assertStepOperationDetails()
public void isStepConfirmation()
public void selectCheckbox(String cbox)
public void bulkChangeChooseIssuesAll()
public void bulkChangeChooseOperationDelete(boolean mailServerExists)
public void bulkChangeChooseOperationEdit()
public void chooseOperationBulkMove()
public void chooseOperationExecuteWorfklowTransition()
public void clickOnNext()
Navigation.clickOnNext()
public void bulkChangeCancel()
public void bulkChangeConfirm()
public float getJiraJavaVersion()
EnvironmentUtils.getJiraJavaVersion()
public boolean isBeforeJdk15()
EnvironmentUtils.isJavaBeforeJdk15()
@Deprecated public void restoreData(String fileName)
Administration.restoreData(String)
instead.public void restoreDataWithFullRefresh(String fileName)
ie it does not do a "Quick Import".
fileName
- XML Restore filerestoreData(String)
protected void copyFileToJiraImportDirectory(File file)
public void restoreData(File file)
public void restoreData(File file, boolean quickImport)
public void restoreI18nData(String fileName)
fileName
- The name of the data file from which to restore the datapublic void restoreI18nData(File file)
file
- The data file from which to restore the datapublic void restoreDataWithLicense(String fileName, String licenseKey)
public void start()
public void split()
public void stop()
@Deprecated public void restoreBlankInstance()
Backdoor.restoreBlankInstance()
instead.public void enableUnassignedIssues()
public void disableUnassignedIssues()
public void setBaseUrl()
public void setBaseUrl(String baseUrl)
GeneralConfiguration.setBaseUrl(String)
public void addIssueTypeStatsPortlet(String filterName)
public void createProjectCategory(String categoryName, String categoryDescription)
public void deleteProjectCategory(String categoryName)
public void gotoProjectCategories()
public void placeProjectInCategory(String projectName, String categoryName)
public boolean projectCategoryExists(String categoryName)
@Deprecated public void gotoProjectBrowse(String key)
Navigation.browseProject(String)
instead.key
- The project key.public void gotoComponentBrowse(String projectKey, String componentName)
public void gotoIssueTabPanel(String issueKey, String issueTabName)
issueKey
- issue key of the issue to seeissueTabName
- valid issue tab names are: FunctTestConstants.ISSUE_TAB_ALL
FunctTestConstants.ISSUE_TAB_COMMENTS
FunctTestConstants.ISSUE_TAB_WORK_LOG
FunctTestConstants.ISSUE_TAB_CHANGE_HISTORY
public void gotoProjectTabPanel(String projectKey, String projectTabName)
projectKey
- project key of the project to seeprojectTabName
- valid project tab names are: FunctTestConstants.PROJECT_TAB_OPEN_ISSUES
FunctTestConstants.PROJECT_TAB_ROAD_MAP
FunctTestConstants.PROJECT_TAB_CHANGE_LOG
public void setFieldConfigurationFieldToRenderer(String configuration, String fieldId, String renderer)
public void setFieldConfigurationFieldToRenderer(String configuration, String fieldId, String renderer, boolean assertWarningNotPresent)
public void gotoFieldLayoutConfiguration(String configuration)
public void gotoPluginsScreen()
public void gotoFieldLayouts()
public void deleteEventType(String name)
public void checkEventTypeDetails(String eventTypeName, String eventTypeDesc, String status, String template, String notificationScheme, String workflow)
public void checkNotificationForEvent(String eventTypeName, String notificationType, String template)
@Deprecated public void disableIssueLinks()
IssueLinking.disable()
insteadpublic void createClonersLinkType()
public void setBulkEditFieldTo(String field, String listValue)
public void bulkEditOperationDetailsSetAs(Map<String,String> fields)
fields
- A map woth field ids as keys and field values (have to be simple Strings) as values.public void bulkEditConfirmEdit(Map<String,String> fields)
fields
- a map with field ids as keys and simple Strings as values.public void bulkChangeSelectIssue(String key)
public void bulkChangeSelectIssues(Collection keys)
public String createIssueLinkType(String name, String outwardLinkName, String inwardLinkName)
public void linkIssueWithComment(String currentIssueKey, String link, String destinationIssueKey, String comment, String commentLevel, String expectedText)
public void linkIssueWithComment(String currentIssueKey, String link, String destinationIssueKey, String comment, String commentLevel)
public boolean isMailServerExists()
public String getRegexMatch(String regex) throws org.apache.oro.text.regex.MalformedPatternException
regex
- regexorg.apache.oro.text.regex.MalformedPatternException
- if regex is malformedpublic void assertRegexMatch(String regex, boolean multiline)
regex
- the regular expression to match.multiline
- true iff the regex should match across lines, false otherwise.public void gotoProjectRolesScreen()
public void editIssueType(String issueTypeId, String name, String description, String iconUrl)
editIssueType(String, String, String, Long)
public void editIssueType(String issueTypeId, String name, String description)
issueTypeId
- the id of the issue type to edit.name
- the new name of the issue type.description
- the new description of the issue typepublic void editIssueType(String issueTypeId, String name, String description, Long avatarId)
issueTypeId
- the id of the issue type to edit.name
- the new name of the issue type.description
- the new description of the issue typeavatarId
- the new avatar for issue type@Deprecated public String addIssueType(String name, String desc, String iconUrl)
public String addIssueType(String name, String desc)
name
- The name of the issue type.desc
- The description.public final void associateWorkFlowSchemeToProject(String project, String workflow_scheme, Map<String,String> statusMapping)
protected void enableCommentGroupVisibility(Boolean enable)
enable
- true = enable, false = disable@Deprecated protected void addCommentOnCurrentIssue(String comment)
IssueNavigation.addComment(String,
String)
instead.comment
- the comment body.@Deprecated protected void addCommentOnCurrentIssue(String comment, String roleLevel)
IssueNavigation.addComment(String,
String, String)
instead.comment
- the comment body.roleLevel
- role level, null does not select any role levelprotected boolean tableCellHasText(com.meterware.httpunit.WebTable table, int row, int col, String text)
TableAssertions.assertTableCellHasText(com.meterware.httpunit.WebTable, int, int, String)
instead.protected boolean tableCellDoesNotHaveText(com.meterware.httpunit.WebTable table, int row, int col, String text)
protected boolean tableCellHasStrictText(com.meterware.httpunit.WebTable table, int row, int col, String text)
tableCellHasText(com.meterware.httpunit.WebTable, int, int, String)
but if the text is an empty
string ("") than make sure the table cell trimmed is equalprotected boolean tableCellHasLinkThatContains(com.meterware.httpunit.WebTable table, int row, int col, String link)
link
- URLprotected void assertTableCellHasImage(com.meterware.httpunit.WebTable table, int row, int col, String stringInImageSource)
protected void assertTableCellHasNoImage(com.meterware.httpunit.WebTable table, int row, int col)
protected boolean tableCellHasNoLinks(com.meterware.httpunit.WebTable table, int row, int col)
public void assertTableRowEquals(com.meterware.httpunit.WebTable table, int row, Object[] expectedRow)
TableAssertions.assertTableRowEquals(com.meterware.httpunit.WebTable,
int, Object[])
table
- table to look up the rowrow
- the row number of the table to compareexpectedRow
- the expected row to matchpublic List<String> getTableRowAsList(com.meterware.httpunit.WebTable table, int row)
table
- table to get the row fromrow
- the row index starting from 0 to extract the row frompublic void assertTableHasNoMatchingRow(com.meterware.httpunit.WebTable table, Object[] expectedRow)
table
- table to check the expectedRow does not exist inexpectedRow
- the row that should not be in the tablepublic void assertTableHasNoMatchingRow(com.meterware.httpunit.WebTable table, int minRow, Object[] expectedRow)
table
- table to check the expectedRow does not exist inminRow
- the starting row index (inclusive)expectedRow
- the row that should not be in the tablepublic void assertTableHasNoMatchingRowFromTo(com.meterware.httpunit.WebTable table, int minRow, int maxRow, Object[] expectedRow)
table
- table to check the expectedRow does not exist inminRow
- the starting row index (inclusive)maxRow
- the ending row index (exclusive)expectedRow
- the row that should not be in the tablepublic void assertTableHasOnlyNMatchingRows(com.meterware.httpunit.WebTable table, int n, Object[] expectedRow)
table
- table to check the expectedRow exist inexpectedRow
- the row that should be in the tablen
- the number of times the expectedRow should appear in the tablepublic void assertTableHasMatchingRow(com.meterware.httpunit.WebTable table, Object[] expectedRow)
TableAssertions.assertTableContainsRow(com.meterware.httpunit.WebTable,
String[])
table
- table to check for the expectedRowexpectedRow
- the row to look forpublic void assertTableHasMatchingRowFrom(com.meterware.httpunit.WebTable table, int minRow, Object[] expectedRow)
table
- table to check for the expectedRowminRow
- the starting row to look for the expectedRow (inclusive)expectedRow
- the row to look forpublic void assertTableHasMatchingRowFromTo(com.meterware.httpunit.WebTable table, int minRow, int maxRow, Object[] expectedRow)
table
- table to check for the expectedRowminRow
- the starting row to look for the expectedRow (inclusive)maxRow
- the last row to look for the expectedRow (exclusive)expectedRow
- the row to look forpublic int tableIndexOf(com.meterware.httpunit.WebTable table, Object[] expectedRow)
public int tableIndexOf(com.meterware.httpunit.WebTable table, int minRow, Object[] expectedRow)
public int tableIndexOf(com.meterware.httpunit.WebTable table, List expectedRow)
public int tableIndexOf(com.meterware.httpunit.WebTable table, int minRow, List expectedRow)
public int tableIndexOf(com.meterware.httpunit.WebTable table, int minRow, int maxRow, List expectedRow)
tableRowEquals(com.meterware.httpunit.WebTable, int,
java.util.List)
to determine if the rows matchtable
- table to look up the expectedRowminRow
- the starting row to look for the expectedRow (inclusive)maxRow
- the last row to look for the expectedRow (exclusive)expectedRow
- the row to look forpublic boolean tableHasSubTable(com.meterware.httpunit.WebTable table, Object[][] expectedSubTable)
table
- table to check if it has the subtableexpectedSubTable
- the subtable to look forpublic void assertTableHasSubTable(com.meterware.httpunit.WebTable table, Object[][] expectedSubTable)
public void assertTextListPresent(Iterable<String> iterable)
iterable
- of stringspublic void assertTextListNotPresent(Iterable<String> iterable)
iterable
- of strings@Deprecated public void checkCommentVisibility(String usernameAndPassword, String issueKey, Iterable<String> expectedPresentComments, Iterable<String> expectedAbsentComments)
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
usernameAndPassword
- - must be a valid login username/password combination where username = passwordissueKey
- - issuekey of issue comments we are checkingexpectedPresentComments
- - List of comments in the form of strings that should be visible to the user when
viewing that issueexpectedAbsentComments
- - List of comments in the form of strings that should *NOT* be visible to the user
when viewing that issuepublic void toggleExternalUserManagement(boolean enable)
protected void assertSubTaskConversionPanelSteps(String key, int currentStep)
public void gotoConvertIssue(String issueId)
public void gotoConvertIssueStep2(String issueId, String parent, String issueType)
public void gotoConvertSubTask(String issueId)
public void gotoConvertSubTaskStep2(String issueId, String issueType)
protected void gotoConvertIssueStep3(String issueId, String parentKey, String issueType, String status)
public void assertLinkPresentWithSubString(String linkId, String urlSubString)
linkId
- the id attribute.urlSubString
- the expected sub-string of the href of the link.public void assertLinkPresentWithoutSubString(String linkId, String urlSubString)
linkId
- the id attribute.urlSubString
- the sub-string that should not appear in the href of the link.public void assertLinkPresentWithURL(String linkId, String urlSuffix)
linkId
- the id attribute.urlSuffix
- the expected suffix of the href of the link.public void assertLinkWithTextUrlEndsWith(String linkText, String urlSuffix)
LinkAssertions.assertLinkLocationEndsWith(String,
String)
linkText
- the link text.urlSuffix
- the expected url suffix.public void assertLinkWithTextUrlContains(String linkText, String[] strings)
linkText
- the link text.strings
- the expected portions of the URL in the link.public void assertTableCellHasText(String tableId, int row, int column, String text)
TableAssertions.assertTableCellHasText(com.meterware.httpunit.WebTable,
int, int, String)
protected void assertResponseCanBeCached()
protected void assertResponseCannotBeCached()
protected void gotoDefaultPermissionScheme()
@Deprecated protected void grantPermissionToUserInEnterprise(int permission, String username)
PermissionSchemesControl.addUserPermission(long, ProjectPermissionKey, String)
from
Backdoor.permissionSchemes()
instead and
pass as long
/the first argument.Permissions
constant to the specified user to the default permission
scheme. Only works in enterprise.username
- the user who ispermission
- a Permissions
constant@Deprecated public void addProjectAdminPermission(int permission, String group)
protected void gotoFieldConfigurationDefault()
protected void assertTableCellContainsFixVersionsLinks(com.meterware.httpunit.TableCell fixVersionsCell, int expectedLinkCount)
protected void assertTableCellContainsNoFixVersionsLinks(com.meterware.httpunit.TableCell fixVersionsCell)
protected void assertTableCellContainsPriorityIcon(com.meterware.httpunit.TableCell tableCell)
protected void assertTableCellContainsNoPriorityIcon(com.meterware.httpunit.TableCell tableCell)
public void dumpResponse()
dumpResponse
in class WebTestCaseWrapper
public void dumpResponse(Throwable t)
dumpResponse
in class WebTestCaseWrapper
t
- the Throwable in questionprotected void logWork(String issueKey, String timeLogged, String newEstimate)
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.protected void setEstimate(String time)
time
- formatted time estimate e.g. 3h 30m.protected void waitForSuccessfulWorkflowSchemeMigration(String projectName, String targetWorkflowName)
projectName
- the name of the project to associate the worflow scheme totargetWorkflowName
- the name of the workflow scheme to associate the project toprotected long getSubmittedTaskId()
protected void switchToPersonalLicense()
protected void switchLicense(String licenseKey, String licenseDescription)
protected void waitForTaskAcknowledgement(long taskId)
taskId
- the task to wait for until it is in acknowledge stateprotected void validateProgressBarUI(String desiredTaskState)
- 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
desiredTaskState
- one of the aboveprotected void waitForSuccessfulWorkflowActivation(String targetWorkflowName)
targetWorkflowName
- the name of the workflow.protected void associateIssueLevelSecuritySchemeToProject(String projectName, String schemeName)
protected void gotoPortletConfig()
protected void assertHelpLinkWithStringInUrlPresent(String linkPart)
linkPart
- part of the link's URL that needs to be presentprotected void assertTextNotInColumn(String tableId, int column, String text) throws SAXException
SAXException
protected void assertTableCellHasNotText(String tableId, int row, int col, String text) throws SAXException
SAXException
protected String getEdition()
protected void assertRedirectAndFollow(String url, String redirectRegex)
public void addWorkflowPostfunction(String workflowName, String stepName, String transitionName, String postFunctionName)
protected void addWorkflowCondition(String workflowName, String stepName, String condition)
protected void addWorkflowCondition(String workflowName, String stepName, String condition, JIRAWebTest.ParameterEnterer paramEnterer)
protected void addWorkflowValidator(String workflowName, String stepName, String validator)
protected void addWorkflowValidator(String workflowName, String stepName, String validator, JIRAWebTest.ParameterEnterer paramEnterer)
@Deprecated protected String getBuild()
public boolean usingHsqlDb() throws IOException
IOException
protected XPathLocator xpath(String xpathExpression)
XPathLocator
sxpathExpression
- the xpath expressionpublic void setUp()
setUp
in class junit.framework.TestCase
public void init()
protected void setUpHttpUnitOptions()
HttpUnitOptions
that must be set before the WebTester
is usedpublic boolean isJiraSetup()
public void tearDown()
tearDown
in class WebTestCaseWrapper
protected void runTest() throws Throwable
runTest
in class junit.framework.TestCase
Throwable
Copyright © 2002-2016 Atlassian. All Rights Reserved.