Depenga CI Architecture: Hudson Configuration

This tutorial demonstrates the basics of configuration of Hudson CI server that can work as a part of Depenga CI architecture. Hudson runs and monitors execution of QTP tests, checks test reports generated by Quick Test Professional for potential errors and sends an e-mail report to interested recipients on the outcome of testing.

To install Hudson you will need at least one box with Windows XP or later and HP QuickTest Professional installed. If you're using virtual machine then use remote desktop connection (Programs > Accessories > Remote Desktop Connection) to connect to the box.

Depenga CI Architecture: 

Depenga CI Architecture: Overview

This article presents an architecture of test environment setup that enables full automation of tests execution and reporting. In proposed solution test environment is fully independent from development environment i.e. no changes are required from developers' side to make the test environment working correctly. Of course, if possible, such cooperation is welcome and will be very helpful in more efficient and easier integration.

Required resources

Depenga CI Architecture: 

Depenga CI Architecture: QTP Runner

QTP Runner (qtpRunner.vbs) is a script that allows to run QTP from command line. It reads QTP settings (such as making QuickTest window visible or hidden during test execution) from configuration file (config.properties).

Depenga CI Architecture: 

QTP debugger tweak with pdm.dll

QTP debugging environment available in QTP 9x/10 uses default Process Debug Manager (PDM) engine that is present in the operating system. PDM makes programs objects available to the session debug manager and the debug engine. Normally, during the installation process of QTP an old version of Script Debugger containing archaic version of pdm.dll (7.10.3077) is installed.

Article: 

The specified function library cannot be opened

Problem:
You get an error message saying "The specified function library cannot be opened" after copying or moving folder with your test to different location or another computer.

The specified function library cannot be opened.

Solution:
Change absolute path of library to relative path in QTP:

  • Select File > Settings
  • Click on Resources
  • double click on the path (in "Associated function libraries" box) and type relative path

Article: 

Pages