4

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.html"

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

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

1 Answer 1

2

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.

Sign up to request clarification or add additional context in comments.

1 Comment

Thanx! Obviously this was the first thing I tried, but it came up with all kind of weird errors and wouldn't run, so I thought it was not the right way. Errors are gone since I specified the location of an include file more explicitly. Probably a windows vs. unix problem.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.