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 many types of run modes are there in qtp?
Suppose I want fail that check point? How can you do that?
Which functionalities of QTP used in banking project?
Describe how Smart Identification is used
What are the automation metrice in your project?
Dear Friends, I having total 3+year experience in manual testing including automation testing QTP, if i am attending any interview what kind of question will i get? please help me out
what is the latest version of QTP? Main difference between 9.2 and 10 version
Who uses qtp tool?
what type of values given to objects. EX::Set oBrowser=Description.Create oBrowser(“micclass”).Value=”Browser”
How many add-ins comes by default with quicktest professional?
How to check feasibility of the appliction?in automation testing?
Explain about datafile/verification of date file when file is not available in local system?
Give me detailed theritical explanation about keyword driven, hybrid framework, environment variables, hybrid frame work
Dear sir, i want to perform a QTP automated testing for mechancial engineering software like msc adams, msc nastran this softwares will help for mechanical engineering design analysis>> i know oad runner win runner, test director, QTp>> but i dont know how to use for automation
Hi any body pls help me for QTP 11.0 software free demo version. i have to practice. Kindly send the link.or where i have to download.