ReportExtensions Methods

PassFailStep

Passes or fails the current step depending on the provided criteria.

t.Report.PassFailStep(VerifyCondition(),
    "Message for passed step",
    "Message for failed step");

Syntax:

public static void PassFailStep(
	this IReport report,
	bool criteria,
	string passed,
	string failed,
	bool takeScreenshot = true
)

Parameters:

Last updated