Download Required Jar Files For Selenium WebDriver Data Driven Framework

STEP 3
Prerequisite : Project Structure should be created as described In Step 2.

Next step Is to download all required supporting jar files for our selenium webdriver software testing tool's data driven framework. Let me tell you which software jar files will be required for creating selenium webdriver data driven framework. First of all, we will download all of them one by one and then will store them In "JarFiles" folder which Is created under "WDDF" project In Step 2.



You can download all bellow listed jar files from THIS PAGE too excepting webdriver jar files.

1. Download Apache POI API Jar Files: 
We will use Apache POI API to read data from .xls file and write data In .xls file. To get support of Apache POI API, we need to Include Apache POI API's jar files In our project's build path of software automation testing.

To Download Apache POI API Jar files, GO TO THIS PAGE and click on link "poi-bin-3.10-FINAL-20140208.tar.gz" (Version 3.10 may change In future.) under Binary Distribution table. It will take you to mirror sites list page to download Apache POI API Jar files folder. Click on any mirror site link and download and extract the folder.

You will find bellow given files Inside that folder or It's sub folders. Copy all bellow given software files and paste them In "JarFiles" folder of "WDDF" project.
  1. poi-3.10-FINAL-20140208.jar
  2. poi-ooxml-3.10-FINAL-20140208.jar
  3. poi-ooxml-schemas-3.10-FINAL-20140208.jar
  4. xmlbeans-2.3.0.jar (Inside ooxml-lib folder)
  5. dom4j-1.6.1.jar (Inside ooxml-lib folder)
(Note : Above jar files versions may change In future. Always Use latest version only.).

2. Download Apache log4j Jar File:
We will use Apache log4j logging software service to generate log during test execution and for that we need to Include It's jar file In our project's build path.

READ THIS POST to know from where to download Apache log4j jar file. You will get bellow given file from download. Copy bellow given file and paste It In "JarFiles" folder of "WDDF" project.
  1. log4j-1.2.17.jar
(Note : Above jar files versions may change In future. Always Use latest version only.).

3. Download Required Jar Files For Selenium WebDriver
If you are using selenium webdriver then you will be already aware about which all jar files required for selenium webdriver. There are multiple webdriver supporting jar files and you will get all of them In one zip folder when you will download It.

READ THIS POST to know from where to download WebDriver jar files. After downloading the zip folder, Extract It. After extraction, You will get folder with name like "selenium-x.xx.x". Open that folder and copy all files from folder "selenium-x.xx.x" and Its sub folder "libs" and paste all of them In "JarFiles" folder of "WDDF" project.

4. Download Required jars and other files for XSLT Report Generation
For generating Interactive XSLT reports of test execution result, You will need to download ZIP folder from THIS SITE. You can also download folder from this Alternate Download Location.

You will find bellow given files from downloaded folder "testng-xslt-1.1.2-master" -> "lib" folder. Copy both of them and paste them In "JarFiles" folder of "WDDF" project.
  1. saxon-8.7.jar
  2. SaxonLiaison.jar
You will find bellow given file at downloaded folder path-> testng-xslt-1.1.2-master\src\main\resources. Copy "testng-results.xsl" file and paste It In "com.stta.xslt" package of  "WDDF" project.
  1. testng-results.xsl
Also download "testng-xslt-maven-plugin-test-0.0.jar" from HERE and paste In "JarFiles" folder of "WDDF" project.

So now, Your "JarFiles" folder and "com.stta.xslt" package have files as shown In bellow given Image.


We will Include more jar files In future If required.

6 comments:

  1. testng-xslt-maven-plugin-test-0.0.jar download link is blank..

    ReplyDelete
  2. Hi, I got lots from your posts. thanks.
    Here I just report something:
    1) "poi-bin-3.10-FINAL-20140208.tar.gz" could be "poi-bin-3.10-FINAL-20140208.gz" for the later I can unzip.
    2) I could not find dom4j-1.6.1.jar Inside ooxml-lib folder.

    Mak

    ReplyDelete
  3. Could you help on. How to make in single jave file with multiple test cases. Were this framework i'll support one jave file for one test case.

    ReplyDelete
  4. Could you please help out. I need one jave file with multiple test cases. Were this framework one jave one test cases it will increase lot off jave file. Please let me how to make this when you have time.

    ReplyDelete
  5. Hi Publisher,

    Firstly, I like to thank you for well explained document. Secondly, I have some "Jars" missing in my folder when compared with you? I have repeated the process but not sure where went wrong.


    Regards

    ReplyDelete
  6. Hi

    Thanks for well explained article. But I am missing some "Jar Files" when compared to yours. your folder shows "48 Files" and mine only shows "28" files. Some of the files I am missing are:

    1. apache-mime4j-0.6.jar
    2. bsh-1.3.0.jar
    3. common-collection-3.2.1.jar

    and so on. Please let me know if this is related to new versions of "Jars"

    Regards,
    Raj

    ReplyDelete