How to load the object repository at run time?

Answer Posted / sandeep.v

Dim qtApp
Dim qtRepositories
Set qtApp = CreateObject("QuickTest.Application")
Set qtRepositories = qtApp.Test.Actions
("ActionName").ObjectRepositories

qtRepositories.Add "E:\Sandeep_Documents\Sandeep_Working\sha
redRepository.tsr"

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain about Test Fusion Report of QTP?

609


who QTP recognizes the object stored in object repository?

1655


How to use actions in qtp ?

582


Hi, can explain the draw back of manual testing.plz send me the answer to my mail id deepthip1985@gmail.com

1405


write script for bitmap image?

1532






Write a script to customize the test results in PDF and HTML format.

2081


How does quicktest professional identifies the object in the application?

541


Can any one tell me how to write a script for selecting open option in File menu of A word document.here you have to add objects to OR.try like that and give me the ans.i asked this question to so many but no one knows.if any one know the answer plz let me know

1397


What are the types of properties that quick test learns while recording?

526


What is QTP’s model for test creation?

669


What is RTM (require ment tracebulity marix) fromate?

1520


Explain different type of event trigger option.

533


desribe a situation where u faced a stressful situation and how did u cope with it

1402


what type of automation is follwed in the project?

1478


Why do we use "Text checkpoint" If we can make use of it in "standard checkpoint" ?

1476