Preferences Property

Applies to TestComplete 14.10, last modified on June 5, 2019

Description

The property returns a Preferences object that comprises a number of settings available for the current Mozilla application.

Declaration

TestObj.Preferences

Read-Only Property A Preferences object
TestObj A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section

Applies To

A Browser or Process object that corresponds to a Mozilla application (Firefox, Thunderbird and so on).

View Mode

To view this property in the Object Browser panel and in other panels and dialogs, activate the Advanced view mode.

Property Value

A Preferences object that lists the available application settings.

Remarks

The Preferences property is only available if the Firefox Support plugin is installed and the tested process object corresponds to a Mozilla application, for example, Firefox, Thunderbird and so on. Otherwise, this property is absent in the object’s property list.

Example

To view an example that demonstrates how to use the Preferences property, see Changing Browser Settings from Tests.

See Also

Preferences Object
Browser Object
Process Object
AppInfo Property
Changing Browser Settings from Tests

Highlight search results