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.

JSERROR Step took too long to finish - When tests run in batch mode

sumeetsumeet Members
edited November -1 in Sahi - Open Source
Narayan,

We have total 35 test suites for different functional area and in total we have about 700 tests. We run them in a batch mode using ANT target and with 5 threads on IE7. Many time we see the test failed due to "JSERROR Step took too long to finish". But when I run the individual suites it runs without any error and the server is capable of handling large load where we run these 700 tests.

What could be the cause of getting the - JSERROR Step took too long to finish and how can we avoid this to have a clean run. Is this limitation of Sahi or any know issue in Sahi causes the random JSERROR in bulk test run.

I appreciate your response on this.

Thanks,
Sumeet

Comments

  • sumeetsumeet Members
    Adding to this we have also seen when a record from the table is selected and clicked view to see the details it shows details of different record.

    _click(_cell(_table("interactionDetails_IntList"+"_table"), "Stop Payment", "Interaction")); at May 8, 2009 5:04:35 PM
    _wait(500); at May 8, 2009 5:04:35 PM
    _click(_byId("interactionDetails_IntList_viewbutton")); at May 8, 2009 5:04:35 PM
    _assertContainsText("Stop Payment requested with form received", _byId("widget.interactionHistory.description")); Assertion Failed. Expected:[Stop Payment requested with form received] to be part of [Description Customer - Not present - Administration] at May 8, 2009 5:04:47 PM

    Not sure why this is happening. This is also seen when we have these 700 tests running in batch.
Sign In or Register to comment.