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 TOM in QTP?

2270


Where can I find and view run-time data table?

1018


Does QTP10 supports Windows 7OS +IE 9 combination? Which is the preffered combination ,Plz let me know?

3496


I need to obtain the parent of an object programatically, so if I have: winButton("aButton") I need to obtain the parent part: window("Window1").Dialog("Dialog1") so I can programatically create a string of the full name of the object to call it with an execute statement in QTP I would like to use something like: part[1] = "window(""Window1"")" part[2] = "dialog(""Dialog1"")" so I can do: exeLine = part[1]&"."&part[2]&"."&"winButton(""aButton"")" Execute exeLine Apart from keeping a record of the window/dialog hierarchy is there a parent or path function/ command Thanks Adrian

2091


Is any limitation to xml checkpoints?

1079


How do you handle multiple banners(at the top the page, the banner is scrolling) in a web page(Dont take the name property(regular expression))

2147


What is the quicktest professional (qtp) testing process?

1059


Object repositories types, which and when to use?

1120


WHAT IS THE DIFFERENCE BETWEEN QTP SCRIPT AND VB SCRIPT? HOW MUCH PERCENTAGE WE USE IN QTP SCRIPT REAL TIME AND HOW MUCH PERCEN OF VB SCRIPT,,,,,,,

2090


Explain data driven framework?

1157


Which environments does qtp support?

1158


Give me some real time point of way where exactly we can conduct audits?

1949


How to add verification steps to tests?

9856


Explain different checkpoints in qtp.

1330


how we implement share object repository in QTP 9.0 without using quality Centre , Explaine in brief

2200