Micro Focus QTP (UFT) Forums
Parameterization Question - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Interview Questions (https://www.learnqtp.com/forums/Forum-UFT-QTP-Interview-Questions)
+--- Thread: Parameterization Question (/Thread-Parameterization-Question)



Parameterization Question - Big Slow Joe - 05-07-2009

Can you explain the difference between parameters under the File->Settings->Parameters Tab vs. the Edit->Action->Action Properties->Parameters Tab?


RE: Parameterization Question - shrisivakami - 11-25-2009

Test-Settings-parameters tab allows u to give input/output parameters for the entire test.As you know test may contaion N number of actions.

Action-Settings-Parameters tab allows you to gv input/output parameters for that particular action

-Sivakami


RE: Parameterization Question - Jyobtech - 11-25-2009

Hi,
Edit->Action->Action Properties->Parameters Tab , we can use for Test
and component
File->Settings->Parameters Tab, we can use for scripted component


RE: Parameterization Question - sreekanth chilam - 11-25-2009

Hi,

Test Parameters:
We use the Parameters tab of the Test Settings dialog box (File -> Settings->Parameters) to define input parameters that pass values into your test and output parameters that pass values from your test to external sources.

Accessing Test Parameters programmatically:
Code:
x=TestArgs("ParameterName")

Action Parameters:
Action parameters enable you to transfer input values from your test to a top-level action, from a parent action to a nested action, or from an action to a sibling action that occurs later in the test. Action parameters also enable you to transfer output values from a step in an action to its parent action, or from a top-level action back to the script or application that ran (called) your test.
For example, you can output a value from a step in a nested action and store it in an output action parameter, and then use that value as input in a later step in the calling parent action.

Accessing Action Parameters programmatically:
Code:
x=Parameter("ParameterName")



RE: Parameterization Question - basanth27 - 11-26-2009

An Example of how good you can explain the query. A detailed explanation not only helps the questioner but also to the responder to keep up with his detailed & articulate explanation.

@Sreekanth - Good one !!! Keep these coming.


RE: Parameterization Question - sreekanth chilam - 11-26-2009

Thank you Basanth Smile


RE: Parameterization Question - venkatbatchu - 11-29-2009

Awesome Srrekanth,
Great Explanation...Keepup yar...