HTTP ERROR: 400 Could not proxy http://www.google.com/ java.net.ConnectException: Connection timed out: connect RequestURI=/

253 views
Skip to first unread message

deepti

unread,
Jan 13, 2009, 7:49:08 AM1/13/09
to selenium-users...@googlegroups.com
Hi.........

I am trying to run the html testsuite through the following command:
\\ *java -jar D:\Selenium\selenium-server.jar -htmlSuite *iexplore http://www.google.com d:\sel_test\test.html d:\Results.html -port 4545 -timeout 60000 -multiwindow*

it is launching the browser but it is giving *error* on *browser* as:

*HTTP ERROR: 400 Could not proxy http://www.google.com/*
*java.net.ConnectException: Connection timed out: connect*
*RequestURI=/ *

on server i am getting this:

18:02:15.959 INFO - Java: Sun Microsystems Inc. 1.6.0_02-b06\\ 18:02:15.959 INFO - OS: Windows XP 5.1 x86\\ 18:02:15.975 INFO - v1.0-beta-1 [2201], with Core v1.0-beta-1 [1994]\\ 18:02:16.115 INFO - Version Jetty/5.1.x\\ 18:02:16.115 INFO - Started HttpContext[/selenium-server/driver,/selenium-server\\ /driver]\\ 18:02:16.115 INFO - Started HttpContext[/selenium-server,/selenium-server]\\ 18:02:16.115 INFO - Started HttpContext[/,/]\\ 18:02:16.131 INFO - Started SocketListener on 0.0.0.0:4545\\ 18:02:16.146 INFO - Started org.mortbay.jetty.Server@32c41a\\ 18:02:16.428 INFO - Backing up registry settings...\\ 18:02:17.068 INFO - Modifying registry settings...\\ 18:02:17.568 INFO - Launching Internet Explorer...\\ 18:02:19.146 INFO - Checking Resource aliases

{font:style=font-size: 10pt;}*In result.html file am getting this :*{font}


info: Starting test /selenium-server/tests/sample1.html\\ info: Executing: |open | http://www.google.com |  |\\ warn: currentTest.recordFailure: Timed out after 30000ms\\ info: Executing: |waitForElementPresent | q |  |\\ warn: currentTest.recordFailure: Timed out after 30000ms\\ info: Executing: |assertTitle | Google |  |\\ error: Actual value 'Error 400 Could not proxy http://www.google.com/ java.net.ConnectException: Connection timed out: connect' did not match 'Google'\\ warn: currentTest.recordFailure: Actual value 'Error 400 Could not proxy http://www.google.com/ java.net.ConnectException: Connection timed out: connect' did not match 'Google'\\ info: Starting test /selenium-server/tests/sample2.html\\ info: Executing: |open | http://www.google.com |  |\\ warn: currentTest.recordFailure: Timed out after 30000ms\\ info: Executing: |waitForElementPresent | q |  |\\ warn: currentTest.recordFailure: Timed out after 30000ms\\ info: Executing: |assertTitle | Google |  |\\ error: Actual value 'Error 400 Could not proxy http://www.google.com/ java.net.ConnectException: Connection timed out: connect' did not match 'Google'\\ warn: currentTest.recordFailure: Actual value 'Error 400 Could not proxy http://www.google.com/ java.net.ConnectException: Connection timed out: connect' did not match 'Google'\\ \\ \\ Please Tell me where is the problem....\\ \\ Thanks in Advance\\ \\ \\ \\

deepti

unread,
Jan 13, 2009, 8:21:48 AM1/13/09
to selenium-users...@googlegroups.com
Thanks Amit .... I have tried *iehta also....
it is giving script error

Asking for continue or not....

after clicking on either on yes or no it is getting hanged...
* \\*
*on server it is showing...*

18:41:19.151 INFO - Java: Sun Microsystems Inc. 1.6.0_02-b06\\ 18:41:19.151 INFO - OS: Windows XP 5.1 x86\\ 18:41:19.151 INFO - v1.0-beta-1 [2201], with Core v1.0-beta-1 [1994]\\ 18:41:19.308 INFO - Version Jetty/5.1.x\\ 18:41:19.308 INFO - Started HttpContext[/selenium-server/driver,/selenium-server\\ /driver]\\ 18:41:19.308 INFO - Started HttpContext[/selenium-server,/selenium-server]\\ 18:41:19.308 INFO - Started HttpContext[/,/]\\ 18:41:19.323 INFO - Started SocketListener on 0.0.0.0:4545\\ 18:41:19.323 INFO - Started org.mortbay.jetty.Server@32c41a\\ 18:41:19.558 INFO - Launching Embedded Internet Explorer...\\ 18:41:20.573 INFO - Launching Internet Explorer HTA...

!#!
!#!

Amit

unread,
Jan 14, 2009, 4:23:07 AM1/14/09
to selenium-users...@googlegroups.com
It seems that the security popup window appears .

Would you please try with *chrome and let me know your results.

Thanks
-Amit

Mohamed

unread,
Jan 14, 2009, 10:54:10 AM1/14/09
to selenium-users...@googlegroups.com
Hi,
Are you connected through a proxy.?
In that case, you've to gie to the Jvm the prxy's properties.

deepti

unread,
Jan 14, 2009, 11:47:56 PM1/14/09
to selenium-users...@googlegroups.com
Thanks for you response....

yeh, i am connected through proxy..
can u tell me what proxy setting i need to use for jvm...

deepti

unread,
Jan 15, 2009, 12:02:14 AM1/15/09
to selenium-users...@googlegroups.com
Hi Amit,
Thanks for reply ...
I have tried for both *firefox and *chome mode. I am getting this error...............

10:27:21.549 INFO - Java: Sun Microsystems Inc. 1.6.0_02-b06\\ 10:27:21.549 INFO - OS: Windows XP 5.1 x86\\ 10:27:21.549 INFO - v1.0-beta-1 [2201], with Core v1.0-beta-1 [1994]\\ 10:27:21.689 INFO - Version Jetty/5.1.x\\ 10:27:21.689 INFO - Started HttpContext[/selenium-server/driver,/selenium-server\\ /driver]\\ 10:27:21.689 INFO - Started HttpContext[/selenium-server,/selenium-server]\\ 10:27:21.689 INFO - Started HttpContext[/,/]\\ 10:27:21.721 INFO - Started SocketListener on 0.0.0.0:4545\\ 10:27:21.721 INFO - Started [org.mortbay.jetty.Server@32c41a]\\ 10:27:21.893 INFO - Preparing Firefox profile...\\ HTML suite exception seen:\\ java.lang.RuntimeException: Firefox refused shutdown while preparing a profile\\         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.wai\\ tForFullProfileToBeCreated(FirefoxChromeLauncher.java:290)\\         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.lau\\ nch(FirefoxChromeLauncher.java:143)\\         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.lau\\ nchHTMLSuite(FirefoxChromeLauncher.java:324)\\         at org.openqa.selenium.server.htmlrunner.HTMLLauncher.runHTMLSuite(HTMLL\\ auncher.java:93)\\         at org.openqa.selenium.server.htmlrunner.HTMLLauncher.runHTMLSuite(HTMLL\\ auncher.java:141)\\         at org.openqa.selenium.server.SeleniumServer.runHtmlSuite(SeleniumServer\\ .java:1138)\\         at org.openqa.selenium.server.SeleniumServer.main(SeleniumServer.java:38\\ 6)\\ Caused by: org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher$Fil\\ eLockRemainedException: Lock file still present! C:\DOCUME~1\dw73754\LOCALS~1\Te\\ mp\customProfileDir441736\parent.lock\\         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.wai\\ tForFileLockToGoAway(FirefoxChromeLauncher.java:247)\\         at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.wai\\ tForFullProfileToBeCreated(FirefoxChromeLauncher.java:288)\\         ... 6 more\\ 10:27:43.233 INFO - Shutting down...



*I have deleted temporary files from temp folder and i have also killed all the firfox process running on the machine...*
*But still getting the same error.................*

deepti

unread,
Jan 15, 2009, 1:48:14 AM1/15/09
to selenium-users...@googlegroups.com
Hi Amit..
Thanks a lot for your quick responses and continuous help ...

I have tried restarting the machine but it doesn't work. It still gives the sme error.
Now, I'll check it with new Selenium RC Beta 2..

Regards
Deepti

deepti

unread,
Jan 15, 2009, 1:58:09 AM1/15/09
to selenium-users...@googlegroups.com

Mohamed

unread,
Jan 15, 2009, 4:00:43 AM1/15/09
to selenium-users...@googlegroups.com
You have to specify this parameters :
-Dhttp.proxyHost; -Dhttp.proxyPort; -Dhttp.proxyUser; -Dhttp.proxyPassword;  -Dhttps.proxyHost; -Dhttps.proxyPort; -Dhttps.proxyUser; -Dhttps.proxyPassword;
To start your selenium server :

java  -Dhttp.proxyHost=XXXX  -Dhttp.proxyPort=XXXXX -Dhttp.proxyUser=XXXXX -Dhttp.proxyPassword=XXXXX  -Dhttps.proxyHost=XXXXX -Dhttps.proxyPort=XXXX -Dhttps.proxyUser=XXXX -Dhttps.proxyPassword=XXXXX  -jar selenium-server.jar -interactive -trustAllSSLCertificates -multiWindow -debug  -avoidProxy

Mohamed

unread,
Jan 15, 2009, 4:00:55 AM1/15/09
to selenium-users...@googlegroups.com

deepti

unread,
Jan 15, 2009, 5:17:32 AM1/15/09
to selenium-users...@googlegroups.com
hi mohamed...........
thanks for response...

i tried this..

*java -jar D:\Selenium\selenium-server.jar -Dhttp.proxyHost=172.16.184.5 -Dhttp.proxyPort=80 -Dhttp.proxyUser=admin -Dhttp.proxyPassword=admin -trustAllSSLCertificates -multiWindow -debug -avoidProxy -htmlSuite *iehta http://www.google.com d:\sel_test\test.html d:\Results.html -port 4545 -timeout 60000*

it is giving this error on server:

15:36:10.291 DEBUG - Try HttpContext[/selenium-server,/selenium-server],0\\ 15:36:10.291 DEBUG - Handler org.mortbay.http.handler.SecurityHandler in HttpCon\\ text[/selenium-server,/selenium-server]\\ 15:36:10.291 DEBUG - Handler org.openqa.selenium.server.StaticContentHandler in\\ HttpContext[/selenium-server,/selenium-server]\\ 15:36:10.306 INFO - Checking Resource aliases\\ 15:36:10.306 DEBUG - PATH=/tests/test.html RESOURCE=file:/d:/sel_test/test.html\\ 15:36:10.306 DEBUG - Looking for file:/d:/sel_test/test.html\\ 15:36:10.338 DEBUG - Handled by org.openqa.selenium.server.StaticContentHandler\\ in HttpContext[/selenium-server,/selenium-server]\\ 15:36:10.338 DEBUG - RESPONSE:\\ HTTP/1.1 200 OK\\ Date: Thu, 15 Jan 2009 10:06:10 GMT\\ Server: Jetty/5.1.x (Windows XP/5.1 x86 java/1.6.0_02\\ Cache-Control: no-cache\\ Pragma: no-cache\\ Expires: Thu, 01 Jan 1970 00:00:00 GMT\\ Content-Type: text/html\\ Content-Length: 605\\ Last-Modified: Tue, 12 Jan 2021 10:06:10 GMT\\ Accept-Ranges: bytes

\\ 15:36:10.463 DEBUG - REQUEST from SocketL...@0.0.0.0:4545:\\ GET /selenium-server/tests/sample1.html?thisIsChrome=false&thisIsHTA=true HTTP/1\\ .1\\ Accept: */*\\ Accept-Language: en-us\\ UA-CPU: x86\\ Accept-Encoding: gzip, deflate\\ User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; InfoPath.2; .NET\\ CLR 2.0.50727)\\ Host: localhost:4545\\ Connection: keep-alive

\\ 15:36:10.463 DEBUG - Try HttpContext[/selenium-server,/selenium-server],0\\ 15:36:10.463 DEBUG - Handler org.mortbay.http.handler.SecurityHandler in HttpCon\\ text[/selenium-server,/selenium-server]\\ 15:36:10.463 DEBUG - Handler org.openqa.selenium.server.StaticContentHandler in\\ HttpContext[/selenium-server,/selenium-server]\\ 15:36:10.463 DEBUG - PATH=/tests/sample1.html RESOURCE=file:/d:/sel_test/sample1\\ .html\\ 15:36:10.463 DEBUG - Looking for file:/d:/sel_test/sample1.html\\ 15:36:10.494 DEBUG - Handled by org.openqa.selenium.server.StaticContentHandler\\ in HttpContext[/selenium-server,/selenium-server]\\ 15:36:10.494 DEBUG - RESPONSE:\\ HTTP/1.1 200 OK\\ Date: Thu, 15 Jan 2009 10:06:10 GMT\\ Server: Jetty/5.1.x (Windows XP/5.1 x86 java/1.6.0_02\\ Cache-Control: no-cache\\ Pragma: no-cache\\ Expires: Thu, 01 Jan 1970 00:00:00 GMT\\ Content-Type: text/html\\ Content-Length: 980\\ Last-Modified: Tue, 12 Jan 2021 10:06:10 GMT\\ Accept-Ranges: bytes

\\ 15:37:11.048 DEBUG - java.net.SocketTimeoutException: Read timed out


& some script error & permission denied error after opening the browser...........



regards
deepti

deepti

unread,
Jan 15, 2009, 5:26:49 AM1/15/09
to selenium-users...@googlegroups.com
Hi Mohamed,

i tried the same with iexplore also ...

it is launching the browser but

in address bar of the browser

*http://www.google.com/selenium-server/core/TestRunner-splash.html?start=true*

is changing into
*http://google.co.in*

& test case is failed......
in Result file am getting the following content:

*info: Starting test /selenium-server/tests/sample1.html \\ info: Executing: |open | http://www.google.com |  | \\ warn: currentTest.recordFailure: Timed out after 30000ms \\ info: Executing: |assertTitle | Google |  | \\ error: Unexpected Exception: Permission denied \\ error: Exception details: name -> Error, number -> -2146828218, description -> Permission denied, message -> Permission denied \\ warn: currentTest.recordFailure: Selenium failure. Please report to the Selenium Users forum at http://forums.openqa.org, with error details from the log window.  The error message is: Permission denied*\\

deepti

unread,
Jan 15, 2009, 7:32:37 AM1/15/09
to selenium-users...@googlegroups.com
Hi.......

here is the code...

testsuit: *Test.html*

<?xml version="1.0" encoding="UTF-8"?>\\ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">\\ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">\\ <head>\\ &nbsp; <meta content="text/html; charset=UTF-8" http-equiv="content-type" />\\ &nbsp; <title>Test Suite</title>\\ </head>\\ <body>\\ <table id="suiteTable" cellpadding="1" cellspacing="1" border="1" class="selenium"><tbody>\\ <tr><td><b>Test Suite</b></td></tr>\\ <tr><td><a href="sample1.html">sample1</a></td></tr>\\ <tr><td><a href="sample2.html">sample2</a></td></tr>\\ </tbody></table>\\ </body>\\ </html>

*testcase: sample1.html*
<?xml version="1.0" encoding="UTF-8"?>\\ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">\\ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">\\ <head profile="http://selenium-ide.openqa.org/profiles/test-case">\\ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\\ <link rel="selenium.base" href="" />\\ <title>sample1</title>\\ </head>\\ <body>\\ <table cellpadding="1" cellspacing="1" border="1">\\ <thead>\\ <tr><td rowspan="1" colspan="3">sample1</td></tr>\\ </thead><tbody>\\ <tr>\\ &nbsp;&nbsp;&nbsp; <td>open</td>\\ &nbsp;&nbsp;&nbsp; <td>http://www.google.com</td>\\ &nbsp;&nbsp;&nbsp; <td></td>\\ </tr>\\ <tr>\\ &nbsp;&nbsp;&nbsp; <td>assertTitle</td>\\ &nbsp;&nbsp;&nbsp; <td>Google</td>\\ &nbsp;&nbsp;&nbsp; <td></td>\\ </tr>\\ <tr>\\ &nbsp;&nbsp;&nbsp; <td>type</td>\\ &nbsp;&nbsp;&nbsp; <td>q</td>\\ &nbsp;&nbsp;&nbsp; <td>selenium</td>\\ </tr>\\ <tr>\\ &nbsp;&nbsp;&nbsp; <td>clickAndWait</td>\\ &nbsp;&nbsp;&nbsp; <td>btnG</td>\\ &nbsp;&nbsp;&nbsp; <td></td>\\ </tr>\\ <tr>\\ &nbsp;&nbsp;&nbsp; <td>assertTitle</td>\\ &nbsp;&nbsp;&nbsp; <td>selenium - Google Search</td>\\ &nbsp;&nbsp;&nbsp; <td></td>\\ </tr>

</tbody></table>\\ </body>\\ </html>



testcase: *sample2.html*


<?xml version="1.0" encoding="UTF-8"?>\\ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">\\ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">\\ <head profile="http://selenium-ide.openqa.org/profiles/test-case">\\ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\\ <link rel="selenium.base" href="" />\\ <title>sample1</title>\\ </head>\\ <body>\\ <table cellpadding="1" cellspacing="1" border="1">\\ <thead>\\ <tr><td rowspan="1" colspan="3">sample1</td></tr>\\ </thead><tbody>\\ <tr>\\ &nbsp;&nbsp;&nbsp; <td>open</td>\\ &nbsp;&nbsp;&nbsp; <td>http://www.google.com</td>\\ &nbsp;&nbsp;&nbsp; <td></td>\\ </tr>\\ <tr>\\ &nbsp;&nbsp;&nbsp; <td>assertTitle</td>\\ &nbsp;&nbsp;&nbsp; <td>Google</td>\\ &nbsp;&nbsp;&nbsp; <td></td>\\ </tr>\\ <tr>\\ &nbsp;&nbsp;&nbsp; <td>type</td>\\ &nbsp;&nbsp;&nbsp; <td>q</td>\\ &nbsp;&nbsp;&nbsp; <td>selenium</td>\\ </tr>\\ <tr>\\ &nbsp;&nbsp;&nbsp; <td>clickAndWait</td>\\ &nbsp;&nbsp;&nbsp; <td>btnG</td>\\ &nbsp;&nbsp;&nbsp; <td></td>\\ </tr>\\ <tr>\\ &nbsp;&nbsp;&nbsp; <td>assertTitle</td>\\ &nbsp;&nbsp;&nbsp; <td>selenium - Google Search</td>\\ &nbsp;&nbsp;&nbsp; <td></td>\\ </tr>

</tbody></table>\\ </body>\\ </html>

I have tried running it with/ without proxy options. as i have mentioned all the scenarios in above posts.

Regards
Deepti

Mohamed

unread,
Jan 15, 2009, 8:39:06 AM1/15/09
to selenium-users...@googlegroups.com
When you made the operation open, try with this url :
*http://www.google.com/webhp (ref. to http://seleniumhq.org/documentation/tutorials/).*
\\ If it doesn't work, please share your entire configuration and explain what you wanna do.

deepti

unread,
Jan 16, 2009, 12:08:52 AM1/16/09
to selenium-users...@googlegroups.com
Thanks a lot for continuous response....

web address u suggested is working for *iexplore option but its is not working for *iehta.
For *iehta its giing the same scripting error on browser and in address bar its taking..

{font:style=color: #0000ff;}*file:///C:/Documents%20and%20Settings/dw73754/Local%20Settings/Temp/customProfileDir113193/core/TestRunner-splash.html?start=true*{font}

*& giving some script error with permission denied. I have mentioned that in above posts.*

For *firefox & *chrome option its still not working. Its giving the same error as i have mentioned before.

deepti

unread,
Jan 16, 2009, 5:39:02 AM1/16/09
to selenium-users...@googlegroups.com
hi

i am trying running it on Selenium RC 1.0 beta 2.

now it is giving this in result file:
h1. Test suite results
| result: | passed |
| totalTime: | -1232101719 |
| numTestTotal: | 0 |
| numTestPasses: | 0 |
| numTestFailures: | 0 |
| numCommandPasses: | 0 |
| numCommandFailures: | 0 |
| numCommandErrors: | 0 |
| Selenium Version: | undefined |
| Selenium Revision: | undefined |
| *Web* [Images|http://images.google.com/images?thisIsChrome=false&thisIsHTA=true&um=1&ie=UTF-8&sa=N&tab=wi] [Maps|http://maps.google.com/maps?thisIsChrome=false&thisIsHTA=true&um=1&ie=UTF-8&sa=N&tab=wl] [News|http://news.google.com/news?thisIsChrome=false&thisIsHTA=true&um=1&ie=UTF-8&sa=N&tab=wn] [Shopping|http://www.google.com/products?thisIsChrome=false&thisIsHTA=true&um=1&ie=UTF-8&sa=N&tab=wf] [Gmail|http://mail.google.com/mail/?um=1&ie=UTF-8&sa=N&tab=wm] [ more▼|#][Video|http://video.google.com/videosearch?thisIsChrome=false&thisIsHTA=true&um=1&ie=UTF-8&sa=N&tab=wv] [Groups|http://groups.google.com/groups?thisIsChrome=false&thisIsHTA=true&um=1&ie=UTF-8&sa=N&tab=wg] [Books|http://books.google.com/books?thisIsChrome=false&thisIsHTA=true&um=1&ie=UTF-8&sa=N&tab=wp] [Scholar|http://scholar.google.com/scholar?thisIsChrome=false&thisIsHTA=true&um=1&ie=UTF-8&sa=N&tab=ws] [Finance|http://finance.google.com/finance?thisIsChrome=false&thisIsHTA=true&um=1&ie=UTF-8&sa=N&tab=we] [Blogs|http://blogsearch.google.com/blogsearch?thisIsChrome=false&thisIsHTA=true&um=1&ie=UTF-8&sa=N&tab=wb] [YouTube|http://www.youtube.com/results?thisIsChrome=false&thisIsHTA=true&um=1&ie=UTF-8&sa=N&tab=w1] [Calendar|http://www.google.com/calendar/render?um=1&ie=UTF-8&sa=N&tab=wc] [Photos|http://picasaweb.google.com/lh/view?thisIsChrome=false&thisIsHTA=true&um=1&ie=UTF-8&sa=N&tab=wq] [Documents|http://docs.google.com/?um=1&ie=UTF-8&sa=N&tab=wo] [Reader|http://www.google.com/reader/view/?um=1&ie=UTF-8&sa=N&tab=wy] [Sites|http://sites.google.com/?um=1&ie=UTF-8&sa=N&tab=w3] [even more »|#]| [Google|#] | | | &nbsp; [Advanced Search|#] \\ &nbsp; [Preferences|#] |
|
| Page Not Found |
| \\ !#|width=14|height=14! The page - *www.google.com/selenium-server/tests/test.html?thisIsChrome=false&thisIsHTA=true* - does not exist. |
| Suggestions: * Check the spelling of the address you typed
* If you are still having problems, please [visit the Help Center|http://www.google.com/support/?hl=en&output=search&sa=X&oi=not_found_suggestion&ct=contact-us&cd=1] |

----
[Google Home|#] - [Advertising Programs|#] - [Business Solutions|#] - [Privacy|#] - [About Google|#] |

deepti

unread,
Jan 16, 2009, 5:55:39 AM1/16/09
to selenium-users...@googlegroups.com
hi amit...

thanks a lot for your continuous response..
i tried this command also what u have recently posted...

but in my machine it is giving this error:
C:\Documents and Settings\dw73754>java -jar d:\selenium\selenium-server.jar -htm\\ lSuite *chrome http://www.google.com/webhp d:\sel_test\test.html d:\Results.html\\ -port 4545 -timeout 60000 -multiWindow

\\ 16:15:32.514 INFO - Java: Sun Microsystems Inc. 1.6.0_02-b06\\ 16:15:32.529 INFO - OS: Windows XP 5.1 x86\\ 16:15:32.529 INFO - v1.0-beta-1 [2201], with Core v1.0-beta-1 [1994]\\ 16:15:32.654 INFO - Version Jetty/5.1.x\\ 16:15:32.654 INFO - Started HttpContext[/selenium-server/driver,/selenium-server\\ /driver]\\ 16:15:32.670 INFO - Started HttpContext[/selenium-server,/selenium-server]\\ 16:15:32.670 INFO - Started HttpContext[/,/]\\ 16:15:32.686 INFO - Started SocketListener on 0.0.0.0:4545\\ 16:15:32.686 INFO - Started org.mortbay.jetty.Server@32c41a\\ 16:15:32.811 WARN - It looks like your baseUrl (http://www.google.com/webhp) is\\ pointing to a file, not a directory (it doesn't end with a /).&nbsp; We're going to h\\ ave to strip off the last part of the pathname.\\ 16:15:32.857 INFO - Preparing Firefox profile...\\ HTML suite exception seen:\\ java.lang.RuntimeException: Firefox refused shutdown while preparing a profile\\ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.wai\\ tForFullProfileToBeCreated(FirefoxChromeLauncher.java:290)\\ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.lau\\ nch(FirefoxChromeLauncher.java:143)\\ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.lau\\ nchHTMLSuite(FirefoxChromeLauncher.java:324)\\ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.openqa.selenium.server.htmlrunner.HTMLLauncher.runHTMLSuite(HTMLL\\ auncher.java:93)\\ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.openqa.selenium.server.htmlrunner.HTMLLauncher.runHTMLSuite(HTMLL\\ auncher.java:141)\\ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.openqa.selenium.server.SeleniumServer.runHtmlSuite(SeleniumServer\\ .java:1138)\\ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.openqa.selenium.server.SeleniumServer.main(SeleniumServer.java:38\\ 6)\\ Caused by: org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher$Fil\\ eLockRemainedException: Lock file still present! C:\DOCUME~1\dw73754\LOCALS~1\Te\\ mp\customProfileDir732701\parent.lock\\ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.wai\\ tForFileLockToGoAway(FirefoxChromeLauncher.java:247)\\ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.wai\\ tForFullProfileToBeCreated(FirefoxChromeLauncher.java:288)\\ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ... 6 more\\ 16:15:54.339 INFO - Shutting down...

deepti

unread,
Jan 16, 2009, 7:09:08 AM1/16/09
to selenium-users...@googlegroups.com
Hi Amit...
I am really thankful to u for ur continuous help and response..

I have tried it with Selenium RC Server 1.0 beta 2.
It is working for
**iexplore*
**iexploreproxy*
**firefoxproxy*.

But it is not working for *firefox option.

For Selenium RC Server 1.0 beta 1,
It is working for **iexplore .*
For *iehta the same script & Permission denied Error.
For *firefox & *chrome it is giving exception that parent.lock file exists.

Regards
Deepti

Rashmi Ranjan Sinha

unread,
May 21, 2009, 5:04:57 AM5/21/09
to selenium-users...@googlegroups.com
!#! This comes when there is a network drop.&nbsp; check your network connection on the machine where you are running this test.

Reply all
Reply to author
Forward
0 new messages