The method for building 1
- Installation jdk, configure the environment variables
- Installation eclipse
- Installation testng
- Download extract selenium-java package --http: //selenium-release.storage.googleapis.com/index.html
- File decompression copying the new project directory
- Add JARs (lib directory of all extracted files, selenium-java-2.39.0 and selenium-java-2.39.0-srcs)
- - then add selenium-server-standalone.jar to the project
- Installation firefox-- not need to download drivers, native support for selenium; IE and chrome also want to download the appropriate driver configuration
selenium1.0-seleniumRC when the need to start the selenium-server-standalone package, used for Server;
selenium2.0-webdriver, do not need this selenium-server-standalone package, the local browser and can interact directly, if you need remote automation will have to import selenium-server-standalone package;