public class WsExecutableTestRun extends Object
Constructor and Description |
---|
WsExecutableTestRun()
Create a new instance of WsExecutableTestRun
|
WsExecutableTestRun(WsItem testRun,
List<WsTestRunStep> steps,
Integer defectDocTypeId)
Create a new instance of WsExecutableTestRun
|
Modifier and Type | Method and Description |
---|---|
Integer |
getDefectDocTypeId()
This is the ID of the Document Type configured at the project level for saving Test Run related defects.
|
List<WsTestRunStep> |
getSteps() |
WsItem |
getTestRun() |
void |
setDefectDocTypeId(Integer defectDocTypeId)
Read Only
|
void |
setSteps(List<WsTestRunStep> steps) |
void |
setTestRun(WsItem testRun) |
public WsExecutableTestRun()
public WsExecutableTestRun(WsItem testRun, List<WsTestRunStep> steps, Integer defectDocTypeId)
testRun
- WsItemsteps
- ListdefectDocTypeId
- public WsItem getTestRun()
public void setTestRun(WsItem testRun)
testRun
- the testRun to setpublic List<WsTestRunStep> getSteps()
public void setSteps(List<WsTestRunStep> steps)
steps
- the steps to setpublic Integer getDefectDocTypeId()
WsScope.PROJECT
, the ID of the project you want to create a defect in, and
"jama.project.testCenter.defectParentDocumentId". This property will contain the ID of the item all defects
should be created under. Using
{ContourSoapService.getDocumentType(com.jamasoftware.contour.ws.WsAuth, Long)} you can fill out
the fields of the defect type. Make sure to WsItem.setParentId(Integer)
with the property value.
Then you can save the new defect with
{ContourSoapService.addItem(com.jamasoftware.contour.ws.WsAuth, WsItem)}. Make sure to create a
relationship between the Test Run and Defect using
{ContourSoapService.createRelationships(com.jamasoftware.contour.ws.WsAuth, com.jamasoftware.contour.ws.domain.WsRelationship[])}public void setDefectDocTypeId(Integer defectDocTypeId)
Copyright (c) 2013-2014 Jama Software, Inc. All Rights Reserved.