Utilities.Win32MajorVersion Property

Applies to TestComplete 14.0, last modified on January 23, 2019
This property is obsolete. See the Remarks section below.

Description

Use the Utilities.Win32MajorVersion property to get the major version number of the operating system on which TestComplete is running.

Declaration

Utilities.Win32MajorVersion

Read-Only Property Integer

Applies To

The property is applied to the following object:

Property Value

The property can store one of the following values:

Value Description
5 Windows XP, Windows Server 2003 or Windows Embedded 2009.
6 Windows 7, Windows Vista, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012 or Windows Embedded 7.
10 Windows 10 or Windows Server 2016

To determine the operating system on which TestComplete is running, you can use the Name or FullName property of the OSInfo object.

Remarks

This property is obsolete and supported for backward compatibility only. To get the major version number of the operating system, use the aqEnvironment.GetWinMajorVersion method.

See Also

aqEnvironment.GetWinMajorVersion Method
aqEnvironment.GetWinMinorVersion Method
aqEnvironment.GetWinPlatform Method
aqEnvironment.GetWinVersionBuild Method
aqEnvironment.GetWinAdditionalInfo Method
Name Property
FullName Property

Highlight search results