Log.SetDefaultPictureConfiguration Method

Applies to TestComplete 15.40, last modified on March 25, 2022
This method is obsolete. See the Remarks section below.

Description

Use the SetDefaultPictureConfiguration method to specify new image format settings for the test log. After you have called this method, the Log object will post images using the format and settings set by the SetDefaultPictureConfiguration method.

Declaration

Log.SetDefaultPictureConfiguration(Configuration)

Configuration [in]    Required    An ImageConfiguration object    
Result None

Applies To

The method is applied to the following object:

Parameters

The method has the following parameter:

Configuration

Specifies the ImageConfiguration object that defines the image format settings. You can create this object using the CreatePictureConfiguration method of the Log object or the CreatePictureConfiguration method of the Picture object.

Result Value

None.

Remarks

The Log.SetDefaultPictureConfiguration method is obsolete and supported for backward compatibility only. It is not displayed in the Code Completion window.

We do not recommend changing the image format from script or from a keyword test. Use the Image Settings dialog for this purpose. To learn more about specifying the image format at design time, see Specifying Log Images Format.

See Also

Specifying Log Images Format
CreatePictureConfiguration Method
CreatePictureConfiguration Method
Image Settings Dialog

Highlight search results