How can I pass values from one action to another in QTP ?
Answer Posted / riju
Define a parameter variable in the action(eg: Action2) to
which the value is to be passed into.(that can be done by
right cliking on that particular action --> Action -->
Action Properties --> Parameter(tab) --> '+' button on input
parameters and give the parameter name(eg: i)
and in the code, ie. in Action1
i = 10
RunAction "Action2", oneIteration,i
and in Action2
b = Parameter("i")
msgbox b
Is This Answer Correct ? | 19 Yes | 3 No |
Post New Answer View All Answers
What is the new version of qtp which is recently released in the market?
is there any addin for remedy user application
Explain features of the latest version of qtp/ uft 12.1?
How can we extract data like "Details","Result","Time" from the 'Run Error' result generated in QTP after run time errors are generated during a run & import the details etc...into excel sheet
How to read a text file from QC using QTP. I would like to do something like this. But instead read a file from QC and NOT from my local drive. Set fso = CreateObject("Scripting.FileSystemObject") Set InputFile = fso.OpenTextFile("C:\test.txt", ForReading) Thanks
how to do the batch testing in test director using manual testing procedure?
Explain the concept of object repository and how qtp recognises objects?
how to find that a file has been completely downloaded or not? I told that "download Complete" pop up. but he told the tool doesn't recognize the pop up
What is the difference between a Function and Procedure in QTP?
Explain calling sub procedure.
Hi we are using QTP9.0 for Seibel Application and this seibel application will give you a popup messagebox which is of web , so qtp takes 3 mins to recognize the messagebox and to click on it , we have more number of messageboxes like this . please suggest me some solution
Dear All, How to generate Pass or Fail Report in QTP without using Reporter.Report Event Method ? Thanks Balaji
How you know that a test case is a regression test case
What is the syntax to call one script from another? And what can be the syntax to call one “action” in another?
How does quicktest professional (qtp) identifies the object in the application?