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 do we call Library Files(.vbs) in the Test Script

Thanks in Advance...


Answer Posted / uday

Associating a function library can be done in many ways.
Putting all the above valid answers here.

1. Open QTP -> Click on File menu -> Settings -> Resource ->
Choose the file path of the function library.
(Manual way of associating a function library)

2. ExecuteFile "FilePath".
If you use in an action, then the functions in function
library are available on that action only, other actions
cannot access the functions in function library.
Another disadvantage is, the function pointer will not go
into the function library when you debug the script.

3. LoadFunctionLibrary(From QTP 11), which will load the
function library at run-time.

4. Using AOM.

Thanks,
Uday
http://qtpftvideos.blogspot.com/

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different types of checkpoints?

1037


Can an action have 2 shared object repositories associated with them? In that case, if two of them contain the same object, which one will be considered?

1076


Can we record an application running on a remote machine using qtp?

1153


hi i have 4 yrs exp in manual and automation testing using QTP i need sample resumes plz can u send this mail id pbre1980@gmail.com

1857


How would you export a script from one pc to another in qtp?

1090


Did QTP prove efficient for your project? Yes or No, explain?

6588


how to use the QTP choose the data from oracle? e.g. i input the identity card NO. this will be add new record in the database ,and now i want get this record's prime key.

1756


Write the code for,In the page screen we have total 10 Links,out of these I have to click 9th link

1310


Explain the concept of object repository?

965


What is keyword view in qtp?

928


HI Everybody, I am using QTP 9.2, I have a problem and hope everybody help me solve it. Now I need to use mouse wheel event to zoom in or zoom out in web client, but QTP can't catch this event. I look forward helping of everybody. Thank you very much.

2173


Mention the test steps of qtp.

993


What is test object model in quicktest professional (qtp)?

982


hi in real time who will execute the qtp test scripts? my faculty said, in a companty automation testers are written the test scripts and manual testers are execute the test scripts...IS IT RIGHT OR NOT?

3763


Where we use data driver in qtp?

1022