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:

void AbortStep(
	string actualResult = null,
	bool takeScreenShot = true
)

FailStep

Sets the result of the current step to FAILED. A failed step cannot be passed again but can still be aborted.

Syntax:

void FailStep(
	string actualResult = null,
	bool takeScreenShot = true
)

PassStep

Sets the result of the current step to PASSED. A passed step can still be set to failed or aborted.

Syntax:

void PassStep(
	string actualResult = null,
	bool takeScreenShot = true
)

Last updated