Click or drag to resize

VerifyThat(DriverContext, Action) Method

Framework to automate tests using Selenium WebDriver
Verify group of assets.

Namespace: Ocaramba
Assembly: OcarambaLite (in OcarambaLite.dll) Version: 1.0.0+d8e789f8644d1a9b63485ad7914acf4f489f3ef9
Syntax
C#
public static void That(
	DriverContext driverContext,
	params Action[] myAsserts
)
Request Example

Parameters

driverContext  DriverContext
Container for driver.
myAsserts  Action
Group asserts.
Example
How to use it:
C#
Verify.That(
    this.DriverContext,
    () => Assert.AreEqual(5 + 7 + 2, forgotPassword.EnterEmail(5, 7, 2)),
    () => Assert.AreEqual("Your e-mail's been sent!", forgotPassword.ClickRetrievePassword));
See Also