1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
  | Quintiq file version 2.0 
 |  #parent: #root 
 |  Method PTF_IsScenarioExecutable ( 
 |    structured[LibPTF_TestScenario] selection, 
 |    output String feedback_o 
 |  ) as Boolean id:Method_LibPTF_frmTestScenario_PTF_IsScenarioExecutable 
 |  { 
 |    #keys: '[103546.0.79819685]' 
 |    Body: 
 |    [* 
 |      // Checks if the selected test scenario(s) can be executed 
 |      scripts := selectset( selection, 
 |                            Elements.LibPTF_TestScript, 
 |                            script, 
 |                            true, 
 |                            true 
 |                          ); 
 |       
 |      value := this.PTF_HasTestScript( feedback_o ); 
 |      value := value and this.PTF_IsScriptExecutable( scripts, false, feedback_o ); 
 |       
 |      return value; 
 |    *] 
 |  } 
 |  
  |