WPF button can not be clicked

Feb 12, 2010 at 4:32 AM

HI all,

I am using White Lib 0.19 to do UI automation tests on WPF application.

I CAN fetch the button but no matter how I try, the button cannot be clicked.

I tried use

1. Click();

2. Focus(); then Click();

3. DoubleClick();

4. mouse.Click(button.location);

all failed.

Any idea?

Thank a lot!

Feb 12, 2010 at 7:19 AM



do you use Win 7 64bit?


than there is an issue


see also here:


Feb 15, 2010 at 11:29 PM

Hi Throndorin,

Indeed, I am using Win2k8 64bit.




Feb 15, 2010 at 11:32 PM

I managed to click that button using Keyboard to enter RETURN:


White.Core.InputDevices.AttachedKeyboard kbd = mainWin.Keyboard;