Not Able to start Sellenium thr\' DefaultSelenium!
I have one scenario in which I need to launch google and need to search a text.
Selenium = new DefaultSelenium("localhost", 4444, "*iexplore", "http://www.google.com/");
But every time I am getting the error message
<font color="red">Exception occured: Could not contact Selenium Server; have you started it on 'localhost:4444' ? </font>
Due to this selenium.open("www.google.com") is not working.
I have checked my machine configuration and port id doesn't have any issue. I am able to restart through command prompt and through below code:
SeleniumServer server = new SeleniumServer();
I am using NetBeans IDE 6.9.1/Java.
So my concern is what is the issue with DefaultSelenium approach?