Forum Discussion

Ravik's avatar
Ravik
Super Contributor
10 years ago

Unable to create "TestExecute" object

Hi All,

 

I am trying to create a object of "TestExecute" using below statement  in VB-

 

  Set TestExecuteApp = CreateObject("TestExecute.TestExecuteApplication")

 

OR

 

  Set TestExecuteApp = CreateObject("TestExecute.TestExecuteApplication.11")

 

while executing above statement it giving error - "Can not launch another instance of this application" and stop execution

 

I have refer - https://support.smartbear.com/viewarticle/67528/

 

I didn't understand why this error is throwing.

 

could you please help.

 

 

8 Replies

  • TestExecute is already running.  You can only have one instance running.  Check the Windows Task Manager . . . you should see it listed.

    • Ravik's avatar
      Ravik
      Super Contributor

      Hi Joseph,

       

      No it is not available in Task manager, while executing above statement it is listed in Task Manager window and throwing error.

      If I removed TestExecute from Task Manager and again run above statement it's giving same error.

       

      I did not understand why it is !

      • Colin_McCrae's avatar
        Colin_McCrae
        Community Hero

        What are you running this in to try and create a TestExecute instance?

         

        Are you running TestComplete to try and start TestExecute?

         

        If you're trying to start a second TestExecute instance (on the same local machine) by running FROM TestExecute then it's not going to work ...