yanweiyuan3
2023-08-09 588bc7829387dfc761cc25f06f77d4c81818bd10
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Quintiq file version 2.0
#parent: #root
Method PTF_ParseScript (
  String lines
) id:Method_LibPTF_pnlTestRunner_PTF_ParseScript
{
  #keys: '[102890.0.1865516243]'
  Body:
  [*
    // Parse the script read from the script file
    //First line - [ResultLogPath], [LoggingOptions]
    firstline       := lines.Tokenize( ";" ).Element( 0 );
    otherparameters := firstline.Tokenize( "," );
    vhResultLogPath.Value( otherparameters.Element( 0 ) );
    vhLogging.Value( otherparameters.Element( 1 ) );
    
    // Remove first line (other parameters) before parsing
    actionscript := lines.RestString( lines.FindString( ";", 0 ) + 1 );
    
    actionscript := this.PTF_RemoveComment( actionscript );
    actionscript := this.PTF_ParseLoopActions( actionscript );
    
    this.vhPendingActions().Value( actionscript );
    
    chkActionDone.Checked( false );
    chkLoggedStartMarker( false );
  *]
}