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: 4.2.8+a9b8573c8e7a79d20d13aab3058972497cab0398
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: Verify.That(this.DriverContext, () => Assert.IsFalse(flag), true);
See Also