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   To Refer this Site to Your Friends   Click 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
How i can use and create Library functions in QTP and what
is the proces .
 Question Submitted By :: Sheeraj
I also faced this Question!!     Rank Answer Posted By  
 
  Re: How i can use and create Library functions in QTP and what is the proces .
Answer
# 1
Creating library is nothing but writing some .vbs files and 
assosiating it with  the main script. 
The .vbs files can contain the variable declaration, 
functions&Procedures etc. Which (Variables and 
Functions&Procedures) can be directly referred from your 
QTP Scripts.

Steps are:
1. Create us .vbs files.
2. From QTP (I am talking wrt QTP 9.2) File->Settings 
Select resource tab. 
3. Associate the libs by browsing to the .vbs file path.

Your script is ready with the Library function. It is 
benificial in the case you can use the same library for 
different scripts. reusabilitu and maintainance is very 
easy.

Please let me know if it satisfies your query.
 
Is This Answer Correct ?    0 Yes 0 No
Jay Prakash
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
how i will connect oracle or microsoft acess database through manually written Script Aurigo2
Once the Actions are splitted , is there any way to merge them  3
Hi Friends... What you are doing in Regression Testing and how many test cases you ran in regression testing... suppose there is 1000 test cases is there how many test cases again you run .. 1000 test caes r how many... thanx in advance..  6
What is an other way of "Wait" statement in QTP I dont want to use wait("Some number"). Can any one tell this please.......... AZTEC7
Is there anyway to have QTP go into a website and map out every object before I actually record any tests? I basically want to map out a website with all the objects and build a complete repository. The reason is because I'm running into issues with hierarcical objects. for example: Browser("ABC company- Home").Page("ABC company - Home").Link ("About Us").Click Browser("ABC company - Page 2").Page("ABC company - Page 2").Link("About Us").Click Both these links ("objects" and I use that term loosely as I'm trained mostly in OO programming) go to the same place but but the object heirarchies (pages) are different. I want a repository that will find any possible link on any possible page without having to manually record it. Is there a way to do this?  1
when qtp recognizes a web link like (hyper link)wich properties it is going to take to identify the objects unquely? what is Ini file in QTP? Symantic-Space1
What is the scripting language used in QTP?  6
Can anybody give the script to addsheet, add column,add values under that column in the rows?? AZTEC5
When a requirement is given to u to automate , What is ur basic approach ?  3
how to create user defined functions in QTP? can any one expalin me with example.. Thanks in Advance for help  3
what is file database Wipro1
In how many ways we can add check points to an application using QTP.  3
Why QTP is termed as a Record and Playback tool?  1
WHICH PROCESS U FOLLOW IN COMPANY IGT1
Can we test GUI of the application using QTP.? How.?If possible briefly explain process.? Wipro1
what is active screen,keyboard view? BirlaSoft2
I have a drop down box to show selected number of records in result page.It contains 4 items like 10, 25,50 and 100. when i was recordes script for seelcting each item and checking selecting number of records in the result page( it is in the same page in the table format)it is generating a new page with same controls( objects) in the OR. how to avaid these in OR? is it possible to write DP for only these lines?, remaining(remaingin lines of code) objects i want use from OR only. One more problemis if change ( add /remove properties of an OBJECT in OR , my ( recorded )application is not running. Virtusa3
Write a user defined function to count the no. of buttons existed in a webpage ? i dont want to use descriptive.create ()  1
What is the difference between Call to Action and Copy Action.?  2
If the web applicatoin takes navigation time above 2 hours to dispaly next Web page then how can we synchronize the QTP with Appilication Under Test TCS2
 
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