Question

I want to run my selenium RC test case which is backed with JUnit4 on multiple browsers. How am i supposed to run it? what configurations should be done in:

**

public void setUp() throws Exception { selenium = new DefaultSelenium("localhost", 4444, "*firefox", "http://(some URL)"); selenium.start(); }

**

Was it helpful?

Solution

public void setUp() throws Exception { selenium = new DefaultSelenium("localhost", 4444, "*iexplore", "http://(some URL)"); selenium.start(); }


public void setUp() throws Exception { selenium = new DefaultSelenium("localhost", 4444, "*opera", "http://(some URL)"); selenium.start(); }

public void setUp() throws Exception { selenium = new DefaultSelenium("localhost", 4444, "*custom", "http://(some URL)"); selenium.start(); }

check http://seleniumhq.org/docs/05_selenium_rc.html for custom browser in selenium

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top