18 January 2026:
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
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.
Can we record Mouse Movements using Sahi
Hey Guys explored Sahi for one of our projects and i am looking forward to propose this tool. But i am caught up with on major issue. I am unable to record any mouse movements.
Can we do some kind of low level recording as in QTP to record mouse movements. Can we record some thing like drag and drop features.
It would be of gr8 help if any one would let me know how to achieve this using Sahi.
Can we do some kind of low level recording as in QTP to record mouse movements. Can we record some thing like drag and drop features.
It would be of gr8 help if any one would let me know how to achieve this using Sahi.
Comments
Mouse movements are not automatically recorded by Sahi. For hovering a mouse over an element, use _mouseOver(element), for drag and drop use _dragDrop(draggableEl, droppableEl)
Regards,
Narayan
The requirement is some thing like this.....I need hold mouse right click and keep moving mouse on a image for 3 to 4 times.
can this be achieved?
I tried using the drag and drop function provided by you, It does not work though.
I am unable to drag and drop. below is my sample code.
_dragDrop(_image("thumb"), _image("viewportImage[1]"));
please let me know how to go about this ?
My above question is how can i record mouse movements holding right mouse click. Any approach u suggest ?
The drop element would mostly be the element encapsulating that viewportImage. You will have to figure out where to drop correctly. You could ask your developer about it.
The right click mouse move is not supported out of the box right now. If you really need it, we may give you a work around for that. Please email support@sahi.co.in for that, since it looks like we may need more information.
Regards,
Narayan
You Rock !!!
The issue is fixed now, Drag and drop works fine. Its the encapsulating element where we need to drop the image thumbnail.
I will send out a separate email as suggested by you to support at sahi on mouse movements recording.
I am also facing same problem while drag and drop images. Could please send me the work around to my mail id ravimakkena@gmail.com.
Thanks in advance
Ravi