ImageCaptureForTestResults Property

Description

The criteria for when to capture still images for the run results.

Property type

Read-write property

Syntax

Visual Basic
Public Property ImageCaptureForTestResults As String

Return values

  • 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.

Remarks

This property replaces the CaptureForTestResults property that was available in earlier versions of the 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.

Example

Configure Capturing Still Images During a Test Run

See Also

RunOptions Object