IReport Methods
AbortStep
Sets the result of the current step to ABORTED. An aborted step cannot be set to passed or failed afterwards. An aborted step tells the execution to not execute any later steps, therefore all steps after the aborted step will have the result NOTEXECUTED
Syntax:
Parameter
Description
[actualResult]
Type: String
Provides additional information used for the actual result in the final report
[takeScreenShot]
Type: Boolean
Specifies whether a screenshot should be automatically taken
FailStep
Sets the result of the current step to FAILED. A failed step cannot be passed again but can still be aborted.
Syntax:
Parameter
Description
[actualResult]
Type: String
Provides additional information used for the actual result in the final report
[takeScreenShot]
Type: Boolean
Specifies whether a screenshot should be automatically taken
PassStep
Sets the result of the current step to PASSED. A passed step can still be set to failed or aborted.
Syntax:
Parameter
Description
[actualResult]
Type: String
Provides additional information used for the actual result in the final report
[takeScreenShot]
Type: Boolean
Specifies whether a screenshot should be automatically taken
Last updated