18 January 2026:
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
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.
Error in Sahi console while clicking on a link in IE8
Hi All,
In IE8, while clicking on one of the link of our application ( _click(_link("Linear")); ), I am getting an error in the Sahi console. Can anyone tell me a solution for this?
Also in IE8 when I place cntrl + mouse over, Sahi IDE is taking long time to recognize the object
This issue is not occurring in Firefox.
OS: Windows Xp
Browser: IE8
Build: 2011-07-19
C:\Sahi\userdata\bin>SET SAHI_HOME=..\..
C:\Sahi\userdata\bin>SET SAHI_USERDATA_DIR=..
C:\Sahi\userdata\bin>SET SAHI_EXT_CLASS_PATH=
C:\Sahi\userdata\bin>CALL ..\..\bin\dashboard.bat
SAHI_HOME: ..\..
SAHI_USERDATA_DIR: ..
SAHI_EXT_CLASS_PATH:
Sahi properties file = C:\Sahi\config\sahi.properties
Sahi user properties file = C:\Sahi\userdata\config\userdata.properties
>>>> Sahi started. Listening on port: 9999
>>>> Configure your browser to use this server and port as its proxy
>>>> Browse any page and CTRL-ALT-DblClick on the page to bring up the Sahi Controller
Reading browser types from: C:\Sahi\userdata\config\browser_types.xml
C:\Program Files\Internet Explorer\iexplore.exe -noframemerging http://sahi.example.com/_s_/dyn/Driver_initialized
Sep 23, 2011 7:25:13 PM net.sf.sahi.ssl.SSLHelper getKeyManagerFactoryForRemoteFetch
INFO: No SSL Client Cert specified
Defaulting to charset iso-8859-1
Sep 23, 2011 7:27:30 PM net.sf.sahi.command.CommandExecuter execute
WARNING: commandClass = >net.sf.sahi.command.Player< commandMethod = >markStepDone<
Sep 23, 2011 7:27:30 PM net.sf.sahi.command.CommandExecuter execute
WARNING: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at net.sf.sahi.command.CommandExecuter.execute(CommandExecuter.java:55)
at net.sf.sahi.LocalRequestProcessor.handleDyn(LocalRequestProcessor.java:67)
at net.sf.sahi.LocalRequestProcessor.getLocalResponse(LocalRequestProcessor.java:40)
at net.sf.sahi.ProxyProcessor.processLocally(ProxyProcessor.java:209)
at net.sf.sahi.ProxyProcessor.run(ProxyProcessor.java:86)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.NullPointerException
at net.sf.sahi.command.Player.markStepDone(Player.java:143)
... 10 more
Defaulting to charset iso-8859-1
In IE8, while clicking on one of the link of our application ( _click(_link("Linear")); ), I am getting an error in the Sahi console. Can anyone tell me a solution for this?
Also in IE8 when I place cntrl + mouse over, Sahi IDE is taking long time to recognize the object
This issue is not occurring in Firefox.
OS: Windows Xp
Browser: IE8
Build: 2011-07-19
C:\Sahi\userdata\bin>SET SAHI_HOME=..\..
C:\Sahi\userdata\bin>SET SAHI_USERDATA_DIR=..
C:\Sahi\userdata\bin>SET SAHI_EXT_CLASS_PATH=
C:\Sahi\userdata\bin>CALL ..\..\bin\dashboard.bat
SAHI_HOME: ..\..
SAHI_USERDATA_DIR: ..
SAHI_EXT_CLASS_PATH:
Sahi properties file = C:\Sahi\config\sahi.properties
Sahi user properties file = C:\Sahi\userdata\config\userdata.properties
>>>> Sahi started. Listening on port: 9999
>>>> Configure your browser to use this server and port as its proxy
>>>> Browse any page and CTRL-ALT-DblClick on the page to bring up the Sahi Controller
Reading browser types from: C:\Sahi\userdata\config\browser_types.xml
C:\Program Files\Internet Explorer\iexplore.exe -noframemerging http://sahi.example.com/_s_/dyn/Driver_initialized
Sep 23, 2011 7:25:13 PM net.sf.sahi.ssl.SSLHelper getKeyManagerFactoryForRemoteFetch
INFO: No SSL Client Cert specified
Defaulting to charset iso-8859-1
Sep 23, 2011 7:27:30 PM net.sf.sahi.command.CommandExecuter execute
WARNING: commandClass = >net.sf.sahi.command.Player< commandMethod = >markStepDone<
Sep 23, 2011 7:27:30 PM net.sf.sahi.command.CommandExecuter execute
WARNING: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at net.sf.sahi.command.CommandExecuter.execute(CommandExecuter.java:55)
at net.sf.sahi.LocalRequestProcessor.handleDyn(LocalRequestProcessor.java:67)
at net.sf.sahi.LocalRequestProcessor.getLocalResponse(LocalRequestProcessor.java:40)
at net.sf.sahi.ProxyProcessor.processLocally(ProxyProcessor.java:209)
at net.sf.sahi.ProxyProcessor.run(ProxyProcessor.java:86)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.NullPointerException
at net.sf.sahi.command.Player.markStepDone(Player.java:143)
... 10 more
Defaulting to charset iso-8859-1
Comments
Could you tell us what the js error is?
Thanks,
Narayan
I am not getting any java script error in the status bar of IE8
Regards,
SP
If you could access this URL using sahi in IE8, "au.element14.com", a java script error is shown in home page. But this issue won't occur if we are not using Sahi proxy. I wonder the previous issue which I mentioned is something related with this?
Regards,
SP
Add .*ip_Layer_Invitation_838[.]aspx.* in exclude_inject.txt by clicking configure on the Dashboard.
Save.
Restart Sahi.
Check if this solves your issue.
Regards
Sumitra
Javascript error is resloved now. Thanks.
But still in the console of Sahi the error I intially mentioned is occuring.
Regards,
SP
Can you check if you are getting this error on other browsers?
Regards
Sumitra
I have checked the same with Firefox6 and Chrome. But there is no issue like that. But when I click on the a link in IE8, I am getting the error which i mentioned earlier in the sahi console
Regards,
SP