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                      
tip   SiteMap shows list of All Categories in this site.
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
 
how to get childobject from .net application. i tried but its showing child object count zero. but window has child objects.the following script i written... pls help me how to get. set parent=SwfWindow("winodw name") CheckObjectDescription parent, SwfButton Public Function CheckObjectDescription(parent, oDesc) Set oDesc = Description.Create() oDesc("micClass:").Value ="Swfbutton" Set children = parent.ChildObjects(oDesc) cntObj=children.count msgbox(cntObj) End function  1
what are the difference ways of parameterising?  1
In real time ,How to run all scripts in QTP? i,e in projects  1
How exactly you start scripting in QTP? In the interview he was not satisfied with my answer.Please post what is correct answer.  5
wht is Automation testing frame work. pls explain it Wipro3
-->IF two TextBOxes are there in a "Form". -->A table contains some records which contains usernames & password.. -->What is the script we need to write using Descriptive programming concept...in QTP (simply DATA DRIVEN TEST SCRIPT OF QTP)? CTS3
How to do excception handling ( error handling ) in QTP Institute-for-Medical-Education5
what is the command (keyboard command) to swith from expert view to key word view  3
Question:how many types of repositories in QTP9.2?and explain??  3
how do you done Data-driven test using MS-Word Instead of DataTable IBM3
Hi Guys, here I am posting one question. Wen u r working with Notepad. If it is not responding in the middle of TEst...what u will do.  7
In QTP for .net application which plug in is used? For Java Application which plug in is used ? AppLabs2
How we can add actions in the test using QTP? BirlaSoft4
How to capture a window in qtp or how to take snapshot of any window while writing script in qtp  2
What is positive test case and Negative Test case? What is the meaning of Real World Scenario's?  1
What frame work ur using in QTP in ur current company? Accenture6
How many function you use in your application? Polaris1
what is mercury.clipboard in qtp.where we can get this in qtp tool i.e tabs  1
I want to open a Notepad window without recording a test and I do not want to use SystemUtil.Run command as well How do I do this?  9
Is there any option in QTP to add Java add-in after instaling the QTP? IBM2
 
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