I want to drag and drop from my desktop or any windows folder, to my browser, to test our file upload form. Everything is ok, the code seems to work, but when the mouse moves to the browser, looks like it loses the file.
Here is an example:
Code: Select all
repo.Desktop.File.MoveTo();
Mouse.ButtonDown(System.Windows.Forms.MouseButtons.Left);
repo.Browser.Container.MoveTo();
Mouse.ButtonUp(System.Windows.Forms.MouseButtons.Left);

Any suggestion ?
Thanks in advance.