2012-02-29 38 views

回答

0
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在硒

+0

喜科銀京成自定義瀏覽器,可以 這些瀏覽器同時使用? – 2012-02-29 11:55:17

+0

是的,因此您需要使用硒網格或硒網格2(用於網頁驅動器)。你甚至可以編寫兩個同時執行兩個測試的JUnitCores – ctekk 2012-02-29 12:47:57

+0

嘿Coretek, 感謝您的信息.. – 2012-03-01 05:58:43

相關問題