Package de.qytera.qtaf.xray.entity
Class XrayManualTestStepResultEntity
java.lang.Object
de.qytera.qtaf.xray.entity.XrayManualTestStepResultEntity
- Direct Known Subclasses:
XrayManualTestStepResultEntityCloud,XrayManualTestStepResultEntityServer
Xray manual test step result entity.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreate a newXrayManualTestStepResultEntitywith the given step status. -
Method Summary
Modifier and TypeMethodDescriptionabstract voidaddEvidenceIfPresent(XrayEvidenceItemEntity evidence) Add an evidence item to the list of step evidences.The actual result field for the step result.abstract List<XrayEvidenceItemEntity>Retrieve a list of all evidence items attached to this step result.The comment for the step result.An array of defect issue keys to associate with the test run.The status for the test step (PASSED, FAILED, EXECUTING, TO DO, custom statuses ...).voidsetActualResult(String actualResult) The actual result field for the step result.voidsetComment(String comment) The comment for the step result.voidsetDefects(List<String> defects) An array of defect issue keys to associate with the test run.
-
Constructor Details
-
XrayManualTestStepResultEntity
Create a newXrayManualTestStepResultEntitywith the given step status.- Parameters:
status- the status
-
-
Method Details
-
addEvidenceIfPresent
Add an evidence item to the list of step evidences. Ifevidenceisnull, the current list of evidences remains unchanged.- Parameters:
evidence- the evidence to add
-
getAllEvidence
Retrieve a list of all evidence items attached to this step result.- Returns:
- the list of evidence
-
getStatus
The status for the test step (PASSED, FAILED, EXECUTING, TO DO, custom statuses ...). -
getComment
The comment for the step result. -
getDefects
An array of defect issue keys to associate with the test run. -
getActualResult
The actual result field for the step result. -
setComment
The comment for the step result. -
setDefects
An array of defect issue keys to associate with the test run. -
setActualResult
The actual result field for the step result.
-