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                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
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
How do you return a value from a function
 Question Submitted By :: Rajuvem
I also faced this Question!!     Rank Answer Posted By  
 
  Re: How do you return a value from a function
Answer
# 1
msgbox "returned value =" &example

function example()
 a=2
 b=3
 example = a+b
end function.
 
Is This Answer Correct ?    2 Yes 0 No
Prabhakar
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
When I parameterize a script then for each iteration script is executed from begining to end. If I want to execute some middle steps multiple times using Parameterization (avoiding begining and end steps), what is the solution of this (e.g. total steps are 1 2 3 4 5 and i want 2 3 4 only(not 1 nd 5)  1
hi i am new to qtp i need to run all files by a batch what is the procedure and what are following actions to be take? ADP1
Pls answer this: What is the difference between a subroutine and a function? A. A subroutine can call itself; a function cannot B. A function returns a value; a subroutine cannot C. A function can accept arguments; a subroutine cannot. D. A subroutine can call other procedures; a function cannot.  1
In my script there is a link(e.g. 'My Page') when I execute the script sometimes(not every time) QTP throws an error that "My Page(as link)" not found. Pleaase tell me where I need to update  2
How to load a object repository in QTP during runtime? Virtusa1
What are they Advantages and Disadvantages in QTP 9.2? Infotech1
how do u import the test cases written in excel sheet to qtp? and how do u generate the script in qtp for the testcase in excel sheet? plzzzz do answer this question thanks in advance  4
Is it possible to run qtp scripts in Test Director(Scripts are uploaded in Test director)???and also how to see the test results in test director???  1
Does QTP supports Linux or Unix OS?.If so which scripting is preferable? Shell we do record and playback  1
Can we use Virtual Objects in Discriptive Programming? Keane-India-Ltd3
using descriptive programming how to close all opend browsers? Satyam4
how to create user defined functions in QTP? can any one expalin me with example.. Thanks in Advance for help  3
What is the limitation to XML Checkpoints? CTS4
How to use Environment parameterization in QTP? Explain with an example.  1
how to open Excel sheet & write in it & save it? InTech1
Hoe we can export TEST RESUALT IN to XL-sheet? IBM1
can u write one user defined function for webedit class. Cap-Gemini4
What is an Custom Object in QTP ?  1
How u call functions in QTP Lehman-Brothers4
wht is Automation testing frame work. pls explain it Wipro3
 
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