|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecttestopia.API.TestCaseRun
public class TestCaseRun
| Constructor Summary | |
|---|---|
TestCaseRun(java.lang.String userName,
java.lang.String password,
int caseID,
int runID,
int buildID,
int environmentID,
java.lang.Integer caseRunID,
java.net.URL url)
Use this constructor if you want to do sets and gets |
|
TestCaseRun(java.lang.String userName,
java.lang.String password,
int caseRunID,
java.net.URL url)
Use this constructor if you just want to use gets |
|
| Method Summary | |
|---|---|
java.util.HashMap<java.lang.String,java.lang.Object> |
getAttributes()
|
int |
makeTestCaseRun(int assigneeID,
int caseTextVersion)
used to create a testRunCase |
void |
setAssigneeID(int assigneeID)
Changes the assigneeID of the testCaseRun |
void |
setBuildID(int buildID)
Changes the buildID of the testCaseRun |
void |
setEnvironmentID(int environmentID)
Changes the environmentID of the testCaseRun |
void |
setNotes(java.lang.String notes)
This is used to append a note |
void |
setStatus(int status)
This is used to change the testCaseRun status (2 for pass, 3 for fail) |
void |
update()
Updates are not called when the .set is used. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TestCaseRun(java.lang.String userName,
java.lang.String password,
int caseRunID,
java.net.URL url)
userName - your bugzilla usernamepassword - your bugzilla passwordcaseRunID - ID used to get the caseurl - URL - the url of the testopia server that you want to connect to
public TestCaseRun(java.lang.String userName,
java.lang.String password,
int caseID,
int runID,
int buildID,
int environmentID,
java.lang.Integer caseRunID,
java.net.URL url)
userName - your bugzilla usernamepassword - your bugzilla passwordcaseRunID - ID used to get the caserunID - test run numberbuildID - ID generated by bugzillaenvironmentID - ID generated by bugzillaurl - URL - the url of the testopia server that you want to connect to| Method Detail |
|---|
public int makeTestCaseRun(int assigneeID,
int caseTextVersion)
throws java.lang.Exception
assigneeID - caseRunStatusID - caseTextVersion -
java.lang.Exception
public void update()
throws java.lang.Exception
java.lang.Exception - will throw an exception if you used the 3 param constuctor.public java.util.HashMap<java.lang.String,java.lang.Object> getAttributes()
public void setNotes(java.lang.String notes)
notes - string - the note you want entered into the testCaseRunpublic void setStatus(int status)
status - int - the status you want to change the testCaseRun topublic void setBuildID(int buildID)
buildID - int - the new buildIDpublic void setEnvironmentID(int environmentID)
environmentID - int - the number that the environment ID will be changed topublic void setAssigneeID(int assigneeID)
assigneeID -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||