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



I have 1 to 10 action are there, i want action1 output becomes to action 10 input? pls any can giv..

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

I have 1 to 10 action are there, i want action1 output becomes to action 10 input? pls any can giv..

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

I have 1 to 10 action are there, i want action1 output becomes to action 10 input? pls any can giv..

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

I have 1 to 10 action are there, i want action1 output becomes to action 10 input? pls any can giv..

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

I have 1 to 10 action are there, i want action1 output becomes to action 10 input? pls any can giv..

Answer / praveen

THATS WRONG ANSWER

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More QTP Interview Questions

what is difference between calling a function and reusing an action?

1 Answers  


regular expression in qtp standar check point for months from accepting months from january to december only

0 Answers  


How can you capture(Read) the values from a Table?

1 Answers  


can we do load testing , by using QTP......?

1 Answers  


How to send QTP test results to an email...(with out using Quality Center)?

11 Answers  


what is the Descriptive Progarmming? how it is help to testers in QTP?

4 Answers   TCS,


please write a script to find the text in a application. Note: i dont know the location of that text where it is located. just like negative testing.

2 Answers   BSL,


if interviewer asked about the framework used for automation how we will handle the question..means what should be the answer..plz help..which framework u r used in our company?

1 Answers   iGate,


Is QTP supports Unix. If yes, then how the test automation is done?

0 Answers   iFlex,


diff between global variables and environment variables in qtp?

1 Answers   FIS,


How to check bitmap output value?

0 Answers  


How many regression test suits in your appliction?

2 Answers   CTS,


Categories