Package com.piketec.tpt.api
Interface TestCaseExecutionStatus
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
TestCaseExecutionStatus.TestCaseStatus
This enumeration represents all possible execution and result states for a test case.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ExecutionConfigurationItem
getExecutionConfigurationItem()
TestCaseExecutionStatus.TestCaseStatus
getStatus()
java.util.List<java.lang.String>
getStatusLog()
Scenario
getTestcase()
void
reclassify(boolean success, java.lang.String userName, java.lang.String comment)
Manuall set (reclassify) the execution status to eitherTestCaseExecutionStatus.TestCaseStatus.ResultSuccess
orTestCaseExecutionStatus.TestCaseStatus.ResultFailed
for the report.
-
-
-
Method Detail
-
getStatus
TestCaseExecutionStatus.TestCaseStatus getStatus() throws java.rmi.RemoteException
- Returns:
- Returns the current state of execution as
TestCaseExecutionStatus.TestCaseStatus
- Throws:
java.rmi.RemoteException
- remote communication problem
-
getStatusLog
java.util.List<java.lang.String> getStatusLog() throws java.rmi.RemoteException
- Returns:
- Returns a list of log entries as
String
- Throws:
java.rmi.RemoteException
- remote communication problem
-
reclassify
void reclassify(boolean success, java.lang.String userName, java.lang.String comment) throws java.rmi.RemoteException
Manuall set (reclassify) the execution status to eitherTestCaseExecutionStatus.TestCaseStatus.ResultSuccess
orTestCaseExecutionStatus.TestCaseStatus.ResultFailed
for the report. The actual test case result will not be overwritten by this operation.This function corresponds to the "reclassify" button in the TPT GUI.
- Parameters:
success
-true
if the test result should be reclassified to a successfalse
if the test result should be reclassified to a failure
userName
- The name for the user that is responsible for the reclassification.comment
- A description/comment, why this reclassification is OK.- Throws:
java.rmi.RemoteException
- remote communication problem
-
getExecutionConfigurationItem
ExecutionConfigurationItem getExecutionConfigurationItem() throws java.rmi.RemoteException
- Returns:
- The
ExecutionConfigurationItem
in which the assigned test case was, is or should be executed. - Throws:
java.rmi.RemoteException
- remote communication problem
-
getTestcase
Scenario getTestcase() throws java.rmi.RemoteException
- Returns:
- The assigned test case.
- Throws:
java.rmi.RemoteException
- remote communication problem
-
-