QuestionQ147
Advanced UI automationA requirement of the organization’s testing strategy is to attach a screenshot to a test-case execution whenever it fails. How can this be accomplished?
- A Surround the Verify activity in a Try Catch and use a Take Screenshot activity in the Catch block
- B Use the Attach Document activity and set its AttachmentType property to Screenshot.
- C Use a Take Screenshot activity and set its AttachToExecution property to True.
- D Use one of the Verify activities and set its TakeScreenshotIfFailed property to True.
Community Discussion