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 can we call an external library file in QTP apart from 
using the Executefile statement..?? is there any other way 
we can call the external library file in QTP..??
 Question Submitted By :: Kumar
I also faced this Question!!     Rank Answer Posted By  
 
  Re: how can we call an external library file in QTP apart from using the Executefile statement..?? is there any other way we can call the external library file in QTP..??
Answer
# 1
Yes we can associate the library files with out 
using "Executefile" statement. But you should use AOM method

Example:
Dim qApp 
Dim qLibs 
 
Set qApp = CreateObject("QuickTest.Application") 
qApp.Launch  
qApp.Visible = True 
 
qApp.Open "E:\Test1", False, False ' Open a test 

Set qLibs = qtApp.Test.Settings.Resources.Libraries ' Get 
the libraries collection object 
   qLibs.Add "C:\Utilities.vbs", 1 ' Add the library to the 
collection 

qApp.Test.Save 
qApp.Quit 
Set qLibs = Nothing 
Set qApp = Nothing  

First of all you have to create Quick Test object after 
that open the test with the help of Quick Test Object and 
also create Libraries object after that you can add ".vbs" 
files.
 
Is This Answer Correct ?    3 Yes 2 No
Nath T
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
I am trying to write a descriptive program for clicking on a perticular link.For that i wanted an index or location of that object.But when I viewing through spy, There was no index property of that object.What to do for getting index value.How can I get index? please any one let me know.  4
What is the difference between Dim And Redim IBM3
How to retrieve the data from database? Wipro5
Hi, actually I completed Btech(CS). But i Will go to admin (Facility) interview. So, If Interviewer asking like " Why You choose this field". What we say? pLZ PLZ PLZ PLZ >............................................Send me.....  2
What is the difference in between function and sub as well as give some code of both Wipro1
DEFECT LIFE CYCLE,WHO PUT THE STATUS AS OPEN IGT4
What type of VB script u had done in expert view?  1
I am using excel sheet to export data to QTP but it selects just one row of data from excel sheel how to import all rows of excel sheet to QTP during runtime Wipro8
what is exact difference between smoke and sanity testing? Satyam6
How do you change Logical Name of the object in test script? TCS1
I have 14 itmes in a drop down that are associated with an account And these items change with different accounts I want to be able to define it by and index number or any other id so if I enter 2 in my Global excel sheet it selects the 2nd item from the drop down - is this possible? Rogers4
suppose im having a string wipro123xyz i need to get the value 123 only from the string today 123 will be in the middle from tommorow it will be changing to front or back how to get the no if it changes continously? Wipro2
Hi, Can any body please tell me how to create framework in qtp & where i can get some material to learn about it. regards, rahulT  1
What r types of parametarizations?  5
What are the Automation Limitations??  1
what are the different types of framesworks in QTP?what is the keyword driven framework? Mindlance1
what is diffrense between action and function IBM3
How can you delete the results file (XML)  2
in process of project exaplnation the defects are says frequently r not?  1
3. Anyone pls tell me as many points as possible for this question? what r the things to take into consideration before automating an application like; a). Identify whether the tool supports the appln or not. b). When there is lot of retesting and regression testing. c). ROI. d). When there is a need for running same script for multiple datas, etc. e). ---- f). --------- Pls give me more points.  1
 
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