I use MBUnit and Gallio. I want to take screenshot if test resul is fail of browser before it will be closed (I use WebDriver with c#). How I can get test result in test?
Asked
Active
Viewed 265 times
1 Answers
0
I propose the next solution:
Capture.AutoEmbedScreenshot( TriggerEvent.TestFailedOrInconclusive , "Last screen" , new CaptureParameters() { Zoom = 0.4 } );
See bits-in-motion:blog, there are different ways to do it.
Enjoy ;)

abc123
- 17,855
- 7
- 52
- 82