"Data Driven Framework(DDF) for XML" reads the test data from XML file.
Prerequisite:
1. Java 1.6
2. Eclipse IDE
3. Eclipse IDE configured with TestNG Plugin.
Set the java build path for jar file, follow the below steps:
1. Download the "AH-DDF-<<Version>>.zip" from repository.
2. Extract the "AH-DDF-<<Version>>.zip"
3. Extracted "AH-DDF-<<Version>>.zip" contains the "docs", "release notes", "AH-DDF-<<Version>>.jar" and "examples".
4. Set "AH-DDF-<<Version>>.jar" in the java build path.
Working with example program:
5. Copy the "examples" folder present in the extracted "AH-DDF-<<Version>>.zip" file into the "src" folder of Eclipse IDE project.
6. Update the XML file path in "TestData.java" present at "\src\examples\test\xml\TestData.java"
Execution:
7. Execute the "TestData.java"
> Open the "TestData.java"
> Right click in the eclipse ide(i.e. in "TestData.java")
> Select the menu "Run As" --> "TestNG Test"
> "TestData.java" is executed by "TestNG API" with the help of "TestNG Plugin" configured in Eclipse IDE (Pre-requisite: TestNG Plugin is configured for Eclipse IDE).
8. Results (or) output is displayed in the Console.
> To see the console click on "Windows" menu --> "Show View" --> "Console"
DDF XML Versions
Click the below links to access the pages.
DDF - Version 3.0.3
DDF - Version 3.0.2
DDF - Version 3.0.1
DDF - Version 2.0
<< Previous
Do you have Maven Version for AH-DDF-2.0.Jar?
ReplyDelete