PhpStorm/XAMPP/Windows 7/Selenium - How to configure?
I'm very new with PhpStorm and have to do some Selenium functional tests. PhpStorm seems to be great (I'm evaluating it for my team) but I'm feeling a little bit lost how to setup for using it with Selenium.
Beside PhpStorm everything works. I can start the Server (java -jar c:\xampp\selenium\selenium-server-standalone-2.35.0.jar) and on command line I can run "phpunit [name of the test file]". This works as expected opens the browser and doing the tests, giving feedback over the command line.
Now my questions are:
- How well is this setup covered with PhpStorm?
- Can PhpStorm run the Java-Server too?
- How do I have to configure it to get it workinig with PhpStorm?
- When I open my test-file
class Example extends PHPUnit_Extensions_SeleniumTestCase
{
protected function setUp()
{
$this->setBrowser("googlechrome");
$this->setBrowserUrl("http://demo.magentocommerce.com/");
}
It tells me that setBrowser and setBrowserUrl methods aren't found... But functions like open, waitForPage and so on are found. How can I fix this?
I've searched on the net about this environment but couldn't find the right instructions to set it up. Please help me a little bit to get me on the right track.
Please sign in to leave a comment.