Priority Property (Process and Browser Objects)

Applies to TestComplete 15.70, last modified on December 17, 2024

Description

The Priority property returns the process priority in the operating system.

Declaration

TestObj.Priority

Read-Only Property Integer
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

One of the following constants defined in the Win32API object:

Constant Value Description
NORMAL_PRIORITY_CLASS 32 The Normal priority in Windows Task Manager.
IDLE_PRIORITY_CLASS 64 The process whose threads are running only when the system is being idle. (The Low priority in Windows Task Manager.)
HIGH_PRIORITY_CLASS 128 The High priority in Windows Task Manager (for example, winlogon.exe).
REALTIME_PRIORITY_CLASS 256 The Realtime priority in Windows Task Manager (the highest possible priority).
ABOVE_NORMAL_PRIORITY_CLASS 16384 The AboveNormal priority in Windows Task Manager.
BELOW_NORMAL_PRIORITY_CLASS 32768 The BelowNormal priority in Windows Task Manager.

See Also

CPUUsage Property
MemUsage Property
VMSize Property
ProcessId Property

Highlight search results