admin
2025-01-22 7e31442f0e9b07764e9c6a9680d3d4aeba5fe1de
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;
  *]
}