Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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 are the details steps to connect a remote mysql database in QTP

1 Answers   Verizon,


what is file database

1 Answers   Wipro,


When we r doing data driven test with chkpts, i want to insert formulae in data sheet but i didn't get. How we wil do that plz. explain in detail.

0 Answers  


What is object spy in quicktest professional (qtp)?

0 Answers  


What type of error u will get if u have not installed java add in in java project? what is the error name ?

1 Answers   Verizon,


How u send bugs to dev'lpment team all at once or one by one or waht is the process?

2 Answers   kenexa,


whenever U using QTP,Test Director, Why we using separate Bug tracking tool?

1 Answers  


While writing script using For Next Statement in QTP, I try defining the variable in Lib File I am getting syntax error whereas if I use the variable in script file, the script works fine. Can anyone help me in finding the reason behind this?. E:g Dim intStartRow (Define in Lib File----- say abc.vbs) Dim intRow (If I define this variable in Lib file I am getting Syntax error where as if I define in the script file ---- say xyz.mts the script works fine) IntStartRow=2 For intRow = intStartRow to xlWrksht.UsedRange.Rows.Count ‘Some Code here Next

1 Answers  


Can we run multiple QTP scripts one after the other without manual intervention? How?

0 Answers  


what is Unicode Compatibility ? HOw does this makes a diffrence from Winrunner.?

2 Answers  


How would you export a script from one pc to another in qtp?

0 Answers  


Write test cases for copy and past password in password field ?

0 Answers  


Categories