QA/Execution/Web Testing/Selenium PHP: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(Created page with ''''How to setup Selenium RC, PHP & PHPUnit on Mac 10.5:''' * Step 1: Mac OS X 10.5 (Leopard) comes with both Apache 2.2.6 and PHP 5.2.4 preinstalled, but they're not enabled by…')
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:


* Step 1: Mac OS X 10.5 (Leopard) comes with both Apache 2.2.6 and PHP 5.2.4 preinstalled, but they're not enabled by default. The following instructions should help you get up and running. '''[http://foundationphp.com/tutorials/php_leopard.php]'''
* Step 1: Mac OS X 10.5 (Leopard) comes with both Apache 2.2.6 and PHP 5.2.4 preinstalled, but they're not enabled by default. The following instructions should help you get up and running. '''[http://foundationphp.com/tutorials/php_leopard.php]'''
* Step 2: Install PEAR '''[http://stackoverflow.com/questions/628838/how-to-set-up-pear-on-mac-os-x-10-5-leopard]'''
* Step 3: Install PHPUnit '''[http://www.phpunit.de/manual/3.0/en/installation.html]'''
* Step 4: Install Selenium RC 1.0.1 (current release) '''[http://seleniumhq.org/download/]'''
** Unzip
** Move the selenium-remote-control folder from your Downloads folder to /Users/<username>/MyApps folder (create a MyApps folder)
** Move/Copy MyApps/selenium-remote-control-1.0.1/selenium-php-client-driver-1.0.1/PEAR/Testing folder to /usr/local/PEAR folder

Latest revision as of 23:25, 18 November 2009

How to setup Selenium RC, PHP & PHPUnit on Mac 10.5:

  • Step 1: Mac OS X 10.5 (Leopard) comes with both Apache 2.2.6 and PHP 5.2.4 preinstalled, but they're not enabled by default. The following instructions should help you get up and running. [1]
  • Step 2: Install PEAR [2]
  • Step 3: Install PHPUnit [3]
  • Step 4: Install Selenium RC 1.0.1 (current release) [4]
    • Unzip
    • Move the selenium-remote-control folder from your Downloads folder to /Users/<username>/MyApps folder (create a MyApps folder)
    • Move/Copy MyApps/selenium-remote-control-1.0.1/selenium-php-client-driver-1.0.1/PEAR/Testing folder to /usr/local/PEAR folder