Forum Discussion

vikram_u_k's avatar
vikram_u_k
Contributor
8 years ago
Solved

Extend Python 3 Libraries inside testComplete

Hello TestComplete Support,

 

 Using TC12 has been useful to automate Android applications. We currently need to send XML messages to a Webinterface to send Data that is used by the Android app.

 

To do this we need to import the packages urllib, urllib2 to extend this funcionality to TestComplete.

 

Kindly let us know a official procedure to import packages inside the C:\Program Files (x86)\SmartBear\TestComplete 12\Bin\Extensions\Python\Python34 Folders as PIP is not available.

 

 

regards,

Vikram U

  • baxatob's avatar
    baxatob
    8 years ago

    No need to install anything in this case.

    As Colin_McCrae said just use 

     

    from urllib.request import what_you_need

    urllib.request and urllib.error libraries are native also for Python 3

4 Replies