Вопрос

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