Solved
Forum Discussion
SuperSingh
Contributor
Try the following :
def ResFile ="C:/Testing Lab/Soap TestBed/Response Data/Response1.xml"
def Res = context.expand( '${TestCaseName#ResponseAsXml}' )
def j = new File(ResFile)
j.write(Res, "UTF-8")
Amyread
7 years agoOccasional Contributor
Thank you.
But I have sever test cases in a test suite. I will need all of the responses save to a folder. how can I change the script. Can I give the test suite name instead of tescasename ? Please help
Related Content
Recent Discussions
- 2 hours agoMyBalanceNow
- 5 hours agoemoya
- 5 days agoKLWallace