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.

Firefox 3.0-3.6 freezes during ajax request, sahi 20100430

grigoriogrigorio Members
edited November -1 in Sahi - Open Source
Our enterprise wiki powered by Atlassian Confluence, has pages with ajax requests builtin. When I try to record a test script, firefox (all versions 3.0-3.6) freezes (waits) for infinity, when I click onto a select element bound with an ajax request.

But IE and Opera works correctly! No log files show an error at Firefox.

I've read archive topics and found old problem similar to mine, but it was fixed time ago:

forums/viewtopic.php?id=267

Could you help me? May it be a sahi bug, or mine settings' bad values?

p.s. a line

xhr.wait_ready_states=2,2,2

in sahi.properties does not help. other parameters are default as is from sahi_20100430.zip I've downloaded.

Comments

  • narayannarayan Administrators
    Hi Grigorio,

    When it acts frozen, could you do this?

    1) type "this.areXHRsDone()" without quotes into the Controller's Evaluate expression box
    2) Click on "Test -->"
    3) Check what the value is.

    Also check for this.areWindowsLoaded() and this.showOpenXHRs() and let me know the values. If the URLs are confidential, please email from your official email id to support@sahi.co.in

    Regards,
    Narayan
  • grigoriogrigorio Members
    Hi, Narayan,

    the values are:

    this.areXHRsDone() == true
    this.areWindowsLoaded() == true
    this.showOpenXHRs() == "" (empty string I suppose)

    Note: these values are the same for:
    - Firefox 3.6.3, 3.5.0
    - IE 7.0.6000.16609
    - Opera 9.22 build 8801

    but in Firefox I've obtained them during 'ajax freeze', while in other browsers - after ajax successfully finished.

    URLs are not confidential - they just located in our intranet area, so I may dump anything for you, but you can't browse to that urls yourself.

    I hope this helps. Feel free to ask me test any other values...
  • narayannarayan Administrators
    Looks like everything is fine. Sahi is not waiting for anything. Can you clear browser cache, run it again, and email us the script and logs?
  • grigoriogrigorio Members
    Hi, Narayan,

    I've just emailed you all script and logs I could obtain. Your email server seems to reject mail attachments as *.zip-archives.

    For a duplicate, you may download "2narayan.zip" by link:
    webfile . ru / 4509552
    If you couldn't, let me now your way to transfer an archive "2narayan.zip" to you.
  • grigoriogrigorio Members
    Hello, Narayan,

    Could we continue with the 'firefox ajax freeze' problem?
  • narayannarayan Administrators
    Hi Grigorio,

    I could not download the files from webfile.ru Can you rename the file to .jpg and try sending it again by email.

    Btw, I have realized that some hanging problems occur on firefox because of addons that you may have. Could you disable any addons you have and try again?

    Regards,
    Narayan
  • Hi, Narayan,

    I've just renamed .zip to .jpg and sent it to you. Seems to be mailed ok.

    About add-ons - I turned them off once I started to use Sahi.

    We investigated this problem these days, and I can add you an additional info. We found one http request for our Javascript file of size more than 300Kb, TRUNCATED by Sahi server.
    I saw this by logging http traffic (debug.traffic.log=true). I suppose other huge javascripts are being truncated too. And that's the error.

    I've sent you the mail with zip-archive of corresponding http traffic.
Sign In or Register to comment.