This project is read-only.

WPF button can not be clicked

Feb 12, 2010 at 5: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 8:19 AM



do you use Win 7 64bit?


than there is an issue


see also here:

Feb 16, 2010 at 12:29 AM

Hi Throndorin,

Indeed, I am using Win2k8 64bit.




Feb 16, 2010 at 12:32 AM

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


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