Sunday 24 November 2013

How to create output value in QTP?

Output value is used to store the data generated by application while execution is going on for later use.
For example - Suppose after you place the order, order id is generated. So you can store this order id in output value so that you can use this value for later use ..say to fax the order

To add the output value you have right click on the statement after which you want to add output value.
Once you right click you will find the output value properties window like the one below.


You can check the property values that you want to store in the output value. You can also specify where you want to store the values (datatable or environment)

Browser("Google").Page("Google").WebEdit("q").Set "salunke"

Browser("Google").Page("Google").WebEdit("q").Output CheckPoint("q")

Browser("Google").Page("Google").WebButton("Google Search").Click




When You execute the script, in results you can find the output values.

Please give your inputs, suggestions, feedback to Us about above QTP topic. We value your thoughts.

No comments:

Post a Comment

Please Leave your reply. We value your feedback and inputs

Best QTP Books

Everything About QTP

Hello Friends,
You can find QTP study material, Multiple choice questions (mcq), QTP question bank, QTP question papers, QTP notes, QTP questionnaire, scenario based QTP interview questions, QTP tutorial and QTP training on this site.

If you are a fresher or experienced QTP professional with (1/2/3/4) years of experience, this blog is just for you.