Exemplo n.º 1
0
        public void ArePresentTest2()
        {
            string expected = "Foo";
            string actual   = "xxx";

            TestCommandHelper.AssertAreContains(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.AssertAreContains(expected, actual);
        }