Forum Discussion
AlexKaras
13 years agoCommunity Hero
Hi Christophe,
Something like below might inspire you:
if (Sys.WaitProcess('TestComplete', 0).Exists) then
strProcess := 'TestComplete'
else
strProcess := 'TestExecute';
Log.Message(aqString.Format('Test is running using %s v.%i', strProcess, Sys.Process('Test*te').FileVersionInfo.MajorPart));
Something like below might inspire you:
if (Sys.WaitProcess('TestComplete', 0).Exists) then
strProcess := 'TestComplete'
else
strProcess := 'TestExecute';
Log.Message(aqString.Format('Test is running using %s v.%i', strProcess, Sys.Process('Test*te').FileVersionInfo.MajorPart));