Thanks for reply. But I am confused about it.
I will give a short example to describe my question:
1. I am using Assert method, if the test failed, I can see the error message 'title line 3 does not match'.
Assert.IsTrue(txtLine3.Text.Equals(titleLine3), "title line 3 does not match");
2. i am using Verify method, the test case will keep going even some of the verifies actually failed.
In the end, I got a PASSED, and no error message.
Verify.IsTrue(txtLine1.Text.Equals(titleLine1), "title line 1 does not match");
Verify.IsTrue(txtLine2.Text.Equals(titleLine2), "title line 2 does not match");
Verify.IsTrue(txtLine3.Text.Equals(titleLine3), "title line 3 does not match");
How can I use Verify method to keep the test case running and
collect the error message after all test case finished?