Forum Discussion
Dmitry_Nikolaev
14 years agoStaff
Hi,
To access buttons of the taskbar, you need to add the 'MSTaskListWClass' class to the 'Open Applications | MSAA' section of the project settings. This will make TC expose accessibility information and recognize individual objects of the taskbar. After that, you can access buttons by their captions (see the example below). The captions are shown as tooltips for each button.
Sys.Process("Explorer").Window("Shell_TrayWnd").Window("ReBarWindow32").Window("MSTaskSwWClass", "Running applications").ToolBar("Running applications").Button("Microsoft Office Word 2007").Click()
You can find more information about testing with the Microsoft Active Accessibility technology in this help topic.