Mouse.Location ignores Y coordinate and sets it to 0

Dec 20, 2012 at 11:55 AM

We've been using White for a while now with MsTest and it worked fine. Now we switched to xUnit (due to better integration it has with our build server) and we noticed some tests failing, because the mouse clicks not where it is asked to. It appeared that Y coordinate is ignored regardless to which value it was set.

I'm changing

 

Mouse.Location = new Point(x, y)


in Quick Watch window right now and the mouse changes X coordinate only, keeping Y equal to 0 regardless of which Y value I provide. At the same time if I switch to the older branch where the only thing that is changed is the usage of MsTest instead of xUnit - it all works as expected. 

Any ideas why is that happening?

Thanks,
Vitaly