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.

Taking Too Much Time To Open Browser

shahparthshahparth Members
edited November -1 in Sahi - Open Source
Dear All,

I am Using Sahi In Linux.

I have script which will run for 1 to 2 days. In that script it will open and close the browser multiple times.

I am running sahi in shell. means sh sahi.sh file not using the GUI.

At the starting point, browser(firefox) opens immediately and script runs perfectly, but as time goes sahi is taking time to open the browser.

Is there any memory leak problem or what in java so it is taking so much time and memory to open the browser ?

After One Day, I need to reboot the machine and then again the script runs perfectly.

How to check which version of sahi am i using ?

Comments

  • Hi shahpath,

    I think you are executing testcase with sahi controller. Which shows and logs steps executed from your test script in it. So when you execute long test cases, size of this log file will increase (and it consumes more memory to display on controller) with execution and eventually it will slowdown your execution.

    So try and execute same scripts on batch mode. i think that will solve your problem.

    Details about batch mode execution is given on below link.

    http://sahi.co.in/w/Running+multiple+te … batch+mode

    Also, have a look at : http://sahi.co.in/forums/viewtopic.php?id=2905

    You can check the version of Sahi you are using on the Controller at top.

    Regards
    Sumitra
  • Hi Sumitra,

    I am not using sahi controller, I knew about sahi controller so I am not using that one.

    I am running the script in batch mode, then also it creates problem.

    Request to do the needful.
Sign In or Register to comment.