Forum Discussion

jorgesimoes1983's avatar
jorgesimoes1983
Regular Contributor
11 years ago

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" i...
  • karkadil's avatar
    11 years ago
    This code (JScript) will return either TestComplete or TestExecute:



    aqFileSystem.GetFileName(BuiltIn.ParamStr(0)).split('.')[0]