How to load the object repository at run time?
Answer Posted / sarath
Tried with QTP 9.1 and it works....
Dim qtApp
Set qtApp = CreateObject("QuickTest.Application")
'Add
qtApp.Test.Actions(1).ObjectRepositories.Add "C:\ObjRep.tsr"
'Remove
qtApp.Test.Actions(1).ObjectRepositories.Removeall
Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
Who uses qtp tool?
What is the difference between local and shared object repository in qtp?
When QTP object wait time is 10 seconds, and in test script wait time is 5 seconds and in function library wait time is 2 seconds how much time does the wait occur? or which is given priority.
What is difference in global and action sheet in qtp?
How to use descriptive programming?
What is difference between run time object and test object?
How many types of recording facility are available in quicktest professional (qtp)?
can anyone tell me from where i can download qtp demo or crack version
Anybody plz give, How do you test aframe in a web page? If page cotain text message or Images, tables?
What are the different attributes used with regular expression?
What is the difference between per-action and shared?
What is expert view in qtp?
What is checking bitmaps?
what is the diffrence bw qtp architectute and qtp framework?
How many types of recording modes are there?