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       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
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 to call a function in QTP?
 Question Submitted By :: Arpillai
I also faced this Question!!     Rank Answer Posted By  
 
  Re: How to call a function in QTP?
Answer
# 1
Syntax to declare a function 
Function functionname(parameter1, parameter2, etc...)
 'statements....
End Function

E.g: Function Myfunc(a,b,c)

Calling the function in test script:

E.g:
1)Call Myfunc(a,b,c)
2)Myfunc a,b,c
 
Is This Answer Correct ?    2 Yes 0 No
Amarendra Kothuru
 
  Re: How to call a function in QTP?
Answer
# 2
Welcome to Cinemachance. The place where you can Show ur
Talent FREE of Cost. Get an instant access to aspiring &
established Indian actors, models, singers , music -
directors , dancers , directors , story / song writers,
cameraman , film-editors , production , technicians male
models under one roof . Actress and female models, preteen
models, teen models, kid models. If you have a dream to
become the one, then this is the right place for you. Just 
See the Difference.This site is constantly viewed by movie
producers, casting directors, television commercial makers
,agencies.mail us your photos&videos email
mramnadham@yahoo.com 21\11\2008
 
Is This Answer Correct ?    0 Yes 2 No
Shaik
 
 
 
  Re: How to call a function in QTP?
Answer
# 3
File-> Settings->Resources This is thecpath for calling 
function in  qtp
 
Is This Answer Correct ?    0 Yes 0 No
Cv
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
In my Script Firstly i have to parametrize the data then we import the data from c drive.suppose i have parametrize the Person name and company Name and i have enter one person name and one company name in the excel sheet now we import the sheet and the script is passed i want to ask one thing can we add more than one person name and more than one company name in the excel sheet suppose firstly we create person name "ADDy" and company nmae.'Wipro" and we set the current row in the script for this data and now we want run the script another set of data so how we can run the script with another set of data  2
In a shared Object Repository in QTP if some object is changed how can the other script which is using the same object can be known iGate4
How to export QTP results to an ".xls" file?  3
Does QTP support Java Script also. Which is one is preferrable for QTP, VB script or Java script IBM17
anyone can explain about "Smart Identification" in QTP I mean what is the use of "Smart Identification" Give an example  2
How to Install QTP on Citrix Environment? Possible send me the installation steps.. That would be great help  1
Anybody can tell me what are the common roles and responsibilites of a Automation Test engineer IBM1
hai there..this is chandu..i have a txt file which containing 1000 lines but at a time i want to retrieve 50 lines..after 50 lines i required to retrieve 51-100..like that i want...so could anybody help me in this...thanks in Advance..  3
I m new to QTP? Is it necessary to know VB for learning QTP for Automation? Can I understand QTP excellently Without practical automation?  2
what is the extension for the test version of the script? TCS4
what is the extension for QTP files?  10
How to do excception handling ( error handling ) in QTP Institute-for-Medical-Education5
how u write vb script in qtp pls give me some basic script and some material Datamatics22
Can we set a timeout for the msgbox.I want the msgbox to disappear after 2 seconds during the script execution without clicking on the OK button manually.  4
If you entered into yahoo mail with your valid user name and password , then you will get " welcome , username " (for example you will see , “welcome, Krishna” ) text on the top of the Inbox page , how can you test the user name is correct or not using QTP? CTS3
What is test fusion report? CIL2
can anybody give me the links for vb script material  1
Hi Friends, Can you please answer these questions of QTP Certification? 1.) What are bitmap checkpoints sensitive to? A. Image size and object type B. Object type and image type C. Screen resolution and object type D. Screen resolution and image size 2.)What are the phases in the QuickTest workflow? A. Plan, Record, Enhance, Run B. Prepare, Record, Verify, Run C. Plan, Create, Verify & Enhance D. Prepare, Create, Verify & Enhance, Integrate 3.) What are the two most commonly used ADO objects? A. Fields B. Execute C. Connection, RecordSet D. Open, ConnectionString 4.)What options are available to filter objects in the Target Object Repository pane when merging object repositories? A. Show all objects or Show only objects with conflicting object types B. Show all objects or Show only objects with conflicting descriptions C. Show only objects with conflicting logical names or Show only objects with conflicting object types D. Show only objects with conflicting logical names or Show only objects with conflicting descriptions 5.)Which of the following is an example of a missing resource? A. An object B. Run Results C. A Regular Action D. An External Action 6.)What method is used to retrieve the number of columns in the query results? A. Fields.Count B. Fields.Item(EOF) C. Fields.Count(BOF) D. Fields.Count.Value 7.)In VB Script functions, which one is false among the following a. Variables must be declared before use b. Variables may not be declared before use c. Variables may be declared without data types None  1
results.xls file is automatically generated while running the script in QTP.But it is showing error to open the file  1
QTP 9.2, Issue: Creating Shared Object repository. I recorded 2 scripts. I exported the Object Repository to a shared location for the first script. Associated the exported repository to the first script and deleted the Local Repository for the First Script. Now Opened the Second script and try to Add the Local Object Repository of 2nd Script to Exported Object Repository. But I fail. Can anyone please help in providing steps that need to be followed in creating a shared object repository? Thanks in Advance. UHG3
 
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