开发者

How-to run Selenium tests written in PHP from the command-line

开发者 https://www.devze.com 2023-01-23 16:59 出处:网络
I am trying to run Selenium tests (PHP) from the command-line. I can only find ways to run HTML tests on stackoverflow.

I am trying to run Selenium tests (PHP) from the command-line. I can only find ways to run HTML tests on stackoverflow.

java -jar selenium-server.jar -htmlSuite "*firefox" "http://10.8.100.106" "C:\mytestsuite.html" "C:\results.htm开发者_运维技巧l"

Is there a way to do the same for a PHP testsuite?

Currently I only know how to run them from my Netbeans IDE.


Just run your PHPUnit suite the way you normally would if you were not using Se. See http://www.phpunit.de/manual/3.2/en/organizing-test-suites.html for further information.

0

精彩评论

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