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. |
protected EditIssueFieldVisibility |
editIssueFieldVisibility
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 Indexing |
indexing
Deprecated.
|
protected IssueTableAssertions |
issueTableAssertions
Deprecated.
Use this field to access the
IssueTableAssertions helper
in play |
protected IssueTableClient |
issueTableClient
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_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 |
protected TextAssertions |
textAssertions
Deprecated.
|
ADMIN_EMAIL, ADMIN_FULLNAME, ADMIN_PASSWORD, ADMIN_USERKEY, ADMIN_USERNAME, ADMINISTER, ADMINS_CAN_EDIT_PRIVATE_FILTERS_AND_DASHBOARDS, ADMINS_CAN_SHARE_FILTERS_AND_DASHBOARDS_WITH_ALL_GROUPS_AND_ROLES, ADVANCED_AUDIT_LOG_FLAG, AFFECTS_VERSIONS_FIELD_ID, ANYONE, ASSIGN_FIELD_SCREEN, ASSIGN_FIELD_SCREEN_NAME, ASSIGN_ISSUE, ASSIGNABLE_USER, ASSIGNEE_FIELD_ID, ATTACHMENT_FIELD_ID, BIGPIPE_KILLSWITCH_FLAG, BOB_EMAIL, BOB_FULLNAME, BOB_PASSWORD, BOB_USERNAME, BRAZIL_LOCALE_ID, BROWSE, BUILT_IN_CUSTOM_FIELD_KEY, BULK_CHANGE, BUTTON_CANCEL, BUTTON_CONFIRM, BUTTON_NAME_NEXT, BUTTON_NEXT, CHANGE_HISTORY, CHINA_LOCALE_ID, 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, COMMENT_REACTIONS, 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_FREETEXT, 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_READONLYTEXT, 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, CZECH_LOCALE_ID, 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, DENMARK_LOCALE_ID, DISABLE_LAZY_LOAD_ACTIVITY_TABS_FLAG, 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, FRANCE_LOCALE_ID, FRED_EMAIL, FRED_FULLNAME, FRED_PASSWORD, FRED_USERKEY, FRED_USERNAME, FRENCH_LOCALISED, FS, FUNC_TEST_PLUGIN_KEY, FUNC_TEST_PLUGIN_REST_PATH, FUNCTEST_CUSTOM_FIELD_KEY, FUNCTEST_CUSTOM_FIELD_TYPE_TEXTAREA, GERMAN_LOCALISED, GERMANY_LOCALE_ID, GLOBAL_ADMIN, GROUP_LABEL_ADMIN, GROUP_LABEL_FUNC_TEST, GROUP_LABEL_JIRA_CORE, GROUP_LABEL_MULTI, HTM, HUNGARY_LOCALE_ID, 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, ITALY_LOCALE_ID, JAPAN_LOCALE_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, KOREA_LOCALE_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, MOON_LOCALE, MOVE_DOWN, MOVE_ISSUE, MOVE_TO_FIRST, MOVE_TO_LAST, MOVE_UP, NETHERLANDS_LOCALE_ID, NORWAY_LOCALE_ID, PERM_SCHEME_DESC, PERM_SCHEME_ID, PERM_SCHEME_NAME, POLAND_LOCALE_ID, 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, RUSSIA_LOCALE_ID, 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, SER_ALLOW_SHARE_WITH_NON_MEMBER, SET_ISSUE_SECURITY, SLOVAKIA_LOCALE_ID, SPAIN_LOCALE_ID, 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, SWEDEN_LOCALE_ID, 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, TRANSITION_ID_STATUS_APPROVED_ACTION_REOPEN, TRANSITION_ID_STATUS_CLOSED_ACTION_REOPEN, TRANSITION_ID_STATUS_IN_PROGRESS_ACTION_STOP_PROGRESS, TRANSITION_ID_STATUS_OPEN_ACTION_CLOSE, TRANSITION_ID_STATUS_OPEN_ACTION_RESOLVE, TRANSITION_ID_STATUS_OPEN_ACTION_START_PROGRESS, TRANSITION_ID_STATUS_RESOLVED_ACTION_APPROVE, UK_LOCALE_ID, UNKNOWN, UNKNOWN_ID, US_LOCALE_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()
Deprecated.
|
JIRAWebTest(JIRAEnvironmentData environmentData)
Deprecated.
|
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.
moved to
TestIssueSecurityActions |
String |
addComponent(String projectName,
String name,
String componentLead)
Deprecated.
moved to
TestIssueSecurityActions |
String |
addCustomField(String fieldType,
String fieldName)
Deprecated.
Use
CustomFields class instead. |
String |
addCustomField(String fieldType,
String fieldScope,
String fieldName,
String fieldDescription,
String issueType,
String project,
String searcher)
Deprecated.
Use
CustomFields class instead. |
void |
addCustomFieldOption(String fieldId,
String fieldOption)
Deprecated.
Use
CustomFields class instead. |
String |
addCustomFieldWithMultipleIssueTypes(String fieldType,
String fieldScope,
String fieldName,
String fieldDescription,
String[] issueTypes,
String project,
String searcher)
Deprecated.
Use
CustomFields class instead. |
void |
addFieldLayoutScheme(String scheme_name,
String scheme_desc)
Deprecated.
Inject and use
FieldLayoutSchemes.addFieldLayoutScheme(String, String) instead. |
void |
addFieldLayoutSchemeEntry(String issueTypeName,
String fieldLayoutName,
String schemeName)
Deprecated.
Inject and use
FieldLayoutSchemes.addFieldLayoutSchemeEntry(String, String, String) instead. |
void |
addFieldScreenScheme(String schemeName,
String schemeDescription,
String fieldScreenDefault)
Deprecated.
please use
Screens.addFieldScreenScheme(String, String) |
void |
addFieldsToFieldScreen(String screenName,
String[] fieldNames)
Deprecated.
|
void |
addFieldToFieldScreen(String screenName,
String fieldName)
Deprecated.
Use
ScreensControl.addFieldToScreen(java.lang.String, java.lang.String)# instead. Since v7.1. |
void |
addFieldToFieldScreen(String screenName,
String fieldName,
String position)
Deprecated.
|
void |
addFieldToFieldScreenTab(String screenName,
String tabName,
String fieldName,
String position)
Deprecated.
Inline this method.
|
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.
moved to
TestFieldScreens |
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.
Use
IssueSecurityLevel.addRole(java.lang.String) instead. |
void |
addScreen(String screenName,
String screenDescription)
Deprecated.
please use
Screens.addScreen(String, String) |
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.
Inline this method
|
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.
moved to
TestIssueSecurityActions |
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 |
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.
use
WebTester.assertTextPresent(String text) like this:
assertTextPresent(""" + fieldId + "" field is required and the project "" + project + "" does not have any " + fieldDisplayName); |
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.
|
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.
using
Assertions.assertLastChangeHistoryRecords(String,
com.atlassian.jira.webtests.ztests.workflow.ExpectedChangeHistoryRecord) for inspecting history makes this method not
useful at all |
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.
please use please use
Assertions.assertLastChangeHistoryRecords(String, List)
with an empty list. |
void |
assertOptionSelected(String elementId,
String expectedValue)
Deprecated.
|
void |
assertOptionSelectedById(String elementId,
String expectedId)
Deprecated.
|
void |
assertOptionsEqualIgnoreOrder(String selectName,
String[] expectedOptions)
Deprecated.
A more robust version of
WebTestCase.assertOptionsEqual(String, String[]) . |
void |
assertRedirect(String path)
Deprecated.
|
protected void |
assertRedirectAndFollow(String url,
String redirectRegex)
Deprecated.
Use
AssertRedirect.assertRedirectAndFollow(java.lang.String, java.lang.String) instead. Since v7.2. |
void |
assertRedirectPath(String s)
Deprecated.
|
void |
assertRegexMatch(String regex,
boolean multiline)
Deprecated.
Use
TextAssertions.assertRegexMatch(String, String) instead. |
protected void |
assertResponseCanBeCached()
Deprecated.
|
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 |
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.
- reason: remove of JUnit3
|
protected void |
assertTableCellHasNoImage(com.meterware.httpunit.WebTable table,
int row,
int col)
Deprecated.
- reason: remove of JUnit3
|
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.
Use
WorkflowSchemesControl.assignScheme(long, String, String) instead. |
void |
associateFieldLayoutScheme(String project,
String issue_type,
String scheme_name)
Deprecated.
Inject and use
FieldLayoutSchemes.associateFieldLayoutScheme(String, String) instead. |
protected void |
associateIssueLevelSecuritySchemeToProject(String projectName,
String schemeName)
Deprecated.
|
void |
associateIssueTypeScreenSchemeToProject(String projectName,
String screenScheme)
Deprecated.
moved to
TestFieldScreens |
void |
associatePermSchemeToProject(String project,
String permission_name)
Deprecated.
|
void |
associateSecuritySchemeToProject(String project_name,
String scheme_name)
Deprecated.
Use
Project.associateIssueLevelSecurityScheme(String, String) instead. Since v7.1. |
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.
inline this method
|
void |
browseToFullConfigure()
Deprecated.
|
void |
bulkChangeCancel()
Deprecated.
Clicks on the 'Cancel' button on any of the bulk change steps
|
void |
bulkChangeChooseIssuesAll()
Deprecated.
inject
BulkOperations and use BulkOperations.bulkChangeChooseIssuesAll() |
void |
bulkChangeChooseOperationDelete(boolean mailServerExists)
Deprecated.
Chooses the Delete Operation radio button in the Step Choose Operation
|
void |
bulkChangeChooseOperationEdit()
Deprecated.
inject
BulkOperations and use BulkOperations.bulkChangeChooseOperationEdit() |
void |
bulkChangeConfirm()
Deprecated.
inject
BulkOperations and use BulkOperations.bulkChangeConfirm() |
void |
bulkChangeIncludeAllPages()
Deprecated.
inject
BulkOperations and use BulkOperations.bulkChangeIncludeAllPages() |
void |
bulkChangeIncludeCurrentPage()
Deprecated.
inject
BulkOperations and use BulkOperations.bulkChangeIncludeCurrentPage() |
void |
bulkChangeSelectIssue(String key)
Deprecated.
inject
BulkOperations and use BulkOperations.bulkChangeSelectIssue(String key) |
void |
bulkChangeSelectIssues(Collection keys)
Deprecated.
|
void |
bulkEditConfirmEdit(Map<String,String> fields)
Deprecated.
inject
BulkOperations and use BulkOperations#bulkEditConfirmEdit(Map |
void |
bulkEditOperationDetailsSetAs(Map<String,String> fields)
Deprecated.
inject
BulkOperations and use BulkOperations#bulkEditOperationDetailsSetAs(Map |
void |
checkCommentVisibility(String usernameAndPassword,
String issueKey,
Iterable<String> expectedPresentComments,
Iterable<String> expectedAbsentComments)
Deprecated.
|
void |
checkItemsAreInAscendingOrder(String[] optionValue)
Deprecated.
|
void |
checkOrderingUsingArrows(String[] optionValue,
String[] optionId)
Deprecated.
|
String |
checkOrderingUsingMoveToPos(String[] optionValue,
String[] optionId,
String itemType)
Deprecated.
|
void |
chooseOperationBulkMove()
Deprecated.
inject
BulkOperations and use BulkOperations.chooseOperationBulkMove() |
void |
chooseOperationExecuteWorfklowTransition()
Deprecated.
|
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.
Use
CustomFields class instead. |
void |
configureDefaultCheckBoxCustomFieldValue(String fieldId,
String fieldOption)
Deprecated.
Use
CustomFields class instead. |
void |
configureDefaultCustomFieldValue(String fieldId,
String fieldOption)
Deprecated.
Use
CustomFields class instead. |
void |
configureDefaultMultiCustomFieldValue(String fieldId,
String fieldOption,
String fieldOption2)
Deprecated.
Use
CustomFields class instead. |
void |
copyFieldLayout(String fieldLayoutName)
Deprecated.
Inject and use
FieldLayoutSchemes.copyFieldLayout(String) instead. |
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. |
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.
Inline the method
|
void |
createIssueStep1(String project,
String issueType)
Deprecated.
|
void |
createNewFieldScreen(String[] optionId)
Deprecated.
|
void |
createPermissionScheme(String permission_name,
String permission_desc)
Deprecated.
|
void |
createProjectCategory(String categoryName,
String categoryDescription)
Deprecated.
Use
ProjectControlExt.addProjectCategory(String, String) instead. Since v7.2. |
void |
createSecurityLevel(String scheme_name,
String level_name,
String level_description)
Deprecated.
Use
IssueSecuritySchemes.IssueSecurityScheme#newLevel instead. |
void |
createSecurityScheme(String scheme_name,
String scheme_description)
Deprecated.
moved to
TestIssueSecurityActions |
void |
createSessionSearchForAll()
Deprecated.
|
void |
createSubTaskStep1(String issueKey,
String task_type)
Deprecated.
Use
IssueNavigation.createSubTaskStep1(java.lang.String, java.lang.String) instead. Since v7.1. |
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.
Use
CustomFields class instead. |
void |
deleteAllFilter()
Deprecated.
|
void |
deleteAllIssuesInAllPages()
Deprecated.
|
void |
deleteComponent(String project,
String name)
Deprecated.
|
protected void |
deleteCurrentIssue()
Deprecated.
|
void |
deleteCustomField(String fieldId)
Deprecated.
Use
CustomFields class instead. |
void |
deleteFieldLayoutScheme(String scheme_name)
Deprecated.
Inject and use
FieldLayoutSchemes.deleteFieldLayoutScheme(String) instead. |
void |
deleteFieldScreenScheme(String schemeName)
Deprecated.
please use
Screens.deleteFieldScreenScheme(String) |
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.
|
void |
deleteProject(String project)
Deprecated.
Use
Project.deleteProject(String) instead. Since v7.1. |
void |
deleteProjectCategory(String categoryName)
Deprecated.
Use
ProjectControlExt.deleteProjectCategory(java.lang.String) instead. Since v7.2. |
void |
deleteScreen(String screenName)
Deprecated.
please use
Screens.deleteScreen(String) |
void |
deleteSecurityLevel(String scheme_name,
String level_name)
Deprecated.
Use {@link IssueSecurityLevel#delete()) instead.
|
void |
deleteSecurityScheme(String scheme_name)
Deprecated.
moved to
TestIssueSecurityActions |
void |
deleteStep(String workflow_name,
String step_name)
Deprecated.
Use
WorkflowSteps.deleteStep(String) instead. |
void |
deleteSubTaskType(String sub_task_name)
Deprecated.
Use
Subtasks.deleteSubTaskType(String) instead. |
void |
deleteTabFromScreen(String screenName,
String tabName)
Deprecated.
please use
Screens.deleteTabFromScreen(String, String) |
void |
deleteTransition(String workflow_name,
String step_name,
String transition_name)
Deprecated.
|
void |
deleteUser(String username)
Deprecated.
Use
UsersAndGroupsControl.deleteUser(String) instead. Since v7.1. |
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,
String customFieldId,
String customFieldValue,
String customFieldType)
Deprecated.
Use
IssuesControl.setIssueFields(String, IssueFields) instead. |
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.
|
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.
|
Navigation |
getNavigation()
Deprecated.
|
HtmlPage |
getPage()
Deprecated.
inject a field instead.
|
String |
getProjectId(String project)
Deprecated.
|
String |
getRedirect()
Deprecated.
|
String |
getRegexMatch(String regex)
Deprecated.
|
protected long |
getSubmittedTaskId()
Deprecated.
Inject
ProgressBar instead in junit4 |
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 |
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.
Inject and use
FieldLayoutSchemes.gotoFieldLayoutSchemes() instead. |
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.
Inline this method
|
void |
gotoIssueTabPanel(String issueKey,
String issueTabName)
Deprecated.
since 7.2 use
IssueNavigation gotToIssue* instead |
void |
gotoIssueTypeScreenScheme(String schemeName)
Deprecated.
moved to
TestFieldScreens |
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.
Use
Navigation.gotoAdminSection(Navigation.AdminSection) instead. Since v7.1. |
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.
Use
Navigation.AdminSection#VIEW_CATEGORIES instead. Since v7.2. |
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 |
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.
inject
BulkOperations and use BulkOperations.isStepChooseIssues() |
void |
isStepChooseOperation()
Deprecated.
inject
BulkOperations and use BulkOperations.isStepChooseOperation() |
void |
isStepConfirmation()
Deprecated.
inject
BulkOperations and use BulkOperations.isStepConfirmation() |
void |
isStepOperationDetails()
Deprecated.
inject
BulkOperations and use BulkOperations.isStepOperationDetails() |
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.
|
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.
Use
CustomFields class instead. |
void |
removeAllFieldScreenAssociation(String schemeName)
Deprecated.
|
void |
removeAllFieldScreens()
Deprecated.
please use
Screens.removeAllRemainingFieldScreens() |
void |
removeAllFieldScreenSchemes()
Deprecated.
moved to
TestFieldScreens |
void |
removeAllIssueTypeScreenSchemes()
Deprecated.
moved to
TestFieldScreens |
void |
removeAllScreenAssociationsFromDefault()
Deprecated.
|
void |
removeAllWatchers(String issueKey)
Deprecated.
since 7.2
|
void |
removeAssociationOfSecuritySchemeFromProject(String project_name)
Deprecated.
Use
Project.removeAssociationOfIssueLevelSecurityScheme(String)# instead. Since v7.1. |
void |
removeAssociationWithFieldLayoutScheme(String project,
String issue_type,
String scheme_name)
Deprecated.
Inject and use
FieldLayoutSchemes.associateWithDefaultFieldLayout(String) instead. |
void |
removeFieldFromFieldScreen(String screenName,
String[] fieldNames)
Deprecated.
moved to
TestFieldScreens |
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.
moved to
TestIssueSecurityActions |
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.
Inline the method.
|
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.
|
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.
since 7.2 moved to
TestViewIssue |
void |
setFieldConfigurationFieldToRenderer(String configuration,
String fieldId,
String renderer)
Deprecated.
moved to
TestInlineIssueLinking |
void |
setFieldConfigurationFieldToRenderer(String configuration,
String fieldId,
String renderer,
boolean assertWarningNotPresent)
Deprecated.
moved to
TestInlineIssueLinking |
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.
since 7.2
|
void |
startWatchingAnIssue(String issueKey,
String[] userNames)
Deprecated.
since 7.2
|
void |
stop()
Deprecated.
|
void |
stopWatchingAnIssue(String issueKey)
Deprecated.
since 7.2
|
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.
Use
GeneralConfigurationImpl.setExternalUserManagement(boolean) instead. Since v7.1. |
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.
Inject
ProgressBar instead in junit4 |
boolean |
versionExists(String version,
String project)
Deprecated.
|
void |
viewChangeHistoryOfIssue(String issueKey)
Deprecated.
|
void |
voteForIssue(String issueKey)
Deprecated.
|
protected void |
waitForSuccessfulWorkflowActivation(String targetWorkflowName)
|
protected void |
waitForSuccessfulWorkflowSchemeMigration(String projectName,
String targetWorkflowName)
|
protected void |
waitForTaskAcknowledgement(long taskId)
Deprecated.
Inject
ProgressBar instead in junit4 |
boolean |
workflowExists(String workflow)
Deprecated.
|
boolean |
workflowSchemeExists(String workflowScheme)
Deprecated.
|
protected XPathLocator |
xpath(String xpathExpression)
Deprecated.
Use
LocatorFactory.xpath(String) instead. Since v7.1. |
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 TextAssertions textAssertions
protected IssueTableAssertions issueTableAssertions
IssueTableAssertions
helper
in playprotected com.atlassian.jira.testkit.client.log.FuncTestLogger log
FuncTestLogger
in playprotected EditIssueFieldVisibility editIssueFieldVisibility
protected Indexing indexing
protected 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_USER_BROWSER
public static final String PAGE_NOT_STANDARD_VIEW_FIELD_SCREEN_SCHEMES
public JIRAWebTest(String name)
public JIRAWebTest(String name, JIRAEnvironmentData environmentData)
public JIRAWebTest()
public JIRAWebTest(JIRAEnvironmentData environmentData)
public net.sourceforge.jwebunit.WebTester getTester()
getTester
in class net.sourceforge.jwebunit.WebTestCase
@Deprecated 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 field@Deprecated public void assertOptionSelected(String elementId, String expectedValue)
JiraFormAssertions.assertSelectElementByIdHasOptionSelected(String, String)
instead.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).@Deprecated public void assertOptionSelectedById(String elementId, String expectedId)
JiraFormAssertions.assertSelectElementByIdHasOptionSelectedById(String, String)
instead.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.@Deprecated public void deleteProject(String project)
Project.deleteProject(String)
instead. Since v7.1.project
- the project name.@Deprecated public String addComponent(String projectName, String name)
TestIssueSecurityActions
projectName
- the name of the project.name
- the name of the component.@Deprecated public String addComponent(String projectName, String name, String componentLead)
TestIssueSecurityActions
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.@Deprecated public String addVersion(String project, String name, String description)
TestIssueSecurityActions
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 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)
@Deprecated public void deleteUser(String username)
UsersAndGroupsControl.deleteUser(String)
instead. Since v7.1.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)
@Deprecated public void restoreColumnDefaults()
@Deprecated public void createIssueStep1()
@Deprecated public void gotoFieldLayoutSchemes()
FieldLayoutSchemes.gotoFieldLayoutSchemes()
instead.@Deprecated public void addFieldLayoutScheme(String scheme_name, String scheme_desc)
FieldLayoutSchemes.addFieldLayoutScheme(String, String)
instead.@Deprecated public void deleteFieldLayoutScheme(String scheme_name)
FieldLayoutSchemes.deleteFieldLayoutScheme(String)
instead.@Deprecated public void copyFieldLayout(String fieldLayoutName)
FieldLayoutSchemes.copyFieldLayout(String)
instead.@Deprecated public void addFieldLayoutSchemeEntry(String issueTypeName, String fieldLayoutName, String schemeName)
FieldLayoutSchemes.addFieldLayoutSchemeEntry(String, String, String)
instead.@Deprecated public void associateFieldLayoutScheme(String project, String issue_type, String scheme_name)
FieldLayoutSchemes.associateFieldLayoutScheme(String, String)
instead.@Deprecated public void removeAssociationWithFieldLayoutScheme(String project, String issue_type, String scheme_name)
FieldLayoutSchemes.associateWithDefaultFieldLayout(String)
instead.@Deprecated public void setHiddenFieldsOnEnterprise(String fieldLayoutName, String fieldName)
public void showIssues(String jql)
@Deprecated public void setShownFieldsOnEnterprise(String fieldLayoutName, String fieldName)
@Deprecated public void setRequiredFieldsOnEnterprise(String fieldLayoutName, String fieldName)
@Deprecated public void setOptionalFieldsOnEnterprise(String fieldLayoutName, String fieldName)
@Deprecated public void setRequiredField(String fieldName)
@Deprecated public void setRequiredFields()
@Deprecated public void setHiddenFields(String fieldName)
@Deprecated public void setShownFields(String fieldName)
@Deprecated public void doFieldOperation(String fieldName, String linkName)
@Deprecated public void resetFields()
@Deprecated public void setDueDateToRequried()
@Deprecated public void setSecurityLevelToRequried()
@Deprecated public void assertViewIssueFields()
@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.@Deprecated public void createPermissionScheme(String permission_name, String permission_desc)
@Deprecated public void deletePermissionScheme(String permission_name)
@Deprecated 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.@Deprecated public void gotoPermissionSchemes()
Navigation.gotoAdminSection(Navigation.AdminSection)
instead. Since v7.1.@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 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)
@Deprecated public void startWatchingAnIssue(String issueKey)
@Deprecated public void startWatchingAnIssue(String issueKey, String[] userNames)
@Deprecated public void stopWatchingAnIssue(String issueKey)
@Deprecated 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.@Deprecated public void createSubTaskStep1(String issueKey, String task_type)
IssueNavigation.createSubTaskStep1(java.lang.String, java.lang.String)
instead. Since v7.1.@Deprecated public void gotoIssueSecuritySchemes()
@Deprecated public void createSecurityScheme(String scheme_name, String scheme_description)
TestIssueSecurityActions
@Deprecated public void createSecurityLevel(String scheme_name, String level_name, String level_description)
IssueSecuritySchemes.IssueSecurityScheme#newLevel
instead.scheme_name
- level_name
- 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)
@Deprecated public void addRoleToSecurityLevel(String scheme_name, String level_name, String roleName)
IssueSecurityLevel.addRole(java.lang.String)
instead.scheme_name
- level_name
- roleName
- @Deprecated public void removeGroupFromSecurityLevel(String scheme_name, String level_name, String groupName)
TestIssueSecurityActions
public void removeRoleFromSecurityLevel(String scheme_name, String level_name, String roleId)
@Deprecated public void deleteSecurityScheme(String scheme_name)
TestIssueSecurityActions
@Deprecated public void deleteSecurityLevel(String scheme_name, String level_name)
scheme_name
- level_name
- @Deprecated public void removeAssociationOfSecuritySchemeFromProject(String project_name)
Project.removeAssociationOfIssueLevelSecurityScheme(String)#
instead. Since v7.1.@Deprecated public void associateSecuritySchemeToProject(String project_name, String scheme_name)
Project.associateIssueLevelSecurityScheme(String, String)
instead. Since v7.1.public void gotoWorkFlowScheme()
@Deprecated public void gotoWorkFlow()
ViewWorkflows.goTo()
instead.@Deprecated public void addWorkFlowScheme(String workflowscheme_name, String workflowscheme_desc)
WorkflowSchemes.addWorkFlowScheme(java.lang.String, java.lang.String)
instead.workflowscheme_name
- 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)
public void deleteStep(String workflow_name, String step_name)
WorkflowSteps.deleteStep(String)
instead.@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 deleteTransition(String workflow_name, String step_name, String transition_name)
public void activateWorkflow(String workflow_name)
@Deprecated public void assignWorkflowScheme(long workflowscheme_id, String issuetype, String workflow_name)
WorkflowSchemesControl.assignScheme(long, String, String)
instead.workflowscheme_id
- issuetype
- 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 name@Deprecated protected void assertIndexedFieldCorrect(String path, Map expectedItemNodes, Map unexpectedItemNodes, String issueKey)
Indexing.assertIndexedFieldCorrect(String, Map, Map, String)
insteadpath
- 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 gotoCustomFields()
@Deprecated public String addCustomField(String fieldType, String fieldName)
CustomFields
class instead.fieldType
- use the constants CUSTOM_FIELD_TYPE*.fieldName
- a name for the field.@Deprecated public String addCustomField(String fieldType, String fieldScope, String fieldName, String fieldDescription, String issueType, String project, String searcher)
CustomFields
class instead.@Deprecated public String addCustomFieldWithMultipleIssueTypes(String fieldType, String fieldScope, String fieldName, String fieldDescription, String[] issueTypes, String project, String searcher)
CustomFields
class instead.@Deprecated public void deleteCustomField(String fieldId)
CustomFields
class instead.@Deprecated public void addCustomFieldOption(String fieldId, String fieldOption)
CustomFields
class instead.@Deprecated public void configureCustomFieldOption(String fieldId, String fieldOption)
CustomFields
class instead.@Deprecated public void configureDefaultCustomFieldValue(String fieldId, String fieldOption)
CustomFields
class instead.@Deprecated public void configureDefaultCheckBoxCustomFieldValue(String fieldId, String fieldOption)
CustomFields
class instead.@Deprecated public void configureDefaultMultiCustomFieldValue(String fieldId, String fieldOption, String fieldOption2)
CustomFields
class instead.@Deprecated public void delCustomFieldOption(String fieldId, String fieldOption)
CustomFields
class instead.@Deprecated public void removeAllCustomFields()
CustomFields
class instead.public String createCustomFields(String fieldType, String fieldScope, String fieldName, String fieldDescription, String issueType, String projectType, String[] fieldOptions)
@Deprecated public void editIssueWithCustomFields(String issueKey, String customFieldId, String customFieldValue, String customFieldType)
IssuesControl.setIssueFields(String, IssueFields)
instead.public Collection<String> createIssuesInBulk(int numberOfIssues, String project, String projectKey, String issueType, String summary, String priority, String[] components, String[] affectsVersions, String[] fixVersions, String assignTo, String environment, String description, String originalEstimate, String securityLevel)
@Deprecated public void sortIssues(String page, String field, String direction)
@Deprecated public void deleteAllIssuesInAllPages()
BulkOperations.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()
@Deprecated public void addFieldToFieldScreen(String screenName, String fieldName)
ScreensControl.addFieldToScreen(java.lang.String, java.lang.String)#
instead. Since v7.1.public void addFieldsToFieldScreen(String screenName, String[] fieldNames)
public void addFieldToFieldScreen(String screenName, String fieldName, String position)
@Deprecated public void removeFieldFromFieldScreen(String screenName, String[] fieldNames)
TestFieldScreens
@Deprecated public String findRowWithName(String fieldTableName, int column, String fieldName)
@Deprecated public void addScreen(String screenName, String screenDescription)
Screens.addScreen(String, String)
public void copyScreen(String copiedScreenName, String newScreenName, String screenDescription)
@Deprecated public void deleteScreen(String screenName)
Screens.deleteScreen(String)
@Deprecated public void removeAllFieldScreens()
Screens.removeAllRemainingFieldScreens()
@Deprecated public void removeAllFieldScreenSchemes()
TestFieldScreens
public void removeAllScreenAssociationsFromDefault()
public void gotoFieldScreenScheme(String schemeName)
@Deprecated public void addFieldScreenScheme(String schemeName, String schemeDescription, String fieldScreenDefault)
Screens.addFieldScreenScheme(String, String)
@Deprecated public void copyFieldScreenScheme(String copiedSchemeName, String schemeName, String schemeDescription)
Screens.copyFieldScreenScheme(String, String, String)
@Deprecated public void deleteFieldScreenScheme(String schemeName)
Screens.deleteFieldScreenScheme(String)
public void addIssueOperationToScreenAssociation(String schemeName, String issueOperation, String screenName)
public void deleteIssueOperationFromScreenAssociation(String schemeName, String issueOperation)
public void removeAllFieldScreenAssociation(String schemeName)
@Deprecated public void removeAllIssueTypeScreenSchemes()
TestFieldScreens
@Deprecated public void gotoIssueTypeScreenScheme(String schemeName)
TestFieldScreens
@Deprecated public void addIssueTypeFieldScreenScheme(String schemeName, String schemeDescription, String defaultScreenScheme)
Screens.addIssueTypeFieldScreenScheme(String, String, String)
@Deprecated public void deleteIssueTypeFieldScreenScheme(String schemeId)
Screens.deleteIssueTypeFieldScreenScheme(String)
@Deprecated public void copyIssueTypeFieldScreenSchemeName(String copiedSchemeId, String schemeName, String schemeDescription)
Screens.copyIssueTypeFieldScreenSchemeName(String, String, String)
protected void gotoIssueTypeScreenSchemes()
@Deprecated public void addIssueTypeToScreenAssociation(String issueTypeSchemeId, String issueType, String screenSchemeName)
TestFieldScreens
@Deprecated public void associateIssueTypeScreenSchemeToProject(String projectName, String screenScheme)
TestFieldScreens
@Deprecated public void addTabToScreen(String screenName, String tabName)
@Deprecated public void deleteTabFromScreen(String screenName, String tabName)
Screens.deleteTabFromScreen(String, String)
@Deprecated public void addFieldToFieldScreenTab(String screenName, String tabName, String fieldName, String position)
@Deprecated public void removeFieldFromFieldScreenTab(String screenName, String tabName, String[] fieldNames)
Screens.removeFieldFromFieldScreenTab(String, String, String[])
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 moveOptionsToPositions(String[] optionValue, String[] optionId, String itemType, Map<String,String> moveToPosition)
@Deprecated public void checkOrderingUsingArrows(String[] optionValue, String[] optionId)
ArrowControlledOrdering.checkOrderingUsingArrows(String[], String[])
instead.@Deprecated public String checkOrderingUsingMoveToPos(String[] optionValue, String[] optionId, String itemType)
ArrowControlledOrdering.checkOrderingUsingMoveToPos(String[], String[], String)
instead.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)
@Deprecated public void assertNoChangesForIssue(String issueKey)
Assertions.assertLastChangeHistoryRecords(String, List)
with an empty list.@Deprecated 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 history@Deprecated public void assertLastChangeNotMadeToField(String issueKey, String field)
Assertions.assertLastChangeHistoryRecords(String,
com.atlassian.jira.webtests.ztests.workflow.ExpectedChangeHistoryRecord)
for inspecting history makes this method not
useful at all@Deprecated public void assertErrorMsgFieldRequired(String fieldId, String project, String fieldDisplayName)
WebTester.assertTextPresent(String text)
like this:
assertTextPresent(""" + fieldId + "" field is required and the project "" + project + "" does not have any " + fieldDisplayName);@Deprecated public void bulkChangeIncludeAllPages()
BulkOperations
and use BulkOperations.bulkChangeIncludeAllPages()
@Deprecated public void bulkChangeIncludeCurrentPage()
BulkOperations
and use BulkOperations.bulkChangeIncludeCurrentPage()
@Deprecated public void isStepChooseIssues()
BulkOperations
and use BulkOperations.isStepChooseIssues()
@Deprecated public void isStepChooseOperation()
BulkOperations
and use BulkOperations.isStepChooseOperation()
@Deprecated public void isStepOperationDetails()
BulkOperations
and use BulkOperations.isStepOperationDetails()
@Deprecated public void isStepConfirmation()
BulkOperations
and use BulkOperations.isStepConfirmation()
public void selectCheckbox(String cbox)
@Deprecated public void bulkChangeChooseIssuesAll()
BulkOperations
and use BulkOperations.bulkChangeChooseIssuesAll()
public void bulkChangeChooseOperationDelete(boolean mailServerExists)
@Deprecated public void bulkChangeChooseOperationEdit()
BulkOperations
and use BulkOperations.bulkChangeChooseOperationEdit()
@Deprecated public void chooseOperationBulkMove()
BulkOperations
and use BulkOperations.chooseOperationBulkMove()
@Deprecated public void chooseOperationExecuteWorfklowTransition()
BulkOperations
and use BulkOperations.chooseOperationExecuteWorfklowTransition()
public void clickOnNext()
Navigation.clickOnNext()
public void bulkChangeCancel()
@Deprecated public void bulkChangeConfirm()
BulkOperations
and use BulkOperations.bulkChangeConfirm()
@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)
@Deprecated public void createProjectCategory(String categoryName, String categoryDescription)
ProjectControlExt.addProjectCategory(String, String)
instead. Since v7.2.@Deprecated public void deleteProjectCategory(String categoryName)
ProjectControlExt.deleteProjectCategory(java.lang.String)
instead. Since v7.2.@Deprecated public void gotoProjectCategories()
Navigation.AdminSection#VIEW_CATEGORIES
instead. Since v7.2.@Deprecated 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)
@Deprecated public void gotoIssueTabPanel(String issueKey, String issueTabName)
IssueNavigation
gotToIssue* insteadissueKey
- 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
@Deprecated public void setFieldConfigurationFieldToRenderer(String configuration, String fieldId, String renderer)
TestInlineIssueLinking
@Deprecated public void setFieldConfigurationFieldToRenderer(String configuration, String fieldId, String renderer, boolean assertWarningNotPresent)
TestInlineIssueLinking
public void gotoFieldLayoutConfiguration(String configuration)
public void gotoPluginsScreen()
public void gotoFieldLayouts()
@Deprecated public void disableIssueLinks()
IssueLinking.disable()
instead@Deprecated public void setBulkEditFieldTo(String field, String listValue)
BulkOperations
and use BulkOperations.setBulkEditFieldTo(String field, String listValue)
@Deprecated public void bulkEditOperationDetailsSetAs(Map<String,String> fields)
BulkOperations
and use BulkOperations#bulkEditOperationDetailsSetAs(Map fields)
fields
- A map woth field ids as keys and field values (have to be simple Strings) as values.@Deprecated public void bulkEditConfirmEdit(Map<String,String> fields)
BulkOperations
and use BulkOperations#bulkEditConfirmEdit(Map fields)
fields
- a map with field ids as keys and simple Strings as values.@Deprecated public void bulkChangeSelectIssue(String key)
BulkOperations
and use BulkOperations.bulkChangeSelectIssue(String key)
@Deprecated public void bulkChangeSelectIssues(Collection keys)
BulkOperations
and use BulkOperations.bulkChangeSelectIssues(Collection key)
public String createIssueLinkType(String name, String outwardLinkName, String inwardLinkName)
@Deprecated public void linkIssueWithComment(String currentIssueKey, String link, String destinationIssueKey, String comment, String commentLevel, String expectedText)
IssueNavigation.linkIssueWithComment(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
instead. Since v7.2.@Deprecated public void linkIssueWithComment(String currentIssueKey, String link, String destinationIssueKey, String comment, String commentLevel)
IssueNavigation.linkIssueWithComment(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
instead. Since v7.2.public boolean isMailServerExists()
@Deprecated public String getRegexMatch(String regex) throws org.apache.oro.text.regex.MalformedPatternException
HtmlPage.getRegexMatch(String)
regex
- regexorg.apache.oro.text.regex.MalformedPatternException
- if regex is malformed@Deprecated public void assertRegexMatch(String regex, boolean multiline)
TextAssertions.assertRegexMatch(String, String)
instead.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.@Deprecated 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 issue@Deprecated public void toggleExternalUserManagement(boolean enable)
GeneralConfigurationImpl.setExternalUserManagement(boolean)
instead. Since v7.1.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()
RequestAssertions.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.@Deprecated protected void setEstimate(String time)
TestViewIssue
time
- formatted time estimate e.g. 3h 30m.@Deprecated protected void waitForSuccessfulWorkflowSchemeMigration(String projectName, String targetWorkflowName)
WorkflowSchemes.waitForSuccessfulWorkflowSchemeMigration(java.lang.String, java.lang.String)
projectName
- the name of the project to associate the worflow scheme totargetWorkflowName
- the name of the workflow scheme to associate the project to@Deprecated protected long getSubmittedTaskId()
ProgressBar
instead in junit4protected void switchToPersonalLicense()
protected void switchLicense(String licenseKey, String licenseDescription)
@Deprecated protected void waitForTaskAcknowledgement(long taskId)
ProgressBar
instead in junit4taskId
- the task to wait for until it is in acknowledge state@Deprecated protected void validateProgressBarUI(String desiredTaskState)
ProgressBar
instead in junit4- 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 above@Deprecated protected 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()
@Deprecated protected void assertRedirectAndFollow(String url, String redirectRegex)
AssertRedirect.assertRedirectAndFollow(java.lang.String, java.lang.String)
instead. Since v7.2.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
@Deprecated protected XPathLocator xpath(String xpathExpression)
LocatorFactory.xpath(String)
instead. Since v7.1.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-2023 Atlassian. All Rights Reserved.