I have 1 to 10 action are there, i want action1 output
becomes to action 10 input? pls any can give script for
this scenario?
Answers were Sorted based on User's Feedback
Answer / pankajb
It's Very Simple
Just, get the output value store in the data table with
appropriate column name.
And when using it in another action just give the name of
the sheet and then name of the column where that output
value is stored.
pankaj_behl@hotmail.com
Is This Answer Correct ? | 4 Yes | 0 No |
Answer / pratap
We Can Use Environment Parameters to over come this
problem ,,
Ex : Environment("Name")="Pratap"
Think pratap is output of first action . If you declare
it as environment parameter you can use in any action.
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / karunakar
Example:
Inpt1=RunAction Action1(OneIteration), here we get the
output of Action1 into Inpt1 and the same is used as
parameter for Action10.
RunAction Action10(OneIteration,Inpt1)
Is This Answer Correct ? | 1 Yes | 2 No |
Answer / christopher thirumaran
All above ans are wrong.
We need to create Action-Parameter for both Actions.
For eg.
in Action1_Properties:(Input-Parameter: InputName, Type)
'Assigning the InputName value to the Variable
in Action1_Script: Action1_Param=Parameter("InputName")
in Action10 properties (Output-Parameter: OutPutName,
Type)
THEN
RunAction "Action1", OneIteration
RunAction "Action10", OneIteration, OutPutName
Tats all.
Is This Answer Correct ? | 0 Yes | 1 No |
How to use custom checkpoints in QuickTest Professional?
Suggest and Define a solution for an application whose objects are not recognized by UFT?
can we enable smart identification for test object
what to do if application have 3 "ok" button with same logical name and same properties, how qtp can identify them.
in a web page How to check and display a particular word from a paragraph?
any one could you explain the following code with example: intFieldItemsCnt =CInt(GetProperty(Browser ("Browsername").Page("Pagename").Weblist ("weblistname"),"items count")) msgbox intFieldItemsCnt
Hi everybody, Can anybody tell me that how the QTP frameworks are implemented . I wanted to know with examples . Thanks in advance
What is the difference between wait and synchronization point?
Which Databases supports for QTP?
how to get the data from a winedit box in vb scripting and store it in a variable if data contains "_"(i.e data is TEST_1)
what are pretesting activities
How the QTP recognize, handle n reports that a error has been handled by it(QTP) when we perform a recovery scenario in our application n in what manner it will display it in resulting window? Plz help me out.