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.

not able to record drag - drop with sahi and

sedhuaitsedhuait Members
edited September 2011 in Sahi - Open Source
My scenario , i have two options , either drag and drop or else use the arrow keys .


if i record it using arrow keys , it is giving the line
"_click(_div(" x-icon-btn x-nodrag arrow-right x-component arrow-right-over"));"


or an id like "div(290)" .

Since my app is gwt the id will keep on changing .so i cant use Id ..

but if i use " _click(_div(" x-icon-btn x-nodrag arrow-right x-component arrow-right-over")); " ,
it is failing while playing it .


if i use drag and drop , it not recognizing the operation .

My Application is GWT - GXT web project .

Comments

  • narayannarayan Administrators
    Can you try with:

    _click(_div("/x-icon-btn x-nodrag arrow-right x-component/"));

    and see?
  • I tried with _click(_div("/x-icon-btn x-nodrag arrow-right x-component/")); (as u said)

    _click(_div("/x-icon-btn x-nodrag arrow-right x-component x-icon-btn x-nodrag arrow-right x-component arrow-right-over/"));


    But both of this fails !! Any other suggestion ?
Sign In or Register to comment.