Quantcast
Channel: .NET Framework Class Libraries forum
Viewing all articles
Browse latest Browse all 8156

Throw new exception in Coded UI usinf try & catch block

$
0
0

Hi All,

I am working on below code and I have two assertion and there is failure in first assertion and I want the test case should go further and the end of the test case it should show me error message.

it should not stop my test case on the first failure it should continue till second assertion or the end of the test case.

I am using try catch block it is working for me but according to my code I am using "throw newAssertFailedException("Sahil"), and at the last it is printing DUDE only.

Please help me its very urgent for me..

 

 Regards

Laxmikant


laxmikant


Viewing all articles
Browse latest Browse all 8156

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>