QA/Execution/Web Testing/Selenium PHP

From MozillaWiki
Jump to navigation Jump to search

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