History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: SRC-388
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Paul Dupuy, Jr.
Votes: 5
Watchers: 6
Operations

If you were logged in you would be able to see more operations.
Selenium Remote Control

-htmlSuite *iehta "Permission denied" runtime error

Created: 15/Nov/07 10:16 PM   Updated: 23/Oct/08 04:34 AM
Component/s: Server, Launcher - Internet Explorer
Affects Version/s: 0.9.2
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Environment: XP Pro; IE 7


 Description  « Hide
The htmlSuite mode works for a very simple suite and tests with *iexplore, *firefox, and *chrome browsers, but *iehta generates an error dialog:

"A Runtime Error has occurred.
Do you wish to Debug?
Line: 1074
Error: Permission denied"

The suite frame has the suite table with the first test marked selected (yellow).
The test pane has the test table and the first row of the test is an open command which is undecorated.
The AUT frame has the Selenium splash page.

 All   Comments   Work Log   Change History      Sort Order:
JR Houn - 07/Oct/08 02:15 PM
Just would like to note that I have been running into this issue with a suite of tests we have that work fine in firefox and chrome but not with iehta.

Andre Tremblay - 20/Oct/08 03:13 PM
I have the same problem with win 2003/IE 6
with selenium-server-1.0-beta-1

Joachim - 23/Oct/08 04:34 AM
I have got the same problem:

CONFIG:
Windows 2000 (with reg.exe in WINNT\SYSTEM32) + Internet Explorer 6 SP1

SELENIUM-VERSION: selenium-server-1.0-beta-1
In TestRunner.hta, access denied, line 1077, Char 9
SELENIUM-VERSION: selenium-server-1.0-SNAPSHOT-20081010.031134-802
In TestRunner.hta, access denied, line 1085, Char 9

COMMAND TO LAUNCH TEST SUITE:
java -jar selenium-server.jar -htmlSuite *iehta "http://test.application.de/" ".\tests\noproxy-nossl_suite.html" ".\results.html" -userExtensions ".\user-extensions.js"
--> with direct connection in IE Settings (no proxy)
---> also with the following proxy.pac:

function FindProxyForURL(url, host)
{
     if(shExpMatch(url, '/selenium-server/'))
          return "PROXY localhost:4444;"
     else
          return "DIRECT;"
}

OR WITH PROXY:
and -Dhttp.proxyHost=proxy -Dhttp.proxyPort=3128 option
...and new proxy.pac:

function FindProxyForURL(url, host)
{
     if(shExpMatch(url, '/selenium-server/'))
          return "PROXY localhost:4444; PROXY proxy.coconet.de:3128;"
     else if (shExpMatch(host, "*.domain.de"))
          return "DIRECT;"
     else if (shExpMatch(host, "*.domain.pl"))
          return "DIRECT;"
     else
          return "PROXY proxy:3128;"
}

...allways the same error

I tried "-proxyInjectionMode" and "-avoidProxy" but this leads to:

1) HtmlRunnerTestLoop is not defined
(line 141, character 1)
and
2) SeleniumHTARunner is not defined
(line 873, char 9)
3) and again to the error from above