DragStart don't work in Chrome

2 posts, 0 answers
  1. Ildar
    Ildar avatar
    3 posts
    Member since:
    Jun 2012

    Posted 11 Jul 2012 Link to this post

    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?
  2. Cody
    Admin
    Cody avatar
    3354 posts

    Posted 12 Jul 2012 Link to this post

    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
Back to Top