Restrictions on Names of Options and Sections

Applies to TestComplete 14.70, last modified on April 22, 2021

There are specific restrictions on how you name sections and options. They depend on where you store options and sections (the system registry, or XML, INI or binary files).

Binary files

No restrictions.

INI files

The string “Root” cannot be used as a section name. All INI files created by TestComplete already have a section named “Root”. Another occurrence of this name is not allowed.

Registry

The standard restrictions on names of registry keys and values are applied to the names of sections and options in the system registry. For more information, see the Structure of the Registry article in the MSDN library.

XML files

The standard restrictions on names of XML tags are applied to the names of sections and options in XML files. See http://www.w3.org/TR/2000/REC-xml-20001006.html. This means that names of sections and options must begin with a letter or '_' and they must contain the following characters: ’_’, ’.’, ’0’..’9’, ’A’..’Z’, ’a’..’z’.

See Also

Storages Object

Highlight search results