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.
"Enter" _keyPress require to work on _button control
Hi Narayan,
Can we use "Enter" or "Space" or "Tab" kind of keys on button or relevant kind of controls?
like,
Can _keyPress(or other method) works on _button control, like - _keyPress(_button("Save"),13);
it will be really very helpful, if it's possible to use all these "ENTER, TAB, SPACE" keys using keypress or similar method(API or anyway). Please suggest me if that would be possible
Thanks in Advance,
Ashish
Can we use "Enter" or "Space" or "Tab" kind of keys on button or relevant kind of controls?
like,
Can _keyPress(or other method) works on _button control, like - _keyPress(_button("Save"),13);
it will be really very helpful, if it's possible to use all these "ENTER, TAB, SPACE" keys using keypress or similar method(API or anyway). Please suggest me if that would be possible
Thanks in Advance,
Ashish
Comments
I am also having same concern.
_keyPress works on Text box to enter value. But in case we want to Hit 'Enter' on 'OK'/'Submit' button.
Do we need to configure anything in sahi's to use such kind of _keypress event?