Showing results for 
Search instead for 
Did you mean: 

How to install pyautogui for TestComplete

Occasional Visitor

How to install pyautogui for TestComplete

I am coding in Python for TestComplete projects, and it is python 3.x. I also have Python 2.7 installed on my computer, since sometimes I need to create stand alone python scripts fro non-GUI related tests.


From cmd, if I do pip install pyautogui, then it is installed for Python 2.7, when I want to import pyautogui for TestComplete, it will still give my error say No module named pyautogui.


Does anyone know how to install pyautogui for TestComplete? Thanks!

Community Hero

Re: How to install pyautogui for TestComplete

In normal circumstances, you can use PIP to control the version it installs to.


But I'm not sure how this holds when dealing with TestComplete and Python as I don't use it within TC.

Community Hero

Re: How to install pyautogui for TestComplete



I do not use Python either, but TestComplete holds its own instance of Python environment within the <TC>\Bin\Extensions\Python\ folder.

You can try to tweak it but, obviously, on your own risk. 😉

  /Alex [Community Hero]
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
New Here?
Join us and watch the welcome video:
Top Kudoed Authors