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 click "Refresh" button in IE 7.0 using SAHI?
Hello,
How to refresh 'Internet Explorer 7.0' browser, using SAHI scripts.
I am using SAHI for automating web application and need to refresh my Web Application Under Test.
Kindly help me in doing one of the following things using SaHI scripting:
1) Clicking "F5" button of keyboard
2) On IE 7.0, select "View" menubar and click on "Refresh" option
3) Click on " Refresh" button of Internet Explorer
I have noticed that, by 'Pressing' CTRL key and hovering mouse on Internet Explorer's menu bar, SAHI could not identify browser objects.; This could be behavior of SAHI, I am not sure.
Thanks,
Santosh Takekakr
How to refresh 'Internet Explorer 7.0' browser, using SAHI scripts.
I am using SAHI for automating web application and need to refresh my Web Application Under Test.
Kindly help me in doing one of the following things using SaHI scripting:
1) Clicking "F5" button of keyboard
2) On IE 7.0, select "View" menubar and click on "Refresh" option
3) Click on " Refresh" button of Internet Explorer
I have noticed that, by 'Pressing' CTRL key and hovering mouse on Internet Explorer's menu bar, SAHI could not identify browser objects.; This could be behavior of SAHI, I am not sure.
Thanks,
Santosh Takekakr
Comments
You can however refresh using
_call(top.location.reload());
I am able to refresh browser using " _call(top.location.reload()); "
Thank you for quick reply
I Love SAHI,
-Santosh Takekar
You may also appreciate going through the the following Browser Objects Referenc at w3schools. It will help in similar situations.
http://www.w3schools.com/jsref/default.asp
Regards,
Pankaj