I am running the below test script with Junit4 in eclipse IDE and I get just a blank firefox window. the server is running and there are no pop up blockers or any other firefox processes running when I kick off the test from the eclipse IDE.
(the test runs ok when I run it from the iE browser)
package com.resky.tutorials;
import org.junit.*;
import com.thoughtworks.selenium.*;
public class MySecondSeleniumTests {
@Test
public void initializeSeleniumRCServer() {
Selenium selenium = new DefaultSelenium("localhost", 4444, "*firefox", "https://74.27.8.1/");
selenium.start();
selenium.open开发者_运维技巧("https://74.27.8.1/");
selenium.close();
selenium.stop();
}
}
Are you sure its not the page that you are navigating to that is untrusted (i noticed you are using https, is the certificate correct?
精彩评论