ReportExtensions Methods
PassFailStep
Passes or fails the current step depending on the provided criteria.
Syntax:
Parameters:
Parameter
Description
report
Type: IReport
The report interface that shall be passed or failed. Typically t.Report
in a TestStep method.
criteria
if set to true the test step is passed.
passed
The passed result string.
failed
The failed results string.
[takeScreenshot]
if set to false no screenshot is taken for a passed result, for a failed result a screenshot is always taken.
Last updated