문제

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(); }

**

도움이 되었습니까?

해결책

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top