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.

Not able to run test suite in IE but works fine in Firefox

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

I am new to automation plus Sahi tool. Actually I'm exploring available tools and need to suggest a tool to my company/team. So now learning Sahi batch run ( run test suite).
Have created a suite file with simple scripts. When I run in firefox works fine. But if I run the same suite in IE it does open the browsers with the correct URL but doesn't do anything.
In the log below is the message :

Starting script
ERROR
Script did not start within 150 seconds.
I'm using v3.5

Regards,
Ramappa

Comments

  • Hi rdnashi,

    Can you check if there is any error on Sahi console and post the contents from it?

    Also, try to play the first Sahi script which is there in the suite file from the controller and check if it is working fine.

    Regards
    Sumitra
  • Hi Sumitra ,

    thanks for quick reply.
    I can't find any error message in console. If I paste the content , website is not allowing me to submit the content :)
    Website giving me a message as : New Members can not post links, images or email addresses until they become more active.

    So I'm not able to paste the content. If you want I can sent the content to your email.

    One more point forgot to mention in above query is that- I ran both the sahi scripts ( that are in suite file) independently in IE. And go success results. Above problem is only when I run in suite that too in IE.



    REgards
    Ram
  • Hi rdnashi,

    You can send it to my email id : sumitra.m.n@sahi.co.in

    Regards
    Sumitra
  • Thanks ,

    Just now sent.

    Regards
    Ram
  • Hi rdnashi,

    Can you try with machine name instead of IP address and check if it works fine.

    Regards
    Sumitra
  • HI Sumitra/ Narayan,

    I am facing same problem. Scripts work in firefox, chrome but does not work in IE.
    simple playback works fine.
    also Pls note I am using machine name and not IP
    Do we have a solution for the same ?
    If yes pls post it.

    Regards
    Rajeev
  • Hi rajeev.sawant,

    Please create a new forum post.

    Are you running a suite file or a simple Sahi script?Can you check if you are getting any error on the Sahi console?

    Are you using IE8 or IE9 and paste the browsertype for the IE you are using?

    Regards
    Sumitra
  • Hi,

    I'm experiencing the reverse problem. Suite is running fine in ie, but not running for firefox.

    the commands i use for both are
    testrunner.bat demo/testsuite.suite http://demo-url.com ie
    testrunner.bat demo/testsuite.suite http://demo-url.com firefox

    There are 2 test cases in the suite login.sah and logout.sah. Both are executed fine launching the ie browser.

    When running for firefox, it is showing error
    FAILURE
    Shutting down ...

    When i checked the log, it has created a log for that. When opened the log, it shows the following.
    Test Total Steps Failures Errors Success Rate Time Taken (ms)
    login.sah 0 0 0 100% 0

    NB: I had made the following change to get firefox launching, don't know because of that whether this is not working.
    http://sahi.co.in/forums/viewtopic.php?id=3219

    Independent scripts are running fine from sahi controller using firefox.

    OS is windows 2003. FF version is 3.6.24.
  • Hi anoop.philip,

    Open Sahi Dashboard -> Configure -> browser_types.xml
    Create an another xml for firefox which should look like this:
    <browserType> 
            <name>firefox2</name> 
            <displayName>Firefox</displayName>
            <icon>firefox.png</icon>
            <path>$ProgramFiles\Mozilla Firefox\firefox.exe</path>  
            <options>-profile "$userDir/browser/ff/profiles/sahi$threadNo" -no-remote</options>  
            <processName>firefox.exe</processName> 
            <capacity>5</capacity>  
             <force>true</force>
        </browserType>
    

    Restart Sahi.

    Now try to run your suite file using firefox2.

    ie testrunner.bat demo/demo.suite/ http://sahi.co.in/demo/ firefox2

    Check if this solves your issue.

    Regards
    Sumitra
  • Hi,

    I tried the solution. It is running the suit from command prompt using the testrunner.bat command for firefox2. Launched the browser and the test cases are executed. Thanks.

    However, the new instance of browser created won't launch from the dashboard for recording. So one will have to use two xml codes for the same browser hope u will fix this in future builds.

    Thanks for the instant help!!

    Regards,
    Anoop
  • Hi;
    I'm experiencing a similar problem. I'm using Windows 7, IE9. I'm testing pages built upon Orbeon forms, utilising jQuery. My test runs fine in Firefox and Chrome, but not in IE9. I then built a separate test using IE9. This one runs fine, but then all the text fields and dropdown elements end up blank at the end of the test. Could anybody enlighten me on this matter please?
Sign In or Register to comment.