Quintiq file version 2.0
#parent: #root
Method PTF_CreateScenario_ImportData (
  LibPTF_TestScenario testScenario,
  String scenarioName
) id:Method_LibPTF_frmTestScenario_PTF_CreateScenario_ImportData
{
  #keys: '[136682.0.314360339]'
  Body:
  [*
    // Create Test script
    ptfclienttype              := "Thin Client";
    ptfcustomargument          := ""; //'/selectdataset="Company:/root/Company"';
    ptfdescription             := "Create scenario, select scenario, import data (" + scenarioName + ")";
    ptfisscriptvalid           := true;
    ptfloggingoptions          := "Full";
    ptfmaxstartclientdelay     := Duration::Seconds( 5 );
    ptfminstartclientdelay     := Duration::Seconds( 1 );
    ptfnrofsimultaneoussession := 1;
    ptfoffset                  := Duration::Zero();
    ptfpassword                := "";
    ptfproject                 := "MacroPlanner";
    ptftotalnrofsessions       := 1;
    ptfuser                    := "administrator";
    ptfview                    := "01. Scenario management";
    ptfdataset                 := "ScenarioManager";
    ptfdatasetfolder           := "root";
    ptfdatasetkind             := "ScenarioManager";
    
    ptfactionscript          :=  this.PTF_GetScript_CreateScenario_ImportData( scenarioName );
    
    LibPTF_TestScript::Create( testScenario,
                               ptfclienttype,
                               ptfcustomargument,
                               ptfdescription,
                               ptfisscriptvalid,
                               ptfloggingoptions,
                               ptfmaxstartclientdelay,
                               ptfminstartclientdelay,
                               ptfnrofsimultaneoussession,
                               ptfoffset,
                               ptfactionscript,
                               ptfpassword,
                               ptfproject,
                               ptftotalnrofsessions,
                               ptfuser,
                               ptfview,
                               ptfdataset,
                               ptfdatasetfolder,
                               ptfdatasetkind
                             );
  *]
}
