Forum Discussion

sriram_sig's avatar
sriram_sig
Contributor
7 years ago

how to import Python modules inside testComplete

hi,

 

I'm trying to import some external python modules like pyodbc inside test complete. But i'm having a hard time trying to get it done. Tried the below code based on this post - 

https://community.smartbear.com/t5/TestComplete-Mobile-Application/How-do-i-add-Python-Libraries-and-extend-the-Pyton-support-on/td-p/118785

 

When i try to do "sys." i do not see anything listed as path just seeing parent for "p". Is this code still applicable for version -  12.60.55

  • May be bit late to reply ...but anybody else came across this it would be usefull...

     

    Sys is a test complete keyword so do not mix it up with sys "with lower case"

     

    testcomplete IDE is not sofisticate as Eclips or visualStudio. 

    So typing "." dot will not always autocomplete (intellesence), specially imported packages of python

  • NisHera's avatar
    NisHera
    Valued Contributor

    May be bit late to reply ...but anybody else came across this it would be usefull...

     

    Sys is a test complete keyword so do not mix it up with sys "with lower case"

     

    testcomplete IDE is not sofisticate as Eclips or visualStudio. 

    So typing "." dot will not always autocomplete (intellesence), specially imported packages of python