Ask a Question

Running TestComplete through Gitlab CI and VirtualBox

New Contributor

Running TestComplete through Gitlab CI and VirtualBox



We are using Gitlab CI with VirtualBox to 


1) Clone a VM

2) Connect to the VM via SSH

3) Clone a Gitlab repository with a TestComplete project to the VM

4) Run the Test Complete project.


The Test Complete projects that we will be running use the UI of the software under test. Is there going to be an issue with TestComplete being able to view the UI in this sort of VM environment?



Esteemed Contributor

TestComplete or TestExecute must be installed on the VM, the VM must have an active user session on it, the user session must have an active desktop.  As long as those requirements are met, this shouldn't be a problem.

Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
SmartBear Alumni (Retired)

Hi @sdbuilt,

There is a good article in our Education Center. I suggest that you read it:

Tanya Yatskovskaya
SmartBear Community and Education Manager

New Contributor

The issue with using ssh to connect to the VM through Gitlab CI is that there is no console or active desktop available in that environment. One potential solution that I am looking at is using ssh to send PsExec commands.


Should be able to use a PsExec command to open a batch file that will open Test Complete/ Test Execute in an environment that has the Windows Console/UI available.


Another step I needed to take is to allow the VM to automatically log into Windows upon starting by modifying the registry. 

Showing results for 
Search instead for 
Did you mean: