To record the caused of failure in generated xml
Merge pull request #1295 from sudhirpandey/patch-1

To record the caused of failure in generated xml