Copyright 2015 IT Professional Academy 1 Selenium- Training Topic - 4
Copyright 2015 IT Professional Academy 2 Agenda • Environment setup • Configure Eclipse with webdriver • Running first Test case • Running Test on Chrome browser • Running Test on IE browser
Copyright 2015 IT Professional Academy 3 Environment Set Up Java: 1. First of all download the JDK executable from http://www.oracle.com/technetwork/java/javase/downl oads/jdk7-downloads-1880260.html 2. Install the downloaded exe and locate the jdk folder under path: C:Program FilesJava JAVA Env setup: 1. Set up windows environment variables with [JAVA_HOME, C:Program FilesJavajdk1.7.0_55 and PATH variable with value: %JAVA_HOME%bin 2. Apply and save the changes. 3. Go to command prompt and type command javac and enter. (To check if setup is done successfully.)
Copyright 2015 IT Professional Academy 4 Eclipse configuration • Download eclipse 4.3 or above version from https://eclipse.org/downloads/ • Launch Eclipse IDE and open JAVA perspective. • Now Create new JAVA project. • Add Webdriver standalone server JAR into build path of newly created project. • Now you are all set to write your first automation test script.
Copyright 2015 IT Professional Academy 5 Running first test case Scenario to Automate • Launch the Firefox browser • Open website “” • Print a Message to display that the website is opened successfully • Wait for 5 Seconds • Close the Browser
Copyright 2015 IT Professional Academy 6 Scenario to Automate • Launch the Chrome browser. • Open website “” • Print a Message to display that the website is opened successfully • Wait for 5 Seconds • Close the Browser Running test on Chrome
Copyright 2015 IT Professional Academy 7 Running test on IE browser Scenario to Automate • Launch the IE browser. • Open website “” • Print a Message to display that the website is opened successfully • Wait for 5 Seconds • Close the Browser
Copyright 2015 IT Professional Academy 8 Topic 4 Ends. Thank you.

Selenium topic 4 - Selenium Web Driver Set Up

  • 1.
    Copyright 2015 ITProfessional Academy 1 Selenium- Training Topic - 4
  • 2.
    Copyright 2015 ITProfessional Academy 2 Agenda • Environment setup • Configure Eclipse with webdriver • Running first Test case • Running Test on Chrome browser • Running Test on IE browser
  • 3.
    Copyright 2015 ITProfessional Academy 3 Environment Set Up Java: 1. First of all download the JDK executable from http://www.oracle.com/technetwork/java/javase/downl oads/jdk7-downloads-1880260.html 2. Install the downloaded exe and locate the jdk folder under path: C:Program FilesJava JAVA Env setup: 1. Set up windows environment variables with [JAVA_HOME, C:Program FilesJavajdk1.7.0_55 and PATH variable with value: %JAVA_HOME%bin 2. Apply and save the changes. 3. Go to command prompt and type command javac and enter. (To check if setup is done successfully.)
  • 4.
    Copyright 2015 ITProfessional Academy 4 Eclipse configuration • Download eclipse 4.3 or above version from https://eclipse.org/downloads/ • Launch Eclipse IDE and open JAVA perspective. • Now Create new JAVA project. • Add Webdriver standalone server JAR into build path of newly created project. • Now you are all set to write your first automation test script.
  • 5.
    Copyright 2015 ITProfessional Academy 5 Running first test case Scenario to Automate • Launch the Firefox browser • Open website “” • Print a Message to display that the website is opened successfully • Wait for 5 Seconds • Close the Browser
  • 6.
    Copyright 2015 ITProfessional Academy 6 Scenario to Automate • Launch the Chrome browser. • Open website “” • Print a Message to display that the website is opened successfully • Wait for 5 Seconds • Close the Browser Running test on Chrome
  • 7.
    Copyright 2015 ITProfessional Academy 7 Running test on IE browser Scenario to Automate • Launch the IE browser. • Open website “” • Print a Message to display that the website is opened successfully • Wait for 5 Seconds • Close the Browser
  • 8.
    Copyright 2015 ITProfessional Academy 8 Topic 4 Ends. Thank you.