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.
Sahi and Ruby - double click
Hi
I'm using Sahi, with .sah scripts, but I'm interested in migrate to ruby scripts. The first subject is I didn't find a double click method in Sahi gem for ruby. I suppose that is not implemented. How can I add it? Thanks in advance!
I'm using Sahi, with .sah scripts, but I'm interested in migrate to ruby scripts. The first subject is I didn't find a double click method in Sahi gem for ruby. I suppose that is not implemented. How can I add it? Thanks in advance!
Comments
Thanks for pointing that out.
In sahi.rb there is a line:
@actions = {"click"=>"click", "mouse_over"=>"mouseOver",
"focus"=>"focus", "remove_focus"=>"removeFocus",
"check"=>"check", "uncheck"=>"uncheck"}
Add double click to it like this:
@actions = {"click"=>"click", "mouse_over"=>"mouseOver",
"focus"=>"focus", "remove_focus"=>"removeFocus",
"check"=>"check", "uncheck"=>"uncheck", "dblclick"=>"doubleClick"}
We will change it here and release a new gem. Let me know if you find anything else.
Regards,
Narayan