Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


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

Explain about reusable actions?

3 Answers   IBM,


How to test results for qtp ?

0 Answers  


How to get data from excel sheet to the script? write the script.

6 Answers   Ever, Liquid Hub,


hai there..this is chandu..i have a txt file which containing 1000 lines but at a time i want to retrieve 50 lines..after 50 lines i required to retrieve 51-100..like that i want...so could anybody help me in this...thanks in Advance..

3 Answers  


How would you directly trigger javascript in a test?

0 Answers   eBay,






What is the Automation Process followed in your company?

1 Answers  


Other than using import sheet statement for importing the data from excel sheet, is there any other method that can be used?

2 Answers  


How is a Step generator used in UFT?

0 Answers  


Can any body explain me how to prepare QTP frame work with an example?? alexander.gdk@gmail.com

1 Answers  


I want to open a Notepad window without recording a test and I do not want to use SystemUtil.Run command as well How do I do this?

12 Answers  


How to findout the number of spaces with in STRING For Ex : STRING is " RAJ IS A SOFTWARE ENGINEER " Please send me the answer

3 Answers  


How to retrieve the property of an object in QTP?

5 Answers  






Categories