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.

slow palyback of script

isreenivasisreenivas Members
edited November -1 in Sahi - Open Source
Hi,

I am facing the problem with slow playback of scripts.Each step is taking so much time.
Sometimes it is showing error message like "didn't complete within 150 seconds".
All these scripts run fine previously.

I am using sahi 3.5,facing this problem with both IE and FF.

can you suggest me anything to resolve this.

Thanks
isreenivas

Comments

  • SumitraSumitra Members
    Hi isreenivas,

    Kindly check if the application is changed.

    Regards
    Sumitra
  • There seems some hidden frames in that page. Is this the reason? Even if I record again and play I could see the delay. Can we have an online meeting if possible?
  • SumitraSumitra Members
    Hi isreenivas,

    Check the logs whether the Success rate is 100% even if the scripts are running slow.

    Also, was the hidden frames found before?

    Regards
    Sumitra
  • narayannarayan Administrators
    Has your application changed recently?
    Do you have any "Comet" like connections which are kept open?
  • Yes Inside application there have many changes, but no major change in the login page. What do you mean by "Comet" like connectons? Are you referring db connections? I don't think idle connections here. If there are many db idle connections, we faced application itself is not accessible.
  • Here's logs details. There's almost 2-3 minutes delay between each step which is not acceptable.

    Test Total Steps Failures Errors Success Rate Time Taken (ms)
    logintest220.sah 5 0 0 100% 555254


    Starting script
    _navigateTo("https://10.128.16.220:8443/PicoEms";); at Jun 22, 2011 3:58:35 PM
    _setValue(_textbox("loginname"), "admin"); at Jun 22, 2011 4:00:49 PM
    _setValue(_password("password"), "admin123"); at Jun 22, 2011 4:03:01 PM
    _click(_span("Login")); at Jun 22, 2011 4:05:21 PM
    _click(_link("Logout")); at Jun 22, 2011 4:07:47 PM
    Stopping script
  • This was failed with FF browser. Pl find logs below:

    Test Total Steps Failures Errors Success Rate Time Taken (ms)
    logintest220.sah 5 0 1 80% 438049

    Starting script
    _navigateTo("https://10.128.16.220:8443/PicoEms";); at Jun 22, 2011 4:09:59 PM
    _setValue(_textbox("loginname"), "admin"); at Jun 22, 2011 4:12:03 PM
    _setValue(_password("password"), "admin123"); at Jun 22, 2011 4:14:05 PM
    _click(_span("Login")); at Jun 22, 2011 4:15:03 PM
    _click(_link("Logout"));
    Error: The parameter passed to _click was not found on the browser at Jun 22, 2011 4:17:15 PM
    Stopping script
  • SumitraSumitra Members
    Hi isreenivas,

    Check if you have accepted the SSL certificates for the hidden frames.

    Regards
    Sumitra
  • Sumitra, I don't see any red marked ones in SSL manager screen. Seems all are accepted.
  • narayannarayan Administrators
    Hi isreenivas,

    We can set up an online meeting with you to see what the problem is. The delay is mostly because there is some request which is not completing because there is some real time chat or some similar update mechanism on the website, which Sahi indefinitely waits on. We need to figure out which request this is and ask Sahi not to wait for it.

    Regards,
    Narayan
  • Thanks Narayan. Yes we can have online meeting.
  • Also I checked with my development team and understand there's no other request happening during login time which may cause this delay as you mentioned. Pl note there's no delay if I login normally and record time, but found only Sahi playback.
  • Hello

    Narayan/Sumithra, When can we have online meeting?
This discussion has been closed.