Ask a Question

how to import Python modules inside testComplete

SOLVED
sriram_sig
Contributor

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...

 

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

1 REPLY 1
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

cancel
Showing results for 
Search instead for 
Did you mean: