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.
How to press Ctrl+Shift+X on a web page
Hi All,
I need to press Ctrl+Shift+X on a web page (body of the page).
Please help me in this.
Thanks in advance..
Regards,
Shankar L
I need to press Ctrl+Shift+X on a web page (body of the page).
Please help me in this.
Thanks in advance..
Regards,
Shankar L
Comments
Use:
_keyPress(_textbox("t2"),"X","CTRL+SHIFT"); to press Ctrl+Shift+X.
Regards
Sumitra
Thanks for your help.
But I need to execute that method using the java. But i did not see any keypress method in java.
Please help me in this..
Regards,
Shankar L
At present this feature is not available, you can expect this in the next release.
Regards
Sumitra
Is there any way to call the above step in my java code.
like browser.execute("_keyPress(_div("mainDiv"), 'x', "CTRL|SHIFT"););
Regards,
Shankar L
browser.execute("_sahi._keyPress(_sahi._div(\"mainDiv\"), 'x', \"CTRL|SHIFT\");");
or
browser.execute("_sahi._keyPress(_sahi._div('mainDiv'), 'x', 'CTRL|SHIFT');");
Regards,
Narayan
In my application after selecting radio button of CSV file format need press CTRL + ALT and at the same time need to click Run Report button.
I have tried it following way :
function funKeyPress()
{
_keyPress(_cell("Run Report"),CTRL+ALT);
}
Is there any other way to use _call to perform above action.