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.

ERROR : Script did not start within 150 seconds.

ranjanks001ranjanks001 Members
edited June 2014 in Sahi - Open Source
I am using sahi latest open source version on Red Hat Enterprise Linux Server release 6.5 (Santiago) & browser version is Mozilla Firefox 17.0.10.

I am trying to execute a simple Sahi script in a .sah file like _assertExists(_div("Go"));
Also tried to execute the demo scripts shipped with open source Sahi. But every time the error coming is same.

I am running this under my company's network. Even after setting the proxy in userdata.properties & sahi.properties, the same error is coming.

I tried executing the sahi file using an ant script & testrunner.sh, but the same error is coming.

I want to understand at what points this error comes & what should I need to do to fix this problem.

This is what I see in the generated hmtl log file.

Test Total Steps Failures Errors Success Rate Time Taken (ms)
Test2.sah 2 0 1 50% 150563

Please help.

Answers

  • When a script does not start, it's likely that the browser could not be started. Please check if, when running a suite, a browser gets started
  • I'm having the same issue. However, the browser does start but the script does not seem to execute. After the script.max_cycles_for_page_load number is reached, the window is closed (Killed) and I just get the same error. I am using a custom browser (based off Firefox it seems) that our employer uses for its apps.

    Another thought was I am able to get the application to launch via Firefox instead of the the custom browser through User Agent switching. However, when I start the browser from Sahi, none of the addons are started. Is there a way to start the User Agent switching addon inside Sahi?
  • I'm having the same issue. However, the browser does start but the script does not seem to execute. After the script.max_cycles_for_page_load number is reached, the window is closed (Killed) and I just get the same error. I am using a custom browser (based off Firefox it seems) that our employer uses for its apps.

    Another thought was I am able to get the application to launch via Firefox instead of the the custom browser through User Agent switching. However, when I start the browser from Sahi, none of the addons are started. Is there a way to start the User Agent switching addon inside Sahi?
  • I'm having the same issue. However, the browser does start but the script does not seem to execute. After the script.max_cycles_for_page_load number is reached, the window is closed (Killed) and I just get the same error. I am using a custom browser (based off Firefox it seems) that our employer uses for its apps.

    Another thought was I am able to get the application to launch via Firefox instead of the the custom browser through User Agent switching. However, when I start the browser from Sahi, none of the addons are started. Is there a way to start the User Agent switching addon inside Sahi?
Sign In or Register to comment.