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.

Is it possible to set a condition base on CSV data in a testscript?

Options
Dapowerpig
Dapowerpig Posts: 3

Hi all,

currently i have 2 test-script, checklocation and acceptlocation.

is it possible to only run acceptlocation if the location column in the checklocation's CSV is not empty?

Tagged:

Comments

  • jakubiak
    jakubiak Posts: 801 admin
    Options

    You could create a test suite variable and test suite logic that configures a particular test to only run if the variable has the correct value. Then you could use an Extension Tool to read the value from the data source and set the value of the test suite variable. The Extension Tool would run before the test that is controlled by the CSV.

Tagged