1

I have followed all the steps on this post but when i run the pear mytest.php i get the error http://jodyt.com/2009/03/selenium-rc-and-php/#comments

phpunit is not recognized as an internal or external command, operable program or batch file

I dont know what i might be doing wrong. please guys any help will be highly appreciated.

Thanks you in advance. D~~

1 Answer 1

1

This is because windows is not able to recognize phpunit as a program because location of phpunit.exe is not added to Path environment variable.

just add ;C:/xampp/php at the end of the value of Path environment variable(note semicolon is important, Also I'm assuming your xampp is in C:/)

Hope this helps.

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

Comments

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.