TaskbarWin Class

Description

TaskbarWin is the class for the taskbar in Windows platforms.

Availability

This class is supported only on the Classic Agent.

Inheritance

TaskbarWin derives from the AnyWin class; no classes derive from this class.

Notes

To access the taskbar, use the TaskBar window declaration defined in winclass.inc:
mswxp, msw2003 window TaskbarWin Taskbar

For example, to set the location of the taskbar to the top of the screen, use the SetLocation method:

Taskbar.SetLocation (LOC_TOP)

The TaskbarWin class defines one object, the PushButton Start, which is the Start button on the taskbar. You can select items from the Start menu, but only by using an index value. The text of the items on the Start menu is not available to Silk Test Classic. For example, the following statement selects the fifth item on the Start menu:

Taskbar.Start.PopupSelect (10, 10, "#5")

However, because each machine is likely to have a different Start menu and because each machine's Start menu can change at any time, accessing the Start menu this way is likely to be reliable only on one machine and only for a short time.

Methods and Properties

In addition to the methods and properties it inherits from the AnyWin class, TaskbarWin has the following methods and properties: