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.

Emulating tab forward and backward using _keyPress doesn't work

NaomiCNaomiC Members
edited November 2012 in Sahi - Open Source
OS: Mac OS X 10.7.5
Browser: FireFox v.12
Sahi OS Build: 2011-07-19

In Sahi/Ruby, tried the following code to tab forward:

@browser.execute_step("_sahi._keyPress(textbox("first_name"), 9)")

It tabbed within the field but didn't tab out of the field as expected. Tabbing is often needed in automated testing so please fix this.

P.S. Not sure how to do tab-back (need key combination: Shift+Tab)
Sign In or Register to comment.