![]() ![]() % java -jar selenium-server-standalone-2.25.0.jar Note: For the sake of example, we assume that the file's name is selenium-server-standalone-2.25.0.jar and that it was saved in the folder ~/jar – change these details as appropriate. Once the file is downloaded, start the Selenium Server by running the following commands in your terminal: ![]() Save the file wherever it makes sense to you It is an application file that you will run directly. selenium-server-standalone-2.25.0.jar, from the Selenium download page. Next we need to install the actual Selenium Server. Run the following commands in your Terminal (use Spotlight to find the Terminal application in case you haven't used it before): % sudo pear upgrade PEAR This part will first upgrade PEAR so that it has the latest resources, then configure it so that the PEAR channels are discovered automatically, and finally install PHPUnit and its Selenium support. Have created a project for that Yii application in your IDE, be it IntelliJ IDEA or PhpStorm.Note: In the examples below this app is in the folder /Users/rawtaz/Sites/yii/test in the filesystem, and the URL to it is Created a Yii application (normally using the command yiic webapp.Java installed, which is used to run the.PEAR installed, which is used to install PHPUnit.It should at most be a matter of slightly different menu items and stuff. The article will most likely also be applicable for PhpStorm, since these two products share the same foundation (IDEA uses the same code for PHP support as PhpStorm has in its core). This article intends to summarize the steps taken to set up PHPUnit and Selenium for a Yii project, with IntelliJ IDEA Ultimate (the IDE). Work around a PHP Warning issue with PHPUnit and Selenium.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |