How to load a object repository in QTP during runtime?

Answer Posted / guru

StrPath = "D:\FrameWork\Repository\GoogleHomePage.tsr"
RepositoriesCollection.Add(StrPath)

Is This Answer Correct ?    25 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Tell me about qtp?

538


what is the difference between modular framework & datadriven framework

1591


Does QTP have any limitations?Can it work with all kinds of programming languages like java,springs,ajax ,hybernet?Also does it work well with windows 7.What are its other limitations

1759


Hi. please provide license key for QTP 9.2, I have windows XP on my machine Thanks in Advance, moreshwar

2794


How to use transactions in qtp?

559






When I click on a link in web page.Link should open in new window.can anyone please let me know the script for this ---Koti

2487


Can any one tell me about "Mapping Repository Parameter Values" and why we use it....??How to use it???Please, tell the preconditions also...........???? Thanks in Advance

1498


how to evalute defects in QTP script?

1482


What is throw object?

1741


Suppose I created one object as virtual object? That object is applicable to that test? Or all the tests?

560


Can we run multiple QTP scripts one after the other without manual intervention? How?

592


How to use the object spy in quicktest professional (qtp) 8.0 version?

509


Hi all, I am using windows vista, I am in the process of learning QTP. When ever I try to work with insert mode in flight application , i am getting the error of 'Operation must use an update table query, fractional truncation(null) error. Can anyone help me regarding this?

1393


write a script to verify links on any web page by using descriptive method by creating a description object (give a filter condition only link) ... need to verify expected like name by reading

1485


How to use userdifined environment variables.Once we created in Environment tab which is at File--> Settings-- >Environment-->Userdifined

1461