ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   HERE
Google
 
Categories  >>  Software  >>  Testing  >>  Automation Testing  >>  QTP
 
 


 

 
 WinRunner interview questions  WinRunner Interview Questions
 Load Runner interview questions  Load Runner Interview Questions
 QTP interview questions  QTP Interview Questions
 Test Director interview questions  Test Director Interview Questions
 Rational TestSuite interview questions  Rational TestSuite Interview Questions
 Silk Test interview questions  Silk Test Interview Questions
 Automation Testing AllOther interview questions  Automation Testing AllOther Interview Questions
Question
Hi let me ask one questin

1.How to use outputof the one function input to the another
function 
pls give the script for above


2.what is the purpose of action parameter , how to create it
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Hi let me ask one questin 1.How to use outputof the one function input to the another function pls give the script for above 2.what is the purpose of action parameter , how to create it
Answer
# 1
Action Parameters can be created in this way:-


Right-Click on Action in Keyword View
Click on Action Properties
Select Parameters Tab

***********Action input parameters*********
Click on "+" and add  the input Variables with their 
respective datatype and their Values

***********Action output parameters*********
Click on "+" and add  the output Variables(o/p Var name)  
with their respective datatype
Note- Here there is no Default Value tab 

++++++++++++++++++++++++++++++++++
Once you have created Action Output Parameters
write in the Expert View of the same action
Parameter("o/p Var name")="pass"(you can give any values)

************
and then yopucan call this action in any other actions 
within same or different test
 
Is This Answer Correct ?    1 Yes 1 No
Sup
 
  Re: Hi let me ask one questin 1.How to use outputof the one function input to the another function pls give the script for above 2.what is the purpose of action parameter , how to create it
Answer
# 2
Passing the parameters from one action to another. Here is 
an example.
'Action1 script
dim var
var=Parameter("t")   'Input parameter
msgbox(var)

Parameter("a")=89    'Output parameter

Create anothere action action2
RunAction "Action1",oneiteration,"20",x
Msgbox(x)  'First action output parameter comes to action2 
automatically

Exit run
 
Is This Answer Correct ?    0 Yes 0 No
Dimple
 
 
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
If there r 1000 test scripts that were written. If a change to any functionality is to be made then how can we know in which script is this functionality existing. iGate2
what is the object properties settings in the QTP DigiTech4
types of output value in details.  3
how can i add an action(external action) programmatically? Ordain-Solutions2
What is the need and applications of learning VB script for a automation(QTP) engineer ain Realtime ?  1
How do u write regular expression for a window name which is changing for each build ? i.e. in first build the window name is : "computer graphics are very ...." . in second build the window name is : "computer graphics can be created" . - Appreciate proper replies Semantic-Space4
how to calculate no. of repeating characters in a a string..please give me the code  1
How to map Test cases to the script? Please do anwser urgently?Thanks  3
Can you tell me any books or websites to learn VB Script for QTP ??  1
Explain the concept of object repository & how QTP recognises objects?  1
Does QTP support Linux Red Hat? Does QTP support Flash?  3
How we can capture the dynamic object ex:(rotating globe) in the web page with time gaph is 5 sec.. IBM2
Could any one explain about the nested actions in QTP? This question is asked by Qualitree and CA CA3
what is option explicit?  5
Which object repository we use in real time and can we merge 2 object repostiory and how? HCL6
When we parameterise some field ex. Textbox is there any way that we can generate a specefic number of random values (For alphabetical values if possible) instead of manually entering values in the data table  2
Can you tell me the differences between writing the VB script manually for a application and recording the same application in QTP , with a example?  1
Will QTP gets installed on virtual PC.What is the maintenance number to be given  1
While recording a login window QTP is identifying only parent window,then how can u identify the child objects. Symphony2
waht is puirpose of accesbility Check point? waht is the use of Page and XML check points?  1
 
For more QTP Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com