FileVersionInfo Property

Applies to TestComplete 15.69, last modified on November 13, 2024

Description

The FileVersionInfo property lets you determine the file version number of the specified application process. This information is retrieved from the application’s executable file.

Declaration

TestObj.FileVersionInfo

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

Applies To

The property is applied to the following objects:

View Mode

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

Property Value

This property can have two possible types of return value: an object and a string.

Generally, it returns the FileVersionInfo object, however, in cases when a string value is expected, it returns a string representation of an object.

When a string is returned, if has the following format: major_number.minor_number.build_number.private_number.

Example

For an example of using the FileVersionInfo property, see the FileVersionInfo Object topic.

See Also

FileVersionInfo Object
ProcessName Property
ProcessType Property
Path Property
CommandLine Property

Highlight search results