Parameterizing Tests in QTP











Sponsored Links:

Substituting the parameters values set in QuickTest lets you expand the scope of a basic check. It is known as parameterization, greatly increases the power and flexibility of a check. A parameter is a variable that is assigned a value of an external information source or generator. The values in steps and checkpoints and also the values of the parameters of action can be parameterized. Parameters they will check how the application performs the same operations with multiple sets of information.There's three types of parameters:Check parameters of the action: the check parameters that let us use past values of the check. Action parameters let us pass values for other actions in your check. To use a value within a specific action, the value must be transmitted through the hierarchy of the action of proof necessary action. They can use the parameter to parameterize a step in the check. For example, suppose they require to parameterize a step in Action 3 with a value passed on the proof of the external application that runs (calls) of the check. They pass the value of the check level for Action 1 (at the top level action) to Action 3 (nested Action1 action) and then parameterize the step necessary by this action the input parameter value (which passed through the external application). Alternatively, you can pass a value output action parameters of a step of action to a later action of siblings in the same hierarchical level. For example, suppose that Action 2, Action 3, and are brothers Action4 actions in the same hierarchical level, and these are all actions Action 1 nested. You can parameterize a call to Action4 on the basis of an output value Retrieved from Action 2 and Action 3. They use these parameters in the action stage.Environment variable parameters lets us use variable values from other sources during the implementation period. These values can be any offer, or values that QuickTest generates for us on the basis of conditions and options you select.Parameters of the information table will let us generate a database check (or action) that runs several times using the information you supply. In each repetition, or iteration, QuickTest uses a different value of the information table.Random number parameters enable us to insert random numbers as check values.The values in steps and checkpoints can be parameterized while recording or editing the check.The values of the operation (technique or function arguments) defined for the step can also be parameterized.The values of the properties of objects can be parameters for a chosen way.When the value of a parameterized object property to a local object, they change the description of the check object in the local object repository. So, are parameters of all occurrences of the object specified in the action.
The parameterization of the value of a checkpoint property enables us to see how an application or a Website performs the same operation on different database.

No comments: