cancel
Showing results for 
Search instead for 
Did you mean: 

how to import Python modules inside testComplete

SOLVED
Highlighted
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 ACCEPTED SOLUTION

Accepted Solutions
Valued Contributor

Re: how to import Python modules inside testComplete

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

1 REPLY 1
Valued Contributor

Re: how to import Python modules inside testComplete

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

New Here?
Join us and watch the welcome video:
Watch the new Interview
Top Kudoed Authors