How to Add the failed screenshots to the UITestlogs generated by Coded UI? RRS feed

  • General discussion

  • I am using the below line of code for results.Playback.PlaybackSettings.LoggerOverrideState = tmlLoggerState.AllActionSnapshot;

    Problem here is It only captures the screenshot for pass scenarios.

    If I want to capture the screenshot for fail also in the same UITestlog created using HTML Logger, How to do it ?

    Is there any way to add the screenshots captured by us to the HTMLLOG ?

    Please let me know if anyone have any solution



    Wednesday, May 24, 2017 11:38 AM