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
Explain actions in qtp ?
How can you write the scripts that operate on different objects depending on run-time information?
explain keyword driven framework with banking domain?
How to start recording using quicktest professional?
What is quicktest professional?
In QTP TEST DIRECTOR COMBINATION WHAT IS THE PURPOSE OF TEST DIRECTOR? In Somebody says to store test cases and design test cases.?ok fine , but In test director 5.0 , QTp not launching. what u do?
Is it possible to call from one action to another action in qtp?
How to find Operating system information using QTP script?
What is fragmentation and paging?
Suppose you are using shared objects repository in your test and you want to split your present action? At that time shared object repository is single or it’s also splits?
How the smart identification is used in real time?Please explain with an example
Explain the types of properties that quick test learns while recording?
we add library file used in test via settings or through "ExecuteFile" command. when we implement framework do we make common library file and load the same for all the test cases execution?
Differences between quicktest professional (qtp) and winrunner?
what and how to answer for the question "tell me about yourself ?" for 3 years experience. can anyone say inj detail please... its urgent