public class NewTest extends SeleneseTestCase {
public void testsetUp() throws Exception {
setUp("http://www.google","*firefox");
}
}
结果弹出一个script error的提示框。
打出的log居然仍然是用IE打开的:
11:17:21.933 INFO - Command request: getNewBrowserSession[*iexplore, http://localhost:4444, ] on session null
11:17:21.933 INFO - creating new remote session
11:17:21.964 INFO - Allocated session edfbf8e556f647f8b9d9b1c2f30010a2 for http://localhost:4444, launching...
11:17:22.058 INFO - Launching Embedded Internet Explorer...
11:17:23.088 INFO - Launching Internet Explorer HTA...