Thursday, 3 July 2014

DDF XML- Version 3.0.3

Issue in 3.0.2 : 
    If test data has duplicate XML elements then 'Data Driven Framework'(DDF) API doesn't throw any exception, DDF-API picks the test data from the highest XML element row/line in case if there are duplicate xml elements in the test data.

Fixed in Version-3.0.3:
     If test data has duplicate element's then 'Data Driven Framework'(DDF) API throws exception "XML element '<<ELEMENT_NAME>>' should be unique.".

1. Download the  "DDF Version - 3.0.3.zip" from repository.
2. Extract the "DDF Version - 3.0.3.zip"
3. Click the link for Prerequisite and Setup
4. If you are new to the blog, watch below demo video's
        Click on the link to watch the DDF - XML Version-2.0 video.
        Click on the link to watch the DDF - XML Version-3.0.2 video.

5. Set the "AH-DDF-3.0.3.jar" in java build path.

                       Duplicate Element Name in test data, refer below Figure-1.
Figure-1

Source Code and results(i.e. exception) in console, refer below Figure-2.
Figure-2

<< Previous

No comments:

Post a Comment