|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.webtest.selenium.framework.core.AbstractSeleniumPageObject com.atlassian.jira.webtest.selenium.harness.util.IssueNavigationImpl
public class IssueNavigationImpl
Provides utility methods for issue navigation.
Field Summary |
---|
Fields inherited from class com.atlassian.jira.webtest.selenium.framework.core.AbstractSeleniumPageObject |
---|
assertThat, client, context |
Constructor Summary | |
---|---|
IssueNavigationImpl(SeleniumContext ctx,
Navigator navigator)
|
Method Summary | |
---|---|
void |
attachFile(String fieldName,
String fileName,
int size)
Attach a file given the input field name, fileName and file size. |
void |
attachFileInExistingForm(String fieldName,
String fileName,
int size)
Attach a file given the input field name, fileName and file size. |
void |
attachFileWithComment(String fieldName,
String fileName,
int size,
String comment,
String commentLevel)
Attach a file given the input field name, fileName and file size. |
List<String> |
attachFileWithErrors(String fieldName,
String fileName,
int size)
Attach a file given the input field name, fileName and file size. |
void |
editIssue(String issueKey)
Go to the edit screen of the issue specified |
List<String> |
getAttachmentErrors()
Return a list of the current attachment errors. |
IssueNavigation |
viewIssue(String issueKey)
View an issue by key and return a handle to this object |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IssueNavigationImpl(SeleniumContext ctx, Navigator navigator)
Method Detail |
---|
public IssueNavigation viewIssue(String issueKey)
IssueNavigation
viewIssue
in interface IssueNavigation
issueKey
- the key of the issue to view
public void attachFile(String fieldName, String fileName, int size)
IssueNavigation
attachFile
in interface IssueNavigation
fieldName
- The input field namefileName
- The fileName or absolute pat to attachsize
- the size of the file to generatepublic void attachFileInExistingForm(String fieldName, String fileName, int size)
IssueNavigation
attachFileInExistingForm
in interface IssueNavigation
fieldName
- The input field namefileName
- The fileName or absolute pat to attachsize
- the size of the file to generatepublic List<String> attachFileWithErrors(String fieldName, String fileName, int size)
IssueNavigation
attachFileWithErrors
in interface IssueNavigation
fieldName
- The input field namefileName
- The fileName or absolute pat to attachsize
- the size of the file to generate
public List<String> getAttachmentErrors()
IssueNavigation
getAttachmentErrors
in interface IssueNavigation
public void attachFileWithComment(String fieldName, String fileName, int size, String comment, String commentLevel)
IssueNavigation
attachFileWithComment
in interface IssueNavigation
fieldName
- The input field namefileName
- The fileName or absolute pat to attachsize
- the size of the file to generatecomment
- the comment bodycommentLevel
- the security level for the comment.public void editIssue(String issueKey)
IssueNavigation
editIssue
in interface IssueNavigation
issueKey
- the issue to edit
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |