You can enable screen capturing for a test element or an execution plan. The screenshots are added to the result files in the Files page and the Timeline page of the Test Run Results dialog box. You can then analyze the screenshots, for example if errors have occurred during tests.
The Screen Capturing setting in the Deployment page of an execution plan can override the setting for a specific test element, which is included in the execution plan.