As an alternative to executing tests from TestArchitect,
TestArchitect test cases and test modules can be executed from
that the machine hosting the TestArchitect repository server
has the HP ALM Connectivity Add-in installed, to allow for integration and
synchronization between TestArchitect and HP Quality Center.
Ensure that you have already taken the following
In Quality Center's ALM sidebar, navigate to .
The Test Lab module appears.
In the test plan tree of the Test Sets tab, right-click the
folder in which you want to create a new test set, and then select New Test
On the New Test Set dialog box, enter the name of the new test set
in the Name text box, and then click
Select the Execution Grid tab, and then click Select
The Test Plan Tree window opens and displays tests that
were created in the Test Plan module.
Select the test cases and/or test modules to add to the test set, and drag them to the
Execution Grid tab.
Tip: You can distinguish a test module by the pound sign (#) as the first
character in its name.
Select the test cases and/or test modules in the Execution Grid
tab and click Run.
Selected items are added to the Automatic Runner dialog
the Automatic Runner dialog box, specify the host machine (in the
Run on Host column) where each selected test will run. If you
want to run all tests on the local host machine, select the check box Run All
Restriction: Due to Quality Center limitations, execution
of tests on a Linux host from Quality Center is not supported.
Select a test on the test list you want to execute and click Run
to execute the selected test case, or click Run All to run all test
cases on the list.
The TestArchitect Execution dialog box appears.
In the dialog box, enter the requested information as described below:
- TestArchitect Information panel:
- Repository Server: Name or IP address of TestArchitect Repository Server holding the
repository of the tests.
- Port: Port number of the TestArchitect Repository Server host.
- Repository Name: Name of TestArchitect repository hosting
- User Name: TestArchitect user name whose
account has permission to access and execute tests on the
- Password: Password for the above user
- General tab:
- Startup Settings tab:
Tip: To save the configurations, click the Save
The list of remote machines is added using the Available
field in the New External Tool
(see Configuring the Quality Center connection
). For an existing tool profile, the
field is available on the tool profile’s information screen.
Click Run to execute the
If you are executing tests for the first time,
you are prompted to enter your TestArchitect
server information. Enter the required information in the dialog box. If the specified
license server is reached successfully, or the trial key is validated, the provided
license information is stored. From then on, you will be able to execute tests without
again being prompted for this information.
TestArchitect executes the test, and the test results
are uploaded to Quality Center.
- When running an automated test, the execution of every single Quality Center test
entails the execution of the INITIAL section, if any. However, the execution of the last
Quality Center test entails the execution of both the INITIAL and
FINAL sections. For example,
execution of test 01 (the first in the sequence) starts off with execution of the
INITIAL section; the same is true for each subsequent test,
including test 05, the last one. Note, however, that only test 05 concludes with
execution of the FINAL section.
- If, in the TestArchitect Execution dialog box, you specify a
non-default test variation (using the Keyword and/or
AUT version boxes), the results of the variation's test run are
uploaded as follows:
- if the variation has been mapped with Quality Center: the results are
uploaded to the correct mapped variation.
- if the variation has not been mapped with Quality Center: the results are
uploaded to the default test.
You can view the execution results in Quality Center from Test Lab's Last Run
Report tab. Click an action on the report to view the detailed steps for
Note: The Actual fields on the Steps
Details frame show the actual argument values, if any, for the selected
action immediately after that action line finishes execution.
A detailed test report is also stored in the Local Results
of the TestArchitect
project, and is available on the TestArchitect explorer tree
- If your test includes action lines occurring before the first test case in the TestArchitect test module (an area commonly referred to as
the INITIAL section of the test module) and you start a test case in
Quality Center, TestArchitect
executes the initial action lines before executing the test case. Typically, such action
lines are used to have TestArchitect start the system
under test, or to initialize some variables.
- Ensure that the TestArchitect
Data folder can write files with UAC enabled.
do this you must run Internet Explorer or Quality Center Explorer
using the Run as administrator option.