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.

_keypress code for tab key

SahiUser59SahiUser59 Members
edited November -1 in Sahi - Open Source
Hi guys, what is the syntax to simulate the press of the TAB key? I thought the char code was 9 but this is not working. I thought 69 was e but it keeps coming out with an uppercase e.

Here is what I am doing

_keyPress(_textbox("LineNarrative"), 8); // Backspace, no effect
_keyPress(_textbox("LineNarrative"), 69); // Should be lowercase 'e' but is uppercase
_keyPress(_textbox("LineNarrative"), 9); // Should be the TAB key but nothing happens

Comments

Sign In or Register to comment.