Quintiq file version 2.0 
 | 
#parent: #root 
 | 
Method PTF_IsScriptExecutable ( 
 | 
  structured[LibPTF_TestScript] selection, 
 | 
  Boolean scriptlevel, 
 | 
  output String feedback_o 
 | 
) as Boolean id:Method_LibPTF_frmTestScenario_PTF_IsScriptExecutable 
 | 
{ 
 | 
  #keys: '[104342.0.706374753]' 
 | 
  Body: 
 | 
  [* 
 | 
    // Checks if the selected test script(s) can be executed 
 | 
    value := this.PTF_IsReadyToRun( feedback_o ); 
 | 
    value := value and PanelTestController.PTF_IsSharedRepositoryValid( feedback_o ); 
 | 
    value := value and Form.PTF_HasUniqueUser( selection, scriptlevel, feedback_o ); 
 | 
    value := value and Form.PTF_HasValidTestScript( selection, feedback_o ); 
 | 
     
 | 
    return value; 
 | 
  *] 
 | 
} 
 |