18 January 2026:


This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.



Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.

Problem with dragdrop

gligogligo Members
edited January 2012 in Sahi - Open Source
Hello,
I have another problem with dragdrop
In one ExtJs tree with divs, it is working only if the element is in the visible part, if you have to scroll down to find the element, then it is not working..
Can you please help me??
Many many thanks!

Comments

  • I found that, it works with the Sahi only, if before that I have already done this manual on the same window/mask...then it works

    But if I scroll down and try to do the tests for another tree element below, then nothing helps..
    please...give me some advise...I cannot make my dragdrop tests work :((

    What is not right handled...what is the difference if I do it with Sahi or manual with the mouse?
  • Hi gligo,

    Have a look at how to work with drag and drop in Sahi:

    http://sahi.co.in/w/_dragDrop

    http://sahi.co.in/w/_dragDropXY

    Could you use: _call(window.scrollTo(0, 1200)); to scroll down and try to drag and drop?

    If this doesnot work then could you please share the URL or point us to an application?

    Regards
    Sumitra
  • gligogligo Members
    edited January 2012
    I faced the exact problem
    The drag element is catched and the drop element is also selected, but, somehow the mouse move is not performed, in order to catch the exact selection
    If I just move the mouse by hand, everything is working..can you help me, how to perform this mousemove
  • gligogligo Members
    edited January 2012
    I think, I found decision for now, using 2 mousemove simulation one after another...
Sign In or Register to comment.