我想在多个浏览器上运行我的selenium RC测试用例,该测试用JUnit4支持 . 我该怎么办呢?应该在以下方面进行哪些配置:
**
public void setUp()throws Exception {selenium = new DefaultSelenium(“localhost”,4444,“* firefox”,“http://(某个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(); }
检查http://seleniumhq.org/docs/05_selenium_rc.html for selenium中的自定义浏览器
1 回答
检查http://seleniumhq.org/docs/05_selenium_rc.html for selenium中的自定义浏览器