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.

batch script problem

shankarshankar Members
edited November -1 in Sahi - Open Source
When I tried to run scripts in a batch, the web page is getting loaded using the following url ("_http:/sahi.example.com/_s_/dyn/Player_auto?file=D%3A%5Csahi%5Cscripts%5CRT_DSM_01.sah&startUrl=http%3A%2F%2F10.11.252.208%3A8003%2Fmc%2Flogin.jsp&sahisid=sahi_1213782104765sahix9555x)

I have given the following command to run the batch script
..\tools\toggle_IE_proxy.exe enable
java -cp ..\lib\ant-sahi.jar net.sf.sahi.test.TestRunner D:\sahi\scripts\sahitest.suite "C:\Program Files\Internet Explorer\IEXPLORE.EXE" _http:/<MyApplication>login.jsp default localhost 9999 3 ..\tools\toggle_IE_proxy.exe disable

Can any one help me?


Note: I have used _ as a prefix to the URL and removed one / from the URL, since I was not allowed to post URLs

Thanks,
Shankar

Comments

  • Hi,

    I have the same problem.
    Do you found a solution ?

    Thanks,

    Patrice
  • narayannarayan Administrators
    Shankar, Patrice, the problem seems that the proxy was never set on IE before. toggle_IE_proxy.exe only toggles the proxy settings on IE. It does not add a new one. So you need to once set the proxy on IE manually.
Sign In or Register to comment.