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 / sreekanth chilam

Calling of Library Files can be done in two ways:

1.Loading(Calling)the Library Files in design Time:
In QTP 8.2
Test Menu --> Settings--> resources tab --> click "+"
Button & browse the required file & click Apply.
Now the library file has been associted with entire
(Current)test.(This entire process is done before run time
i.e during design time ).

so all the Actions contained in the test can access the
functions written in the .vbs files.


2.Loading the Library Files during the Run Time:

By using th ExecuteFile Statement.

Syntax:ExecuteFile "../.../../../.vbs filepath"

Here in which action the above statement is given ..in to
that action only the .vbs file will be loaded/called.. but
not to all actions contained in the Test.

During Run time , executefile statement loads .vbs file
into the current action of the test.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the script for database check point, bitmapchek point, regular expression ?

2003


what is ODC and GDC?

7828


On the website, the protocol has been changed https: to https what you will do? Tell me your approach?

962


Hi any body pls help me for QTP 11.0 software free demo version. i have to practice. Kindly send the link.or where i have to download.

2029


How extensive or customized are the server logging and reporting requirements; are they considered an integral part of the system and do they require testing?

998


What is the difference between per-action and shared?

1090


How you can delete excel file in qtp?

1034


How many types of actions are there in quicktest professional (qtp)?

944


when a test case is written how u test using qtp

2088


What is test object?

1091


What is QTP and the use of QTP in TD?

1029


What is the difference between byref and byval in qtp?

1036


How to find array size in qtp?

971


When do go for loop condition in test?

1053


How to call a test from another test?

1316