Forum Discussion

mrdwprice's avatar
mrdwprice
Contributor
6 years ago

DataSink to different files when switching between Environment

Is it possible to export data via DataSink to different files when switching between Environment?   For example:   Environment Environment 1 Environment 2 Environment 3   TestCase S...
  • Radford's avatar
    6 years ago

    You can add a Project Level custom property to your project, and then this property can be set per environment via the Environments editor.

     

    Then in your DataSink test step you can refer to the project property via a property expansion. The easiest way to do this is to right click in the "File" text box in the DataSink test step and use the "Get Data" menu option to select your newly created project property.