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 / sri satya

By using script, we can add in this way also:

path1="C:/Lib1"
path2="C:/Lib2"
Set qtLibraries =
qtApp1.Test.Settings.Resources.Libraries ' Get the
libraries collection object

qtLibraries.Add path1 ,1
qtLibraries.Add path2 ,2

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the properties you would use for identifying a browser and page when using descriptive programming?

969


What if recovery scenarios is also failed for identify the alert ? (We are handling unexpected popup through recovery scenarios but if still recovery scenarios also failed than what should be the approach)

1502


diff between qtp versions from 8.5

1964


In application which areas to be automated and what kind of situation will be take? using QTP? Plz give me the clear answer

2344


How many lines of code in each script of QTP?

4419


Can we create user defined functions in qtp?

954


Can anyone pls tell me in realtime (descriptive programming) how will the properties of the object be given to the test team. R they given in an excel sheet and is the same sheet also given to the development team and by whom is this given? Thanks a lot.

1991


What are private functions in QTP? How they can be called from the function library?

981


after click on compose mail how can we attached a file in qtp with vbscript code

2122


What is checkpoint in qtp?

969


What is Distributed testing? How does UFT support it?

986


unique properties of button,edit box, radio button,check box?

4419


what type of values given to objects. EX::Set oBrowser=Description.Create oBrowser(“micclass”).Value=”Browser”

1907


when a test case is written how u test using qtp

2075


What are the recording modes in qtp?

979