how to associate object repository during runtime in qtp



how to associate object repository during runtime in qtp..

Answer / yadagiri

Dim qtpApp
Set qtpApp = CreateObject("QuickTest.Application")
Dim qtpRepositories
Set qtpRepositories = qtApp.Test.Actions("Main").ObjectRepositories
qtpRepositories.Add("D: s.tsr")

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More QTP Interview Questions

Can we directly start working with QTP without any knowledge on WinRunner? (After getting trsining on QTP)

1 Answers  


What processes will be required to manage updates to the web site's content, and what are the requirements for maintaining, tracking, and controlling page content, graphics, links, etc.?

0 Answers  


How many types of Parameters are available in QTP?

1 Answers  


Hello friends can anybody tell me about the architecture of QTP with diagram of it.this architecture is same for any domain like ERP/Banking/CRM/Healthcare or it's different then please tell me.thanks

4 Answers   Fidelity,


What is the difference between Systemutil.run and Navigate.

6 Answers   Synechron,


what is the data driven testing?

0 Answers  


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

0 Answers  


We have an application which generates links( more than thousand) based on the time stamp dynmically.Each link will download an xls file. we are supposed to click a particular link (which link to click will be obtained thru some buisiness logic).Now the issue is QTP is not recogniging the link(say Var1) though its properties showed mandatory fields text=xyz and html tag=A.I used following code to do this. Browser("ABC").Page("123").Link("text:=" &Var1,"html tag:=A").click, can any one suggest why this is not recognised by QTP though syntax is correct?(Is there any sync issue to be considered?Because on clicking the link it will take 5 mins to open that file)

3 Answers  


how to make connection to a remote mysql database in qtp any one can please provid eme deatail steps.

1 Answers  


How to modify object property in qtp ?

0 Answers  


Your roles and responsibilities and daily tasks? (As automation tester)

0 Answers   Oracle,


Hi All, How to get repeated word in string . Thanks Balaji

0 Answers  


Categories