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
What is TOM in QTP?
Where can I find and view run-time data table?
Does QTP10 supports Windows 7OS +IE 9 combination? Which is the preffered combination ,Plz let me know?
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
Is any limitation to xml checkpoints?
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))
What is the quicktest professional (qtp) testing process?
Object repositories types, which and when to use?
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,,,,,,,
Explain data driven framework?
Which environments does qtp support?
Give me some real time point of way where exactly we can conduct audits?
How to add verification steps to tests?
Explain different checkpoints in qtp.
how we implement share object repository in QTP 9.0 without using quality Centre , Explaine in brief