Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Delphi project testing via TestComplete 7 on FinalBuilder

We've been using FinalBuilder as a continuous integration server for our Delphi project.

Currently, we have our builds automatically triggered from subversion check-ins, dUnit tests run after the unit test executable is built and AQtime generating test coverage statistics while the unit test executable is run.

Our next goal is to get our regression suite (developed in TestComplete 7) running as a nightly process. We have tried both a vbs script to start TestComplete via COM and the TestComplete task that comes with FinalBuilder itself. Both methods start TestComplete, and the application successfully when running the FinalBuilder project interactively.

But when we submit the job to the FinalBuilder server, the TestComplete script crashes because TestComplete doesn't appear to be able to read the application screens. We thought this might be resolved by allowing each of the services (TestComplete and FinalBuilder) to interact with the desktop, but that didn't work.

Has anybody been able to get a TestComplete 7 project to work correctly in FinalBuilder?

like image 654
Catharz Avatar asked Mar 04 '10 22:03

Catharz


1 Answers

I have had the same problem with automatically making screenshots from my application from a FinalBuilder project run by FinalBuilder Server. The solution that worked was the VMWare - Execute Guest Command action with the command set to Run a program interactively in Guest OS. You have to set the Guest Credentials to the interactive user of the VM.

If your build server itself is running inside a VM you must set the Host Name to the machine where VMWare is installed to make this work. I didn't try that though, as my FB server is running on a physical machine.

like image 152
Uwe Raabe Avatar answered Nov 15 '22 05:11

Uwe Raabe