Unified Functional Testing Practitioners Forum

Share parameter among QTP tests?

Go to solution
Acclaimed Contributor

Share parameter among QTP tests?



I know we can share parameters between actions in the same test by putting them in Global data table.

Is there a way to share data / parameters between tests in QTP? SO, If I run a batch of tests, and all the tests use a parameter, I want to change the value in one location and not in Global data table of each test.


Thanks in advance.

HPE Expert

Re: Share parameter among QTP tests?

Hello ,


Please check  "User defined external Environment variables" where any test can read variable created and stored in an external XML file.

QTP user guide has details on this.


Also , there is a KB article by HP which talks about sharing data between tests. Here is the link for it :



You will need a HP passport sign-in credentials to view the content.


Regards ,

HP support 


If you haven’t tried it yet, come and join us in our entitled forums at :


HP support Engineers will be available to answer queries.

[If this post or any other post helps to resolve your issue or query, mark the thread as solved and give KUDOS to the author for their assistance. ]

( Posts and opinions made here are my own and do not reflect the opinions of my employer HPE in any way . )
Acclaimed Contributor

Re: Share parameter among QTP tests?

Thank you! That's exactly what I was looking for.

//Add this to "OnDomLoad" event