开发者

blank firefox window after launching the test script from eclipse

开发者 https://www.devze.com 2023-02-24 10:14 出处:网络
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 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?

0

精彩评论

暂无评论...
验证码 换一张
取 消