Parameterization is used to replace the hard coded recorded values in the code.
How to do parameterization in HP UFT/QTP
1. Record the script and find out the values that you want to parameterize it.
2. Refer below – user login id is intended to parameterize here.
3. Click on View > Keyword View
4. Will bring the below screen and click the value field (marked in green below)
5. should bring below screen
6. Select parameter and give a meaningful name as below
7. click ok
8. now go back to Editor
9. as you see below, original code is updated with parameterization and you could see the script execution window updating the application under test (gmail.com) is updated with the parameterized value.
10. QTP results viewer is updated with parameterized values
qtp results