Starting
and Stopping Selenium Server
Starting
: Click on the Run button(Run configuration button next to Run
button) to start the selenium server
Stoping
: Click on the Terminate button in the console to stop the Selenium
Server
Starting
and Stopping the Selenium Server using coding
public
static
DefaultSelenium ds
= null;
public
static
SeleniumServer server
= null;
public
static
RemoteControlConfiguration rc=null;
public
static
void
start(String url) throws
Exception
{
rc=new
RemoteControlConfiguration();
rc.setPort(1111);
server
= new
SeleniumServer(rc);
server.start();
ds=new
DefaultSelenium("localhost",1111,"*firefox",url);
}
public
static
void
stop()
{
System.out.println(ds);
ds.stop();
server.stop();
}
Browser
Supported by Selenium RC
Following
are the Browser supported by Selenium RC
- Firefox - *firefox
- Chrome - *chrome
- IE - *iehta
- Safari - *safari
- Opera - *opera etc
Below
is the list of other browser supported
*mock
*firefoxproxy
*pifirefox
*iexploreproxy
*iexplore
*firefox3
*safariproxy
*googlechrome
*konqueror
*firefox2
*piiexplore
*firefoxchrome
*webdriver
*custom
0 comments:
Post a Comment