How to retrieve Parameters defined in Automated Tab using QC OTA?
Question ID: 106800
0
0

How to retrieve Parameters defined in Automated Tab using QC OTA?

1. Open a Test case in UFT and create Input parameters at Test level. These will be reflected in Test plan.
2. Go to Test Plan, Select the Test case in the corresponding Test set as highlighted below.
3. Go to Execution Settings and Select "Automated" Tab, which will list all the input parameters defined at step 1.

Question:
How can we retrieve Parameters available in Automated Tab using QC OTA similar to ParameterValueFactory (used to retrieve values from parameter Tab)?

Marked as spam
Posted by (Questions: 98, Answers: 0)
Asked on April 27, 2016 4:08 pm
136 views
Answers (2)
0
Private answer

To get the values in UFT:

msgbox qcutil.CurrentTestSetTest.ExecutionParams

NOTE: we have seen that you may have to perform a qcutil.CurrentTestSetTest.refresh() before and/or after the above code in order to retrieve the value

To Update the values:

qcutil.CurrentTestSetTest.AutoPost=true
qcutil.CurrentTestSetTest.ExecutionParams = NewALMParams
print qcutil.CurrentTestSetTest.ExecutionParams
qcutil.CurrentTestSetTest.post()
qcutil.CurrentTestSetTest.refresh()

Marked as spam
Posted by (Questions: 0, Answers: 364)
Answered on April 27, 2016 4:10 pm
0
Private answer

When we pass the updated xml string to qcutil.CurrentTestSetTest.ExecutionParams getting syntax error. Can you give an example of how to pass the updated xml string back to alm

Marked as spam
Posted by (Questions: 1, Answers: 1)
Answered on January 14, 2021 12:52 pm
EyeOnTesting

Welcome back to "EyeOnTesting" brought to you by Orasi Software, Inc.

X
Scroll to Top