Monday, September 19, 2016

TestNG Installation

  1. ·         Launch the Eclipse IDE and from Help menu, click “Install New Software”.
  2. ·         You will see a dialog window, click “Add” button
  3. ·         Type name as you wish, let's take “TestNG” and type “http://beust.com/eclipse/” as location. Click OK.
  4. ·         You come back to the previous window but this time you must see TestNG option in the available software list. Just Click TestNG and press “Next” button
  5. ·         Click “I accept the terms of the license agreement” then click Finish.
  6. ·         You may or may not encounter a Security warning, if in case you do just click OK.
  7. ·         Click Next again on the succeeding dialog box until it prompts you to Restart the Eclipse.
  8. ·          You are all done now, just Click Yes.
  9. ·         Proceed with your workplace.
  10. ·         After restart, verify if TestNG was indeed successfully installed. Right click on you project and see if TestNG is displayed in the opened menu.


Selenium Installation

1 . Install latest version of eclipse


2.  Download selenium jar files from http://www.seleniumhq.org/download/

3.  Launch Eclipse tool and add external jar files that is selenium jar file in eclipse

 Once crating a project : Right click on Project ‘XXX‘ > Select Properties > Java build path. Then navigate to Libraries tab and click Add External JARs


Add Selenium Java jar,Add all the jars from the libs folder as well