Forum Discussion

jromie's avatar
jromie
New Contributor
9 years ago

determine whether testexecute is running or testexecute

Is it possible through JScript to determine whether a test is run via TestExecute vs TestComplete? It would be nice if I can turn some settings off for one and have them turned on for the other.
  • jmcpeek's avatar
    9 years ago

    You can check for the process:

     

    if sys.WaitProcess("testcomplete", 0).exists then
    ...