Tuesday, August 21, 2012

Coded UI - Add messages in Results

If you need messages in Results:

Assert.Fail("Login page not available"); - test will fail and the message will be displayed in Results
this.TestContext.WriteLine("Login page available"); - test will pass and the message will be displayed in Results

No comments:

Post a Comment