Utilities.Win32MajorVersion Property

Applies to TestComplete 15.47, last modified on January 20, 2023
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, Windows Server 2016 or Windows Server 2019

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

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

Highlight search results