Quintiq file version 2.0
|
#parent: #root
|
Method PTF_WriteLogLineForStartEndClient (
|
String str
|
) id:Method_LibPTF_pnlTestRunner_PTF_WriteLogLineForStartEndClient
|
{
|
#keys: '[104342.0.783826731]'
|
Body:
|
[*
|
// Write start and end client information to the log file
|
path := vhResultLogPath.Value();
|
|
if ( path.Length() > 0 )
|
{
|
filename := ApplicationScope.Session().CurrentUser().ShortName() + '_' + [String]ApplicationScope.Session().ClientId() + '_startclient' + LibPTF::FileExtStartEndClientLog();
|
fullpath := path + filename ;
|
|
file := OSFile::Construct();
|
file.Open( fullpath, 'Append', true );
|
|
if( this.PTF_RequiredActionLogData() )
|
{
|
file.WriteTextLine( str );
|
}
|
|
file.Close();
|
}
|
*]
|
}
|