0% found this document useful (0 votes)
105 views

Using QC Run-Time Parameters For QTP Tests

This document provides a step-by-step process for passing run-time parameters from Quality Center to QuickTest Professional tests. It describes setting test parameters in QTP, linking them to action parameters, and populating the parameter values in Quality Center to execute tests with different input data.

Uploaded by

ksenthil77
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
105 views

Using QC Run-Time Parameters For QTP Tests

This document provides a step-by-step process for passing run-time parameters from Quality Center to QuickTest Professional tests. It describes setting test parameters in QTP, linking them to action parameters, and populating the parameter values in Quality Center to execute tests with different input data.

Uploaded by

ksenthil77
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

Using Quality Center Run-Time parameters for QTP tests Step by Step procedure for QC 9.2, QTP 9.

QuickTest Pro (QTP)


1. Open/create the test 2. In top menu click File Settings 3. Click on + to add Test parameter(s) in Test Settings window

4. 5. 6. 7. 8. 9.

Close Test Settings window Switch to Keyword view Right click on the Action you want to pass data to Select Action Properties from the menu Click on Parameters tab in Action Properties menu Add Action input parameters

10. Click OK 11. Now well tie test parameters and action parameters by selecting Test Flow item from Dropdown menu

12. Right click on Desired action

13. Select Action Call Properties from the menu

14. Action Call Properties will appear 15. Select Parameter Values tab 16. Click Value field for the first parameter 17. Click on <#> button on the right side of Value field

18. Select Parameter radio button 19. Select the Test parameter from Parameter dropdown list 20. Click OK

21. Repeat the steps above for all parameters

22. Create the code in the Action to use parameters

Quality Center (QC)


1. 2. 3. 4. 5. In QC Test Lab right-click on a test In a menu select Test Instance Properties item Click on Configuration icon in Test Instance Properties window Select Automated tab Populate values for Input parameters

6. Execute the test (in this example we will print run-time parameter values to the QTP debug window)

You might also like