how do you remove object repository at runtime and load
object repository and verify it
Answer Posted / uday
This you can do in two ways:
Use "RepositoriesCollection" utility object and use below
methods as per your needs.
RepositoriesCollection.remove(pathOfSharedOR)
RepositoriesCollection.add(pathOfSharedOR)
RepositoriesCollection.add(pathOfSharedOR)
Another way is using AOM.
A bit of coding is needed, so i am putting high level
overview. I am just posting a pseudo code here:
create a QTPObject
Get associaterepositories by some method like
"AssociatedRepositories"
set repositories=QTPObject.AssociatedRepositories
Once you have repositories you can use below methods like
repositories.remove (path)
repositories.add(path)
repositories.find(path)
I hope that helps.
Thanks,
Uday
http://qtpftvideos.blogspot.com/
| Is This Answer Correct ? | 1 Yes | 5 No |
Post New Answer View All Answers
how to disable the pop ups through QTP using a script
How does qtp identify the object in the application?
How to integrate QTP with QC using VB Scripting? What are the prerequisites to connect with QC?
before launching qtp, we need to close all the open browsers u dont know what are all the browsers either it might be ie,mozilla etc and u dont know how many brosers are open.... u need to close all these before launching qtp.. can anyone plz temme d solution...
What is the parameterization? Give one example?
Discuss quicktest professional environment?
Hi Sudhananda, plz send me the QTP framework with any diagram and PPTS . I want to switch to automatio, I done QTP from professional person, but he does not give me his knowledge properly. so pls help me Thaks send me on following address mirajkar.akash@gmail.com
Can anyone share/send me QTP 8.2 Crack as I had it before but now it's virus affected. Pls send me on Sawale.vijay@gmail.com Thanks, ~Vijay
What is checkpoints for quicktest professional (qtp)?
If we put all properties in mandatory and assistive list of Normal Identification, Do we still need Smart?
can any body tell me how i create a simple script and apply output value on it .pls send me a step by step process
describe some problems that u had with automating testing tool?
What the differences are and best practical application of Object Repository?
Explain the keyword driven framework for the window based application complete creation of library files,env file,test data,recovery file,excel file ,repository etc and as a test engineer how is ur approach
How many types of status are there?