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
What is User defined function in QTP
 Question Submitted By :: Sreeprasad
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What is User defined function in QTP
Answer
# 1
User defined functions are encapsulation of segments of

code which is used several times in the script.They can be

either within the QTP script or can be maintained in

external .VBS or .TXT files.
 
Is This Answer Correct ?    2 Yes 0 No
Sreeprasad
 
  Re: What is User defined function in QTP
Answer
# 2
User defined function is nothing but we write our own
functions to perform set of action which contains a login to
execute some steps on the application without making use of
inbuilt qtp functions or which contain full logical code by us. 

For. Eg:
If you need to do some arithmetical operation and just
return the value to some object (textbox) or some thing
else. Then write a funcion on ur own and pass the value to
do the operation and that's it.

Similary if u want to do some event handling like check,
click, select object, do some decission making etc. based on
return value u can make use of functions effectively.

Hope ur got the answer.

Thanks & Regards

Arun*
BOSTON, USA
 
Is This Answer Correct ?    0 Yes 1 No
Arun
 
 
 
  Re: What is User defined function in QTP
Answer
# 3
user defined function is nothing but ,u can define ur own 
fuction for particular functionality.
Normaly we will create user defined functions for the 
reusable functionality(which is available in ur 
application)
 
Is This Answer Correct ?    1 Yes 0 No
Ratheesh
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
How can you find Local Host Name by Using QTP?  3
What is Virtual object wizard in QTP?  3
dar Sir I am Facing th eProblem in QTP thet ,when I start thrcording inthe QTP for the ASP front end and C# the Coding Language I fing that recording is Done well for the Login screen but at the Time Running the script the QTP is Unable to Identify the Objects On the Objec Onht eLigin screen .Please answer the Question in Description and the Propables reason I might be facing alsp the Popable solution I have to Take thanks and ragards  1
Diff b/w WEB TESTING AND Client server testing? Ordain-Solutions3
There are 3 types of frame works in QTP 1. Linear frame work 2. Modular frame work 3. Key word driven frame work. Can any body explain the above 3 frame work models. y2k_ram2000@yahoo.com Fidelity2
I have 5 no.of Action in my Test. Out off which i should make 3rd action as my start-up action. How should i make it? IBM6
in my database haveing 3X3 (manas having 3 rows 3 colums) i want to test only (2nd row 3colum) bit how to test either script or any automation plz explain? (Chandana) IBM7
Interviwer asked, How many years exper.. on QTP? I said, total 2 yrs exp in manual and QTP. QTP only current project arround 3 months. then interviewer ask , HOW BOLD YOU QTP? What you say?  1
can any body help me out by providing links/material for descriptive programming in QTP otherwise can you post decriptive programing based interview Questetion&ans. plz help me out . i need it. ADP1
what is KEYWORD DRIVEN TESTING ? I M NOT ASKIN WHAT IS KEY WORD VIEW PLZ ANS FOR ONLY WHAT IS KEYWORD DRIVEN TESTING EXACTLY THANX  1
How to merge the two object repositories Wipro2
Can you tell me any books or websites to learn VB Script for QTP ??  1
How you handles Pop-up windows which are Dynamically changing in Runtime?  2
actuall wat my doubt is:while doin regression testin we enter all +ve & -ve data....system has to accept +ve and reject -ve data.in such case we get a popup window sayin that wrong entry...now i wan to overcome this popup window..how do i go further....plz explain.i tried thru rec.scenario but of no use.  1
what are the qtp tester responsibilities?  1
datatable.Import("E:\Programming Samples\QTP Samples\OrderNumbers.xls") Asume we have 4 records in datatable Code reads the 4 rows in the sheet ok, but does it 5 times? It doesn't sound like closing the datasheet is the problem Can we close the datasheet runtime ?  1
how to re-install QTP 9.0 trial version.  8
what is the difference between action and function BirlaSoft6
How to invoke QTP using Dos prompt ? ABC2
whenever a scenario is recorded ever, it creates a object repository automatically (‘per action’ /local ). we do not need to make them individually…then why we need a shared object repository. How it will be practically utilized ?? your input will be highly appreciated..  4
 
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