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.

Sahi Script not Working completely on Firefox

rajatsdrajatsd Members
edited November -1 in Sahi - Open Source
Hi Narayan,

As was the last conversation where you guided me to use sahi scripts correctly to acquire information from the webpage and store it on my machine.

Despite that the script runs fine at once , it sometimes shows a nature of getting paused if the machine is left idle for long hours whereas it should continuing running the script.

Then the second problem that I am facing with the script is that, it simply stops resulting from a failure of script saying that a particular step did not complete in 150 seconds.

I can paste the script here and the details as well. I am using firefox 3.5 and above to run scripts on.

Could you please let me know about any possible mistakes that I am doing or any configurational procedures that I need to apply?

Thanks

Comments

  • narayannarayan Administrators
    How big is your script and how long does it run?
    Your tests should ideally run for short durations of time and be invoked via a suite.

    Try Jim's fix for memory leak on Firefox browser and check. http://sahi.co.in/forums/viewtopic.php?id=1820
  • I tried doing the memory leak fix but that came in as no use to me since still sahi returns error that it did not find any thing on the click event or the argument passed to the click event is not available.

    Is it fixable in sahi to run it for long time? Actually my script runs iteratively clicking on each and every link and saves the data available on the webpage in every link. But since there are thousand of iterations on the page the controller stops on running for a long time. What I conclude d is that it may be because the webpage stops responding quick enough to cope up with sahi steps or it may be due to some configuration limitations of sahi.

    There's also one thing that the link (you have mantioned in your last post) dicusses about running from the command prompt. Can you put something more into that discussion as how to run from cmd prompt as what are the benifits?
Sign In or Register to comment.