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

This is Ajay i have few douts if anybody know pls give me reply. 1. i have opend 2 gmails i am working with 1 gmail i want to close other gmail by usig script. 2.i have 10 links in a page all of them have same properties& names i want to click on 5link by using script. 3.i have one combobox in that i want to see all the citynames in the combobox and i have to check weather hyderabad is present or not. 4. size of objectrepository. 5.what r problems we get during writing the script. 6.is it possible to compare to excel sheets in qtp if possible wht is the script. 7.example for lowlevelrecording

3 Answers   Symantic Space,


Plze let me know how you can validate in the QTP that printed documents is correctly printed or not ie how we can do the validation that all the records or text are printed successfully in the printed document as per the application format requuired.

4 Answers   MBT,


Can we set a timeout for the msgbox.I want the msgbox to disappear after 2 seconds during the script execution without clicking on the OK button manually.

6 Answers  


how to get the particular chr in an array list the question is ....i have an array like this ABCD EBCF GBCH IBCJ HERE I NET TO GET ONLY "BC" FROM ALL HOW TO GET IT HELP ME ANY ONE THANKS

6 Answers   Cap Gemini,


what is descriptive programming in QTP? How can be done?

19 Answers   Accenture,






What is the difference between functional spec. and Business requirement specification?

5 Answers  


If already everything is tested using White-Box testing, then what is the need of using Black box testing?

3 Answers  


What is the difference in testing a client-server application and a web application?

0 Answers  


what is the Command used to start the QTp from Run.(start-> Run)

7 Answers   GE,


In QTP, If you have list of checkboxes, how can i select a particular checkbox and delete if the checkboxes are changing dynamically?

0 Answers  


Can u call winRunner scripts from QTP?

4 Answers  


can anyone answer this question ........in the DICTIONARY OBJECT....i created the dictionary object in reserved object ok....here i have some sets of values ...now i want to retrieve the item i done too ok.......here my question is now i saved the test and close the qtp tool ,again i opened now i retrieve the same item in the dictionary is it possible ????. friends when i try to do this i am getting empty message box i mean no value will be retrieved ......ans me any one plz...

1 Answers   FSS,


Categories