How do I launch the Selenium IDE from the command line with a specific test case loaded?

后端 未结 2 1604
鱼传尺愫
鱼传尺愫 2020-12-16 20:40

I\'m on Windows, and I want to launch Firefox and the Selenium IDE with a specified test case loaded and ready to play back.

I\'ve got as far as:

>         


        
2条回答
  •  清酒与你
    2020-12-16 21:08

    If you want to run a testsuite with firefox from the commandline, you have to start run java, not firefox. Like this:

    C:\Program Files (x86)\Java\jre6\bin\java.exe" -jar c:\seltest\selenium-server-standalone-2.18.0.jar -htmlSuite "*firefox" "http://127.0.0.1" "c:\seltest\mytestsuite.html" "c:\seltest\logs\results-firefox.html" -port 5555
    

    -- Freek Borgerink

提交回复
热议问题