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?
Solved! Go to Solution.
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.
There is a good article in our Education Center. I suggest that you read it:
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.