Saturday, April 18, 2009

Parameterization & Types of Parameters in QTP

Hi All,
I hope while learning/working on QTP you might have heard about the term "Parameterization".

"Parameterization" : Its a process of passing multiple values(test data/Input Data) for a constant value(Hard Coded) inorder to retest certain functionality/feature.

Data Driven Testing(Retesting) can be done using the Parameterization.

There are 4 types of parameters:
1) Test/action parameters
2) Data Table parameters
3) Environment variable parameters
4) Random number parameters


Test/action parameters :
Test parameters enable you to use values passed from your test. Action parameters enable you to pass values from other actions in your test.
To use a value within a specific action, you must pass the value down through the action hierarchy of your test to the required action. You can then use that parameter value to parameterize a step in your test. For example, suppose that Action3 is a nested action of Action1 (a top-level action), and you want to parameterize a step in Action3 using a value that is passed into your test from the external application that runs (calls) the test. You can pass the value from the test level to Action1, then to Action3, and then parameterize the required step using this action input parameter value (that was passed through from the external application).
Alternatively, you can pass an output action parameter value from an action step to a later sibling action at the same hierarchical level. For example, suppose that Action2, Action3, and Action4 are sibling actions at the same hierarchical level, and that these are all nested actions of Action1. You can parameterize a call to Action4 based on an output value retrieved from Action2 or Action3. You can then use these parameters in your action step.


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, QuickTest uses a different value from the Data Table.
For example, suppose your application includes a feature that enables users to search for contact information from a membership database. When the user enters a member's name, the member's contact information is displayed, together with a button labelled View 's Picture, where is the name of the member. You can parameterize the name property of the button using a list of values so that during each iteration of the run session, QuickTest can identify the different picture buttons.


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 QuickTest generates for you based on conditions and options you choose.
For example, you can have QuickTest read all the values for filling in a Web form from an external file, or you can use one of QuickTest's built-in environment variables to insert current information about the computer running the test.

Random number parameters:
Enable you to insert random numbers as values in your test. For example, to check how your application handles small and large ticket orders, you can have QuickTest generate a random number and insert it in a number of tickets edit box.

25 comments:

  1. This comment has been removed by the author.

    ReplyDelete
  2. Awesome blog. I got impressed really. Just can’t imagine your tech. Your notice point is very clear and can be short little more. I need the elaborated story of your mentioning.

    Java training in Chennai | Android training in chennai | IOS training in chennai

    ReplyDelete
  3. I have read your blog and i got a very useful and knowledgeable information from your blog. its really a very nice article.You have done a great job .

    Regards......

    Best Institute for Cloud Computing in Chennai

    ReplyDelete
  4. I am reading your post from the beginning, it was so interesting to read & I feel thanks to you for posting such a good blog, keep updates regularly.
    Regards,
    Salesforce training institute in Chennai|Salesforce training

    ReplyDelete
  5. Thank you For tutorials on Testing and the also the other tutorials on Blog are Awosme, It will be Most Usefull For Fresher and Students

    QTP Online Training | Advanced QTP Online Training | Automation Testing Online Training | HP QTP Online Training

    ReplyDelete
  6. This information is impressive..I am inspired with your post writing style & how continuously you describe this topic. After reading your post, thanks for taking the time to discuss this, I feel happy about it and I love learning more about this topic..
    Oracle Apps DBA Training In Chennai

    ReplyDelete
  7. Testing is the only way to deliver reliable products in the Information Technology market(Software testing training in chennai). Articles like this are vital in improvising one's ability as a software testing professional(Software testing training). Thank you so much for sharing this information in here(Software testing training chennai). Keep blogging.

    ReplyDelete
  8. This post is really nice and informative. The explanation given is really comprehensive and informative..
    SAS Training In Chennai

    ReplyDelete
  9. Thank you for taking the time to provide us with your valuable information. We strive to provide our candidates with excellent care and we take your comments to heart.As always, we appreciate your confidence and trust in us.
    ... Selenium Training in chennai

    ReplyDelete
  10. Thank you for taking the time to provide us with your valuable information. We strive to provide our candidates with excellent care and we take your comments to heart.As always, we appreciate your confidence and trust in us.
    ... iOS Training in chennai

    ReplyDelete
  11. Great post,

    This information is impressive..I am inspired with your post writing style & how continuously you describe this topic. After reading your post,thanks for taking the time to discuss this, I feel happy about it and I love learning more about this topic..

    Java Training in Chennai

    ReplyDelete
  12. Amazing..Its very good article on QTP. This content creates a new knowledge to me. Thanks for sharing article like this. The way you have stated everything above is quite awesome. Keep blogging like this
    Android Training in Chennai

    ReplyDelete
  13. Wonderful information.It is used how to handle this parameters.This QTP is amazing.It is veery helpful for me.
    Java j2ee Training in Chennai

    ReplyDelete
  14. Parameterization & Types of Parameters in QTP are explained clearly in this blog.This blog gives you a clear understaning of process. thanks for this explanation.

    Informatica Training in Chennai

    ReplyDelete
  15. This blog is good and nice , informative too, thanks for sharing this concept.

    dot net training in chennai

    ReplyDelete
  16. Amazing..Its very good article on QTP. This content creates a new knowledge to me. Thanks for sharing article like this. The way you have stated everything above is quite awesome. Keep blogging like this..
    Linux training in chennai

    ReplyDelete
  17. This blog explains the details of the parameterization and explains the different types of parameters in QTP. Thanks for this blog. This helps to learn more about qtp.
    VMWare Workstation Training in Chennai

    ReplyDelete
  18. It is awesome information with best knowledgeable contents.Provides the best tips for our clarification.thanks for sharing.

    salesforce
    training in chennai


    ReplyDelete

  19. Superb i really enjoyed very much with this article here. Really its a amazing article i had ever read. I hope it will help a lot for all. Thank you so much for this amazing posts and please keep update like this excellent article.



    Peridot Systems Chennai Contact Address

    ReplyDelete
  20. Thanks for sharing this informative content that guided me to know the details about the training offered in different technology.
    digital marketing course in chennai | digital marketing training

    ReplyDelete
  21. parameterization types of parameters nice posts..
    Big data training .All the basic and get the full knowledge of hadoop.
    Big data training

    ReplyDelete
  22. Really Thanks For Sharing Such an Useful Information...

    Vizag Real Estate

    ReplyDelete

  23. Excellent blog. Lots of useful information here, thanks for your effort!
    Real Estate Plots in Vizag

    ReplyDelete