Forum Discussion

sgarcia's avatar
sgarcia
Contributor
15 years ago

Selecting running application on windows toolbar in Windows 7

I've done a search on this and apparently this is a big mystery.



The way that Windows 7 handles the running applications for the toolbar has changed from XP. I want to be able to specifically call a click method on a particular toolbar object but all I can access is the toolbar itself and when I record it will record using the x, y coordinates of the toolbar itself. I don't want to have worry about the exact location within the toolbar of my tested app every time I run my tests.



The list of applications is held in the MSTaskSwWClass class which I can't figure how to access and use to determine the item I want to click.



Can anybody help out here.



Thanks,

Scott
  • Hi Scott,




    You can add your AUT to the Tested Applications collection and run it either from the TestComplete UI or from your test. Please see "Tested Applications" and related help topics for details.




    Is this approach suitable for you?