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 |
Can anyone tell me what is the equivalant method to be used in QTP for "web_obj_get_text" used in winrunner. My winrunner code is below. set_window("Confirm Add Subscriber"); rc = web_obj_get_text("Add subscriber:","#8","#1",orderID,"The order number is","\.",1); basically I need to retrieved the "orderID " from a string present in 8th row & 1st col of table "Add subscriber"
How many ways to configure the application in QTP,Explain
How many types of Test Plans are there...??
how can we retrieve ten rows from the data table using loop concept?
While scripting do we use any reference. may be we have 2 0r more same objects that time how do we write scripts
After running scripts how you report results ,there is any specific report form
request to add whatsapp grp for test engineer
I want to test my vb.net solution file using qtp. Does Qtp test only .exe file?
How many types of trigger events are there in qtp?
What are Add-ins availble in licensed version QTP8.2
how do you invoke the application through QTP?
what is batch run ?