xiaoding721
2024-12-04 c9407b22f81eb2995d7304cc8a0d60aa23581ea2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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;
  *]
}