Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.

Code to save Traffic's Element View Response in file.

rahul157
rahul157 Posts: 30

Hi Guys,
I'm looking for a code which let me save rest service Element View response in some txt file.

Comments

  • Chinnu
    Chinnu Posts: 18

    WRITE TO FILE

  • benken_parasoft
    benken_parasoft Posts: 1,302 ✭✭✭

    You typically use the "Write File" tool to write files. However, if you are needing to pass an XML element value from one test case to another then you should use an XML Data Bank instead. The XML Data Bank lets you configure extractions which can then be referenced in subsequent tests.