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 and Internet Explorer hangs after click on Play button

impradee2007impradee2007 Members
edited November -1 in Sahi - Open Source
Hi
I am very new to this tool.
I am able to record the script without any errors, but when i playback the same script the tool hangs....only way to get out from this is to kill the process.

Please help me.....thanks in advance

Comments

  • narayannarayan Administrators
    impradee2007

    Does this happen on every site or is it specific to your site? Also let us the know the version of browser and operating system.
    You could try it on a simple site like http://sahi.co.in/demo/ and see if it works there.

    Regards,
    Narayan
  • Hi Narayan,
    First of all thanks for the reply.

    1. This is seen for all the sites.
    2. OS:- Win2003, IE6

    The below error is copied from the command prompt when it hangs

    java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at net.sf.sahi.command.CommandExecuter.execute(CommandExecuter.java:52)
    at net.sf.sahi.LocalRequestProcessor.getLocalResponse(LocalRequestProces
    sor.java:42)
    at net.sf.sahi.ProxyProcessor.processLocally(ProxyProcessor.java:227)
    at net.sf.sahi.ProxyProcessor.run(ProxyProcessor.java:79)
    at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.NoClassDefFoundError: org/mozilla/javascript/RhinoException

    at net.sf.sahi.command.Player.setScript(Player.java:96)
    at net.sf.sahi.command.Player.setScriptFile(Player.java:78)
    ... 9 more

    Note:- Only way to get out from this is to kill "Java.exe" process.
  • narayannarayan Administrators
    Some thing is wrong. Rhino's jar is not in the classpath. Are you starting using sahi.bat from sahi/bin directory?
    Can you tell us how you are starting Sahi proxy?
    What version are you using?
  • Hi Narayan,

    1. Yes, I am using sahi.bat from Sahi/bin for starting
    2. Sahi V2 Release which i am using.

    Any setting needs to be changed? please let me know.
  • narayannarayan Administrators
    Do this:

    cd sahi/bin
    sahi.bat

    instead of

    sahi/bin/sahi.bat

    and check?
  • Hi Narayan,

    Thank you very much,its working now.
This discussion has been closed.