Quintiq file version 2.0
#parent: lstTestScenario
Response OnClick (
  structured[LibPTF_TestScenario] selection
) id:Response_lstTestScenario_MenuExecuteScenario_OnClick
{
  #keys: '[104342.0.283368116]'
  Body:
  [*
    // Execute TestScenarios
    scripts := construct( LibPTF_TestScripts );
    
    traverse( selection, Elements.LibPTF_TestScript, script )
    {
      scripts.Add( script );
    }
    
    PanelTestController.PTF_ExecuteTest( scripts );
  *]
  CanBindMultiple: false
  DefinitionID => /lstTestScenario/Responsedef_lstTestScenario_Menu_OnClick
  Initiator: 'MenuExecuteScenario'
  Precondition:
  [*
    return Form.PTF_IsScenarioExecutable( selection, feedback );
  *]
}
