Re: How to execute the Java test case

0 views
Skip to first unread message

Balaji

unread,
Dec 21, 2007, 2:34:59 AM12/21/07
to selenium-develope...@googlegroups.com
Some more comments on my query.Let me show the error message below:-

C:\TestCase>java NewTest
Exception in thread "main" java.lang.RuntimeException: Could not contact Seleniu
m Server; have you started it?
Catch body broken: IOException from cmd=getNewBrowserSession&1=*iexplore&2=http%
3A%2F%2Ftestjuhu1.juhu.zedo.com -> java.net.ConnectException: Connection refused
: connect
at com.thoughtworks.selenium.DefaultSelenium.start(DefaultSelenium.java:
70)
at com.thoughtworks.selenium.SeleneseTestCase.setUp(SeleneseTestCase.jav
a:125)
at com.thoughtworks.selenium.SeleneseTestCase.setUp(SeleneseTestCase.jav
a:105)
at NewTest.set(NewTest.java:7)
at NewTest.testNewCheck(NewTest.java:40)
at NewTest.main(NewTest.java:66)

Balaji

unread,
Dec 21, 2007, 1:58:23 AM12/21/07
to selenium-develope...@googlegroups.com
Hi,

I create a test case in Java, if i try to compile the test case it works fine.But when we execute the test case it

throws Runtime error saying Selenium Server not found.So,please let me know how to replicate this issue with

correct manner.I am new to this issue.

Thanks in Advance,

Balaji.R

Robert Zimmermann

unread,
Dec 22, 2007, 4:26:27 AM12/22/07
to selenium-develope...@googlegroups.com
Please obey the forum rules
http://forums.openqa.org/ann.jspa?annID=3

The right place to get your question answered is selenium-remote-control.
Pleas read first the documentation:
http://www.openqa.org/selenium-rc/java.html

If you still do not know what is wrong, please ask your qustion in *Selenium Remote Control User Forums*, reading those forum rules first as well.

Thank you.

Reply all
Reply to author
Forward
0 new messages