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.

mouseOver, Up and Down funkyness. Where is physical position?

bagsmodebagsmode Members
edited November -1 in Sahi - Open Source
I've resorted to using the mouseOver, Up and Down functions instead of _dragDrop and I've found the following:

If I wait long enough, I will actually see the item that I want to drag being moved on the screen when I perform the mouseOver.
However I have to put in a wait of 5 seconds for the item to position itself (stepping through, once I hit the mouseOver step, the item is seen initially positioned at 0,0; then is dragged down to about where I asked the routine to position). If I don't put in the wait, the item doesn't get put in the right table row, or misses it entirely and doesn't get dropped in a cell and it just floats back where it started.

Additionally, I can't seem to get the item to go onto the correct row. Normally, if I drop the item in any of the cells within the row, it should all good. With Sahi, I've found that if I tell the mouse routines to use cell(1) within the row, it places the item in the row BELOW it. So where is mouse over/up/down physically positioned?
I should be able to drop the item within the initial cell, but if I drop it there with Sahi, it doesn't recognize the drop and goes back to the original list (I'm wondering if the positioning is off and it's actually being set just enough outside the cell that it's not recognizing it correctly). That's where I found that if I drop in cell(1) that it at least drops into a row, just the one below, not the one that I'm targeting. So once again it seems it's just a little off. While I can get it to the proper place if I just add 1 as a kludge, means that I can't test dropping into the top row.

Anyone have clue what's going on?
Sign In or Register to comment.