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

DragStart don't work in Chrome

1 Answer 78 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Ildar
Top achievements
Rank 1
Ildar asked on 11 Jul 2012, 09:53 AM
Hi i need get Drag Start event. 

I doing it 

            HtmlTextArea TextAreaText = Pages.XXCrossBrowserTest.EtTextAreaTextArea;
            TextAreaText.ScrollToVisible(ArtOfTest.WebAii.Core.ScrollToVisibleType.ElementTopAtWindowTop);
            MouseEvent mouseover = new MouseEvent();
            mouseover. Type = "dragstart";
            TextAreaText.InvokeEvent(mouseover);

It work IE and FF, but not work in Chrome and Safari.

How I can get DragStart event for Chrome browser?

1 Answer, 1 is accepted

Sort by
0
Cody
Telerik team
answered on 12 Jul 2012, 10:41 PM
Hello,

[copied from my reply in your duplicate private support ticket]

I see what you mean... it results in "Timed out waiting for command to be handled". I've filed a bug on this here. We'll see what our software developers can do about it.

What is it you're trying to accomplish? Could you use the standard DragDrop method? e.g.
ActiveBrowser.Desktop.Mouse.DragDrop

Or else break it up into these three calls?

ActiveBrowser.Desktop.Mouse.Click(MouseClickType.LeftDown
ActiveBrowser.Desktop.Mouse.Move
ActiveBrowser.Desktop.Mouse.Click(MouseClickType.LeftUp

All the best,
Cody
the Telerik team
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
Tags
General Discussions
Asked by
Ildar
Top achievements
Rank 1
Answers by
Cody
Telerik team
Share this question
or