jorgesimoes1983
11 years agoRegular Contributor
TestComplete and TestExecute
Hi all! I have the following scenario: i run tests both with TestComplete and TestExecute.
I would like to be able to detect which is running the tests, for instance:
"Script A"
if(testcomplete is running the tests) do action a
else
if(testexecute is running the tests) do action b
Does anyone know how can I accomplish this?
Thanks
I would like to be able to detect which is running the tests, for instance:
"Script A"
if(testcomplete is running the tests) do action a
else
if(testexecute is running the tests) do action b
Does anyone know how can I accomplish this?
Thanks
- This code (JScript) will return either TestComplete or TestExecute:
aqFileSystem.GetFileName(BuiltIn.ParamStr(0)).split('.')[0]