Get 'Script Error' dialog while runing Selenium automated tests

View: New views
2 Messages — Rating Filter:   Alert me  

Get 'Script Error' dialog while runing Selenium automated tests

by guyr :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi
I am running Selenium-RC using the jars:
'selenium-java-client-driver.jar'
Manifest-Version: 1.0
Archiver-Version: Plexus Archiver
Created-By: Apache Maven
Built-By: Administrator
Build-Jdk: 1.6.0_07
and 'selenium-server.jar'
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.7.1
Created-By: 10.0-b23 (Sun Microsystems Inc.)
Main-Class: org.openqa.selenium.server.SeleniumServer

I run the test using IE6
during the tests I get Script Error dialog that stop the test suite and prevent it to continue.
I disabled the display script message in IE-->tools-->advnaced
but it didn't help. How can I avoid getting this error message?

Attached the error dialog that I get, as you can see there, it's as a result of running some runScript selenes command.

IE6_Error.bmp

Re: Get 'Script Error' dialog while runing Selenium automated tests

by scrichar :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I am running Selenium-RC using the same jars as you:

'selenium-java-client-driver.jar'
'selenium-server.jar'

same versions and all

I am also running test cases that work completely fine in Mozilla Firefox, but when I run them using *iehta, I recieve similar Internet Explorer Script Errors: Permission Denied, and Element is "null"

I have tried running in IE 6 and 7, both give me the same errors. I also disabled the script error message in IE--->tools----->advanced but it did not help either.

I Also installed selenium core on the server where the application resides, and this did not solve the problem, so it IS NOT cross domain scripting issues.

Anyone,

help