Forum Discussion

santi's avatar
santi
Contributor
6 years ago

Importing 'TestComplete' library to my Python based framework

Hi Folks,

 

Need a urgent help here.

I wanted to call 'TestComplete' library to my 'Python based Framework'.

I am aware about COM based support https://support.smartbear.com/testcomplete/docs/working-with/automating/via-com/about.html

But, can we do same for python.

Would be glad if someone worked on similar scenarios share their thoughts.

 

Thanks,

Santosh

  • Hi Santosh,

     

    Could you clarify your problem, please?

    Basically, TestComplete can be controlled from the command line, user interface or through the COM.

     

  • AlexKaras's avatar
    AlexKaras
    Champion Level 3

    Hi Santosh,

     

    Could you clarify your problem, please?

    Basically, TestComplete can be controlled from the command line, user interface or through the COM.

     

    • santi's avatar
      santi
      Contributor

      Hi Alex,

       

      I dont want to use TestExecute.exe to run, i simply wanted to run a TestComplete script, without using TestComplete/TestExecute. Can i do that, if yes, could you please provide a pointer.

       

      Thanks,

      Santi

       

       

      • tristaanogre's avatar
        tristaanogre
        Esteemed Contributor

        Generally speaking.... you can't.  TestComplete automation depends upon the TestComplete engines.  You can set up your Python Framework, but somewhere in there it will need to make a call out to TestComplete to execute the test, either triggering a commandline of TestExecute or TestComplete.