This project is read-only.

Buttons inside Menu's

Dec 11, 2013 at 10:52 PM
Hey guys, Hopefully someone can help me out here. I seem to be at a major roadblock here.

I have an application with a menu bar along the top, which I can find an navigate with TestStack fairly well. However, at the end of every menu path there is a button in the menu as the final element to interact with in a menu.

I can not get TestStack.White to click on a button inside a menu item. I've tried several different ways for making this happen without any luck. Can someone tell me how I can do this please? It's driving me crazy.

Dec 12, 2013 at 8:38 AM

the correct forum for these questions is here:!forum/teststack_white

Have you tried to use UIAutomation directly (InvokePattern)

Dec 30, 2013 at 1:06 PM

As Throndorin said, it would be good if you could send this to the google group, or post an issue on GitHub.

Could you also include some code (if its wpf, the xaml of the menu) and the automation code so I can see exactly what is happening.

Also Throndorin's point about using UIAutomation directly should also work.