This is a migrated thread and some comments may be shown as answers.

Drag and Drop is not working when browser or System is locked

1 Answer 84 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Kumar
Top achievements
Rank 1
Kumar asked on 24 Oct 2013, 06:55 AM

Hi ,

I am using  DragTo method to drag and drop the HTML control ("DragTo(HtmlControl control)"), It is working fine when 
browser is maximized and mouse is not moved. But when browser is minimized or script are running  
remotely or system is locked it is throwing error "threw exception: System.ComponentModel.Win32Exception: SendInput: Failed. Win32Error:"

Please let me know if you have any solution for this.

Thanks,
Kumar


1 Answer, 1 is accepted

Sort by
0
Boyan Boev
Telerik team
answered on 25 Oct 2013, 12:31 PM
Hello Kumar,

Any actions that requires moving the mouse (drag and drop) or sending key strokes requires an unlocked desktop and NOT minimize browser.

Telerik tests are not the only types affected by this Windows limitation. You will find this is a general problem with any tool that performs UI testing. 

You can check also this article.

Regards,
Boyan Boev
Telerik
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
Tags
General Discussions
Asked by
Kumar
Top achievements
Rank 1
Answers by
Boyan Boev
Telerik team
Share this question
or