Storages Object

Applies to TestComplete 15.40, last modified on July 05, 2022

Description

The Storages object is only available if the Storages plugin is installed. Its methods - INI, XML and Binary - return a FileSection object, while the Registry method returns a Section object. Both objects provide methods and properties used to work with sections and options. They can be specified in the system registry, or in INI, XML and binary files. Depending on how the Section and FileSection objects were created, they work with sections and options of a definite source.

Note: The Storages object can successfully read only those binary and XML files that were created via its methods.

Also, the Storages object lets you read and change registry values of the REG_DWORD, REG_SZ and REG_EXPAND_SZ types only. The REG_BINARY and REG_MULTI_SZ value types are not supported.

Members

Example

TestComplete includes a sample project that demonstrates how you can work with the Storages object:

<TestComplete Samples>\Common\Storages

Note: If you do not have the sample, download the TestComplete Samples installation package from the support.smartbear.com/testcomplete/downloads/samples page of our website and run it.

See Also

Restrictions on Names of Options and Sections
Section Object
FileSection Object

Highlight search results