How to manage Object Repository
Object Repository is already exist and having all objects.
Example, my Object Repository has:
+ Object One
- abc$co12l
- abc$co12k
However, when create a new test by recording it adds same object to the Object Repository such as:
+ Object One_2
- abc$co12l
- abc$co12k
+ Object One
- abc$co12l
- abc$co12k
How can I stop QTP from adding objects which already exist, when record a new test?
Re: How to manage Object Repository
You have to write code in expert view instead ofrecording to avoid duplilicate objects in OR. Add all required objects to OR, then start writing code using those added objects. If you start recording it QTP adds duplicate objects.
Re: How to manage Object Repository
Hi there,
I have been learning to do as your instrction which adding all objects into the Object Repository then write code using objects I need. However this way, I cannot add standard or text check point. I cannot only add standard check point by right click on the object in the ative screen.
Is there other way?