Buttons inside Menu's

Dec 11, 2013 at 9: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.

Thanks!
Dec 12, 2013 at 7:38 AM
Hey

the correct forum for these questions is here: https://groups.google.com/forum/#!forum/teststack_white

Have you tried to use UIAutomation directly (InvokePattern)

Throndorin
Coordinator
Dec 30, 2013 at 12:06 PM
Hi

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.