This project is read-only.

Script run by NUNIT does not work correctly on Windows7 64bit

Dec 13, 2012 at 2:53 AM

Dear friends,

My testing environment is windows 7-64bit. My script using White debugged correctly. But when I run it on Nunit, drag and drop event is not work correctly, wrong point on screen of Windows. Could you please share me your solution for this?

Look forward to hear from you, friends!


Dec 13, 2012 at 7:43 AM


try to build for x86 and use Nunit x86 version (look at bin folder of Nunit)



Dec 13, 2012 at 7:50 AM

I used Nunitx86 version. All actions work well excepted drag and drop. May be Windows 64bit recognize location of point is wrong.

Dec 13, 2012 at 8:18 AM

Have you try to build your tests for x86?

Dec 13, 2012 at 4:18 PM

Yes. I build scripts for x86 and run Nunitx86. Here is my code for drag and drop:

                label ReservoirSection = browserWindow.Get<label>(UI_IllustrationEditorPage.bt_ReservoirSection);
                //point the mouse for drag
                White.Core.InputDevices.Mouse.Instance.Location = ReservoirSection.ClickablePoint;
                //Move the mouse a little down
                White.Core.InputDevices.Mouse.Instance.Location = new System.Windows.Point(200500);