Created
January 2, 2009 21:24
-
-
Save hugs/42704 to your computer and use it in GitHub Desktop.
Setup req'd for Selenium development on Windows 2003
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Install cygwin and wget | |
| * Go to http://www.cygwin.com/ | |
| * Download Cygwin, and run installer. | |
| * During installation, under "Web", select "wget" | |
| * After installation, add Cygwin binaries to System "Path" environment variable | |
| (Sample: C:\cygwin\bin) | |
| (also install 'unzip') | |
| # Install Java: | |
| * Go to http://java.com/en/download/manual.jsp | |
| * Select "Windows XP/Vista/2000/2003 Online" download option | |
| * Download and run installer. (On EC2, logged in as Administrator, I had to "Unblock" the file using the Properties context-menu before I could run the installer.) | |
| # Check installation: | |
| $ java -version | |
| # Set JAVA_HOME variable to: | |
| # Install Maven: | |
| * Go to http://maven.apache.org/download.html | |
| * Select "apache-maven-2.0.9-bin.zip", and continue to download from a mirror site. | |
| $ unzip D:/downloads/apache-maven-2.0.9-bin.zip | |
| $ mv D:/downloads/apache-maven-2.0.9 D:/apps | |
| * Add 'D:/apps/apache-maven-2.0.9/bin' to System PATH. | |
| # Check installation: | |
| * Relaunch command prompt to pick up new PATH vars. | |
| $ mvn --version | |
| # Install Subversion | |
| $ sudo apt-get install subversion | |
| # Check installation: | |
| $ svn --version --quiet | |
| # Make sure Firefox is on the path | |
| $ PATH=`find /usr/lib -type d -name "firefox-3*"`:$PATH | |
| # Checkout Selenium Remote Control: | |
| $ mkdir --parents ~/projects/selenium/selenium-rc | |
| $ svn co https://svn.openqa.org/svn/selenium-rc/trunk/ ~/projects/selenium/selenium-rc | |
| # Checkout Selenium Core | |
| $ mkdir --parents ~/projects/selenium/selenium-core | |
| $ svn co http://svn.openqa.org/svn/selenium-core/trunk/ ~/projects/selenium/selenium-core | |
| # Build Core | |
| $ cd ~projects/selenium/selenium-core/ | |
| $ mvn install | |
| # Build Core, but this time, run all tests | |
| $ mvn test | |
| # Build RC | |
| $ cd ~projects/selenium/selenium-rc/ | |
| $ mvn -Pcore install | |
| # Build RC, but this time, run all tests | |
| $ mvn -Pcore test | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment