NUnit + Exception
Posted: Wed May 19, 2010 6:29 am
Hi,
When I am running testcases via NUnit, where should I add the
try{}
catch{Exception e}
Report.Screenshot();
so that I will receive the screenshot if something goes wrong in my testcase?
If I add it to this [test], NUnit will pass the test in case of failure.
p.s. Does anyone here know, how to use NUnit2Report to make readable reports from NUnit genereded Testresults.xml?
When I am running testcases via NUnit, where should I add the
try{}
catch{Exception e}
Report.Screenshot();
so that I will receive the screenshot if something goes wrong in my testcase?
If I add it to this [test], NUnit will pass the test in case of failure.
p.s. Does anyone here know, how to use NUnit2Report to make readable reports from NUnit genereded Testresults.xml?