public void AreNotPresentTest2() { string expected = "Foo"; string actual = "Foo Bar"; TestCommandHelper.AssertAreNotContains(expected, actual); }
public static void ExecuteInternal(ITestContext context) { if (null == context) { throw new ArgumentNullException("context"); } var expected = context.Target; var actual = context.Driver.FindElement(By.TagName("body")).Text; TestCommandHelper.AssertAreNotContains(expected, actual); }