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

DapowerpigDapowerpig 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

  • jakubiakjakubiak Posts: 664 admin

    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.

Sign In or Register to comment.