Submit and vote on feature ideas.

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.

Data Sources accessible across multiple tsts

Options
Charanyasv
Charanyasv Posts: 11

Trying to make Data Sources globally accessible across multiple tst files

We have scenarios where we need to write output from multiple test cases into a single writable and later share the result across board.

In the current framework identified in my project,, we are creating each test as a tst. I am unable to save the result from each TC.tst to a common datasource maintained in a common tst. Ideally, need to write output of Xml databank from one tst into writable available in another tst. (Approx 50 TC.tst need to be updated in a single writable placed in a common.tst)
Kindly suggest solutions to handle the same.

Comments

  • benken_parasoft
    benken_parasoft Posts: 1,230 ✭✭✭
    edited January 2019
    Options

    We have scenarios where we need to write output from multiple test cases into a single writable and later share the result across board.

    You would need to save the information somewhere persistent, like a file on disk. Perhaps this could be a CSV file, for example. Any tsts that need the information could have their own CSV data source which reads from the shared file. This is just one possible example.