Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 Posted / nath t

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 ?    5 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to use descriptive programming?

1195


Explain in brief about the quicktest professional automation object model?

1004


Why do you create a text checkpoint on a Web application? What is the purpose of the Close method?

1887


What are the views available in quicktest professional?

1070


How you will rate urself in QTP in the range of 0 to 5

2264


In qtp, how you can exit for loop?

1071


what is key word driven frame work ? why it is called like that ? what is the diference between keyword driven and data driven frame work ?

2048


Can any one tell me.......How the test engg's start testing in the compy environment.....real time tester PLSSSS help me i need in depth information regarding this...

2034


What is smart identification in QTP?

1106


How will you check that your test cases covered all the requirements?

1112


what are the utilities and drivers

2415


What is fragmentation and paging?

2090


is it possible to add sheets to excel at runtime

4087


How do we analyze the checkpoint results?

1081


How many add-ins comes by default with quicktest professional?

1010