Quintiq file version 2.0
#parent: #root
Method PTF_GetScript_CreateScenario_ImportData (
  String scenarioName
) as String id:Method_LibPTF_frmTestScenario_PTF_GetScript_CreateScenario_ImportData
{
  #keys: '[136682.0.314358757]'
  Body:
  [*
    // Get TestScript for create scenario, select scenario, and import data
    script :=
    "/*
    1. Create scenario " + scenarioName + " (if it doesn't exists)" + String::NewLine() +
    "2. Select scenario " + scenarioName + String::NewLine() +
    "3. Import data - This is MDSDependent (based on the scenario name passed in)
    */
    
    OpenView 01. Scenario management;
    CreateScenario " + scenarioName + ",MemoryOnlyState;" + String::NewLine() +
    "SelectScenario " + scenarioName + ";" + String::NewLine() +
    "ImportData " + scenarioName + ";";
    
    return script;
  *]
}
