unable clik on application run on win 7

Sep 1, 2010 at 8:58 AM
Edited Sep 1, 2010 at 8:59 AM

Hi all,

When I run application on Win 7, the White can not run  window.Mouse.Click(x,y)

I see it can determined the position of x but not determined position of y (because the mouse move to position of X but not move to position of y, the mouse always move the the title bar or y postion although I change the value of y)

 Have any of you guys run into this problem?

example code:


  window = TestHelper.GetWindow(TestHelper.application, Constants.MAIN_WINDOW_TITLE);

window.Mouse.Click(new System.Drawing.Point(200,300));