ImageCaptureForTestResults Property
The criteria for when to capture still images for the run results.
Property type
Read-write property
Visual Basic
Public Property ImageCaptureForTestResults As String
Return Type
  • Always--Captures images for all steps in the run.
  • OnError--Captures images only for failed steps.
  • OnWarning--Captures images only for steps that return a failed or warning status.
  • Never--Never captures images.
Note: This property replaces the CaptureForTestResults property that was available in earlier versions of the UFT One automation object model.  The CaptureForTestResults property is supported for backward compatibility only and should be replaced with the ImageCaptureForTestResults property in your existing automation scripts.
See Also