Quality Testing

Quality is delighting customers

what is parameterization in QTP and Types

Views: 2136

Reply to This

Replies to This Discussion

Cant this be googled ?
It refers to a particular set of parameters for describing a system.

QuickTest Interface enables you to expand the scope of a basic test or component by
replacing fixed values with parameters. This process is known as parameterization.

In computing, parameters are often called arguments.

In C Programming

double vat(double price)
{
return 0.05 * price;
}

It can be invoked as follows:

vat(10.00)

Here vat has one parameter ie.price is a parameter..

In QTP
Eg. If Textbox1 contains value =5 you can make it 6 through parameterization technique.
In the above context parameters will be your desired value.
Thank You!
How many ways we can parameterize data in QTP?

There are four types of parameters:
1.Test, action or component parameters.
2.Data Table parameters.
3.Environment variable parameters.
4.Random number parameters.

How is Run time data (Parameterization) is handled in QTP?

You can then enter test data into the Data Table, an integrated spreadsheet with the full functionality of Excel, to manipulate data sets and create multiple test iterations, without programming, to expand test case coverage. Data can be typed in or imported from databases, spreadsheets, or text files.

What is Parameterizing Tests?

When you test your application, you may want to check how it performs the same operations with multiple sets of data. For example, suppose you want to check how your application responds to ten separate sets of data. You could record ten separate tests, each with its own set of data. Alternatively, you can create a parameterized test that runs ten times: each time the test runs, it uses a different set of data.


How many ways we can parameterize data in QTP?

There are four types of parameters: Test, action or component parameters enable you to use values passed from your test or component, or values from other actions in your test. Data Table parameters enable you to create a data-driven test (or action) that runs several times using the data you supply. In each repetition, or iteration, Quick Test uses a different value from the Data Table. Environment variable parameters enable you to use variable values from other sources during the run session. These may be values you supply, or values that Quick Test generates for you based on conditions and options you choose. Random number parameters enable you to insert random numbers as values in your test or component. For example, to check how your application handles small and large ticket orders, you can have Quick Test generate a random number and insert it in a number of tickets edit field.

RSS

TTWT Magazine


Advertisement

Advertisement

Advertisement

Advertisement

© 2020   Created by Quality Testing.   Powered by

Badges  |  Report an Issue  |  Terms of Service