Click or drag to resize

VerifyThat(DriverContext, Action, Boolean, Boolean) Method

Framework to automate tests using Selenium WebDriver
Verify assert conditions.

Namespace: Ocaramba
Assembly: OcarambaLite (in OcarambaLite.dll) Version: 1.0.0+d8e789f8644d1a9b63485ad7914acf4f489f3ef9
Syntax
C#
public static void That(
	DriverContext driverContext,
	Action myAssert,
	bool enableScreenShot,
	bool enableSavePageSource
)
Request Example

Parameters

driverContext  DriverContext
Container for driver.
myAssert  Action
Assert condition.
enableScreenShot  Boolean
Enabling screenshot.
enableSavePageSource  Boolean
Enable save page source.
Example
How to use it:
C#
Verify.That(this.DriverContext, () => Assert.IsFalse(flag), true);
See Also