cancel
Showing results for 
Search instead for 
Did you mean: 

Running TestComplete through Gitlab CI and VirtualBox

SOLVED
New Contributor

Running TestComplete through Gitlab CI and VirtualBox

Hello,

 

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?

 

Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
New Contributor

Re: Running TestComplete through Gitlab CI and VirtualBox

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. 

3 REPLIES 3
Highlighted
Community Hero

Re: Running TestComplete through Gitlab CI and VirtualBox

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
[Community Expert Group]
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
Extensions available
Community Manager

Re: Running TestComplete through Gitlab CI and VirtualBox

Hi @sdbuilt,

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

https://smartbear.com/learn/automated-testing/testing-on-virtual-machines/?q=virtual+machines+testco...

---------
Tanya Gorbunova
SmartBear Community Manager

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others.↓↓↓↓↓
New Contributor

Re: Running TestComplete through Gitlab CI and VirtualBox

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. 

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