There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
Take screenshot on test failure
I was looking at the cloud service team UI tests and noticed some improvements we could make to our own UI tests.
In their test cleanup, they take a screenshot of the primary screen if the test failed (TestContext.CurrentTestOutcome != UnitTestOutcome.Passed). They save the file in the test output folder, using the TestContext.TestName and DateTime.Now for file name.