Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Passing built-in variable to HP Unified Functional Testing (UFT) Adapter

I configured HP Unified Functional Testing (UFT) Adapter with CLM 6.0.1. But while creating scripts when i select type HP QTP 11.x i am not able to see Execution Variable section in left side pane. How can i pass built in variable?

0 votes



One answer

Permanent link

We cannot pass execution variable at test script level for HP QTP/UFT type test script in RQM. But we can

pass the execution variable to RQM QTP/UFT Adapter at test case level.

Please follow the below steps:

1.     1. Create test script of type HP QTP Professional 11.x  and add it to the test case

Clic2. Click on Execution Variable option in left pane of Test Case window

3.     3. Execution Variable Window will open, now click on Create Execution Variable button

4.     4. Create execution variable window will open, Add the variable name with the prefix

env_  (Example:env_<nameOfVariable>) with same name as defined in QTP/UFT script in Name textbox,

5.     5. Insert the value of variable in value textbox

6.     6. Save test case


As built_in variables are type of environment variable in QTP/UFT, we can pass them as well, but we cannot modify built_in variables using execution variables.

We can only modify or initiate User Defined environment variables using RQM execution variable.

0 votes

Comments

you meant that if i need RQM_TESTCASE_WEBID in my UFT script, i have to pass the value manually at test case level by user defined variable?

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 6,124

Question asked: Mar 03 '16, 9:57 a.m.

Question was seen: 3,658 times

Last updated: Mar 07 '16, 7:27 a.m.

Confirmation Cancel Confirm