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.
Issues while executing sahi batch run in cmd line.
Hi Team,
I have a scenario, pls let me know how to simulate Sahi scripts from batch run for the same.
1) When i launch my website URL. It invokes an jnlp file and then it starts my app in another window and closes the main window.
2) Also there are some popups which appear, which needs to be clicked for the app window to open.
3) When i execute the scripts using Sahi controller, i go to this website and then i play the scripts.
4) But when i run the scripts using batch run using a cmd line, then the batch run is failing since i am not able to set the URL.
5) How can i overcome this problem for batch run.
6) I tried to execute the sahi script from the launch of the url. But the record doesn't work. It works only when the app login screen appears.
Also when i use a browser.navigateTo(""), I face the same problem. How do i overcome this problem.
Regards,
Chandra
I have a scenario, pls let me know how to simulate Sahi scripts from batch run for the same.
1) When i launch my website URL. It invokes an jnlp file and then it starts my app in another window and closes the main window.
2) Also there are some popups which appear, which needs to be clicked for the app window to open.
3) When i execute the scripts using Sahi controller, i go to this website and then i play the scripts.
4) But when i run the scripts using batch run using a cmd line, then the batch run is failing since i am not able to set the URL.
5) How can i overcome this problem for batch run.
6) I tried to execute the sahi script from the launch of the url. But the record doesn't work. It works only when the app login screen appears.
Also when i use a browser.navigateTo(""), I face the same problem. How do i overcome this problem.
Regards,
Chandra
Comments
Do you mean that browser.navigateTo("http://yoururl.com/"
-narayan
What i meant was if i give browser.navigateTo("http://yoururl.com/"
When i use browser.navigateTo("http://yoururl.com/"
How to solve this problem? Is it possible to bypass the permissions the browser requests or record the permissions requested by the browser?
Can you send screenshots of the security alert and the general flow to support@sahi.co.in ?
We will have a look and get back to you.
Regards,
Narayan