This is a quick start for starting with Web UI automation using WebDriver/Selenium with Java language. Mac is the main platform used for this instruction. (However, you can easily find Windows equivalents via Google)
- download JDK 8 from http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html)
- follow instruction and install JDK
- download & install by consulting an excellent advice: http://www.mkyong.com/maven/install-maven-on-mac-osx/
- maven plugin for Eclipse: http://eclipse.org/m2e/
- download: http://testng.org/doc/download.html
- documentation: http://testng.org/doc/eclipse.html
- download and install: https://www.mozilla.org/en-US/firefox/new/
- Firebug: https://addons.mozilla.org/en-US/firefox/addon/firebug/
- Firepath: https://addons.mozilla.org/en-US/firefox/addon/firepath/
- Selenium-IDE: http://www.seleniumhq.org/download/
- SE-Builder: http://www.saucelabs.com/addons/selenium-builder-latest.xpi (from Firefox)
We will use Selenium-IDE to simulate a user searching for some text with Google.com, and validate that the text is found.
- Start Firefox
- Tools>Selenium IDE
- dd