Forum Discussion

cam_farineau's avatar
cam_farineau
Contributor
8 years ago
Solved

Working with TestExecute via COM

Hi,

 

We are trying to control TestExecute via COM from a Javascript or VB script.

Here is the script that we are trying to run:

//Project, ProjectSuite and TestItemGroup are passed through arguments

var TEApp = "TestComplete.TestExecuteApplication";
var tc = new ActiveXObject(TEApp);
var tci = tc.Integration;
tc.Visible = true;
tci.OpenProjectSuite(ProjectSuite);
ProjectTestItems = tci.TestSuite(Project);
tci.RunProjectTestItem(Project, TestItemGroup);

 

TestExecute and TestComplete are located on a D:\ drive and not in the C:\Program Files.

On this link: Configuring Manifests on Windows 8 and Later Operating Systems, it says :

"Your COM client application for TestComplete:

  • Must be digitally signed. (See below.)

  • Must be in the Program Files, Program Files (x86) or Windows\System32 folder."

 

The COM client application is TestExecute / TestComplete or it is something else ?

Are we doing something wrong there ?

 

Thank you for your answers,

 

Camille

 

  • Hi,

      I am assuming that you have completely followed the steps provided in the configuring manifests link.

     

    The COM interface is

     

    TestExecute.TestExecuteApplication

     

    TestExecute.TestExecuteApplication.12 (For test execute version 12)

     

    Please find the link to work with TestExecute via COM

    https://support.smartbear.com/viewarticle/90568/

1 Reply

  • sanjay0288's avatar
    sanjay0288
    Frequent Contributor

    Hi,

      I am assuming that you have completely followed the steps provided in the configuring manifests link.

     

    The COM interface is

     

    TestExecute.TestExecuteApplication

     

    TestExecute.TestExecuteApplication.12 (For test execute version 12)

     

    Please find the link to work with TestExecute via COM

    https://support.smartbear.com/viewarticle/90568/