1

As I read on the net, Selenium tests should be written in the language of the App if this is possible. Our intranet-application is written in PHP. I was able to get Selenium working with PHPUnit but for me it looks like PHP is really uncommon. All books and most of the other stuff I found on the net are using Selenium together with Java.

So my questions are:

  • Does it really make sense to use Selenium with PHP or do I have to learn Jave or C#?
  • Where can I find the most information related to Selenium together with PHP? I understand the object oriented model of PHP but I'm not a very strong developer..
  • Is there something better than Selenium to automated testing a PHP application (GUI tests)?

1 Answer 1

2
  • Yes, it definetely makes sense to use it in a language you are comfortable with.
  • PHPUnit has Selenium integration out of the box, did you look at the introduction in the PHPUnit manual?
  • Selenium has its quirks, but is widely used, so there is a lot of information about it available. There are other projects, though, like http://phantomjs.org/. If you are not comfortable with programming your tests in PHP, maybe you should consider using Selenium IDE, which has a GUI that helps you build your tests.
1
  • Thanks for your feedback, this makes me more secure. I've to find the right solution for "my" company and I want to go in the right direction.
    – Andy
    Commented Sep 26, 2013 at 11:12

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.