Forum Discussion
Cizo89
10 years agoFrequent Contributor
Hi,
try this script, it works fine for me:
Regards,
Marek
try this script, it works fine for me:
//txt file
File file = new File("YOUR_PATH\\Example1.txt")
//xml file
//File file = new File("YOUR_PATH\\Example1.xml")
String response = context.expand('${YOUR_TESTSTEP#ResponseAsXml}')
file << response
Regards,
Marek
Related Content
- 2 years agomikefrank1