How can I pass values from one action to another in QTP ?

Answers were Sorted based on User's Feedback



How can I pass values from one action to another in QTP ?..

Answer / 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

How can I pass values from one action to another in QTP ?..

Answer / deepa

Through action input parameter

Is This Answer Correct ?    9 Yes 2 No

How can I pass values from one action to another in QTP ?..

Answer / sanju_gdk

using parameter u can pass the values with out using action
finction

action1
Parameter("variable")= outputvalue

action2
x=parameter("Variable")

Is This Answer Correct ?    9 Yes 3 No

How can I pass values from one action to another in QTP ?..

Answer / preeti

Data can be passed from one action to another using the
various techniques like:
1. Global Data Table.
2. Dictionary Object.
3. Environment variables.

Is This Answer Correct ?    8 Yes 3 No

How can I pass values from one action to another in QTP ?..

Answer / kcn

U can use define a variable as Enviornmental Variable and
use the same varible in different actions.

Is This Answer Correct ?    4 Yes 3 No

How can I pass values from one action to another in QTP ?..

Answer / hanumanth

u can pass the value from one action to another by

Environmet variable
input and output parametrs
output value

Is This Answer Correct ?    2 Yes 4 No

How can I pass values from one action to another in QTP ?..

Answer / raju

Through input & out put parameterzation......

I thkink If it is wrong pls let me know

09823257761

Is This Answer Correct ?    4 Yes 8 No

How can I pass values from one action to another in QTP ?..

Answer / turtlerock

Can we pass object as input parameter using the above
methods.

Is This Answer Correct ?    1 Yes 6 No

Post New Answer

More QTP Interview Questions

what is frame work?

2 Answers   Wipro,


What are the Features & Benefits of Quick Test Pro ?

1 Answers   Crea,


where did you automate in your project?(please tell me example senarios)

2 Answers  


Hi my name is mohan. I am working as a manual tester.. And now i want learn QTP.. is there any online websites to learn QTP for free if u know any plz help me out..,.or send mail to k.mohann.mohan@gmail.com

3 Answers   Wipro,


w is fragmentation and paging

1 Answers   MBT,






how qtp will recognise if application is run on many browsers

1 Answers   Cap Gemini,


Waht is User interface and Integration Testing?

1 Answers  


Do we get any issues if we run the testscript on different browsers? what are the options we need to st in QTP?

2 Answers   BirlaSoft,


Explain how Does Run time data (Parameterization) is handled in QTP?

0 Answers  


how to validate email?email ie correct or not ?with below conditions. 1)before @(symbol) only alphbates and min 4 char to max 15 chars. 2)before @(symbol) only alphabates dont use ant special chars or numarics 3) after @(symbol) only one dot(.)symbol for ex:abc@gmail.com it is valid email or not based above conditons

2 Answers   Aspire,


Write VB script to test given number is Prime Number

5 Answers   Oracle,


what is the difference between development and testing

1 Answers  


Categories