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...

Can we add the function library directly from scripting in
qtp instead of adding from resource tab?

Answer Posted / nath .t

through script we can do

executefile "give the path"
Ex: executefile "d:\functionlibrary.vbs"

another way we can add to our script is AOM(Automated
object model)

first of all create Quick Test object than we can add with
that object.

Ex:
qtApp.Test.Settings.Resources.Add "Path of the library file"

like this we can add.

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the difference between modular framework & datadriven framework

2102


What is Cross browser testing? Does UFT support it?

1136


Can any body please tell me the steps of keyword driven frame work in qtp. My mail is saswat445@gmail.com please send some materials on keyword driven testing in qtp. thanks a lot...

2239


how do we know whether all objects are stored in the object repository or not? how can we know if a particular object is not stored in the repository?

1762


Explain calling sub procedure.

1082


What test you perform mostly? Regression or retesting in your testing process?

1032


Did the scripts need lot of maintenance? If yes, why?

3815


How many types of recording facility are available in quicktest professional?

1107


Explain different checkpoints in qtp.

1277


Explain the concept of object repository and how qtp recognises objects?

1038


How you are developing the script? Using record and play back or manual?

1077


Give the syntax to import/export xls into qtp.

1053


If there is a change in the object type eg: A button is changed as link, 1. How to edit that in the shared object repository. 2.What options are available to edit the object within shared object repository other than copy from loca; 3.What would be the effect of the change in Coded Scripts within QTP and Functions stored in .vbs file which are loaded and used in QTP

1753


How to do call a output parameter from one action to another action??/

2372


Which advantages helping QTP to hold the position of "Market Leader" for such a long period?

1849