how to pass parameters from one action to another using
output parameters
I am not calling action 2 from action 1, they are being
called individually
I need syntax please ..
Requirement:
Action 1
customer = Browser(" ").Page(" ").Link("
").GetROProperty("value")
I want to use the value stored in customer in Action 2
I do not want to use any of these actions as re-usable actions
Answers were Sorted based on User's Feedback
Answer / rajesh
you can always pass values from called script to the driver
script and vice versa
| Is This Answer Correct ? | 5 Yes | 1 No |
Answer / hussain
using parameter u can pass the values with out using action
finction
action1
Parameter("variable")= outputvalue
action2
x=parameter("Variable")
Like that u can try
| Is This Answer Correct ? | 6 Yes | 4 No |
What is the real use of different actions in QTP
Can you tell me the differences between writing the VB script manually for a application and recording the same application in QTP , with a example?
explain qtp framework by taking an example?
How do we call Library Files(.vbs) in the Test Script Thanks in Advance...
how to load the *.vbs (or) test generating script in a new machine?
in real time when we are creating the script by default it is going to save in action object repository or not any way my question is in one of my interviewer said that in real time the default object repository is action object repository and by using quick test plus they are going to merge is it correct i said that by selecting the object repository as shared one in selecting the test>>settings>>resources but she is not convinced what is the correct one
how to capture data from images in QTP and produce them in excel sheet?
How to write test cases for web applications using QTP.plz write a sample test case to show how to write.urgently needed.thanks in advance..
By default Action1 runs first in QTP. Is it possible to start the run with Action2?
I recorded a Web App with a Oracle backend using QTP 9.5 and for some reason the scripts don't play back> What am I missing at this point. I recorded the same Apps under Sybase and they work great. This is Oracle 10g. Why won't my scripts play back.
What is qtpro? What is quick test pro? What is a quick test professional?
i am trying to automate yatra.com,in that site, when i go to automate the Leaving from field showing as a WEBEDIT, but when i enter 1 or 2 char, it displaying dropdownlist, i try to use keyboard automation to select the item from that list but it is not possible, can anybody help he. Thans for posting the Answer