How to load the object repository at run time?

Answer Posted / uday kumar_anem

Use the Automation Object Model to specify the path to a
Object Repository:
Dim App 'As Application
Set App = CreateObject("QuickTest.Application")
App.Test.Settings.Resources.ObjectRepositoryPath
= "<PathToYourObjectRepositoryFileHere>"

Is This Answer Correct ?    2 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s. What's the difference between them? How to handle script issues?

519


Hi friends I need to know about jubula automation tool. Is anybody know in bangalore where jubula tanning class is going on do let me know. Its urgent for me to learn that tool please help.

2881


Have you used xml check point in your project?

545


Does QTP record on Objects created on XWindows Environment?

1646


if there is a web table of having row and colmns.a button is placed at 2nd row's 3rd column which is worked for both edit and delete..how to write script for the button to test both operation on the web table using desriptive programing.. plz help me on script wheather using getroproperty Q2)what is the command for taking valiue from a web table in qtp

23871






give me an example where u used good judgement and logic in solving a problem

3346


Explain features of the latest version of qtp/ uft 12.1?

589


How to connect the remote desktop using QTP 9.2 explain the method or procedure?

2788


Explain the N-tire structure(process) for Funds Transfer ( means give N ways to funds Transfer in an Application)

1619


How to find the name of the machine where you are running your automation scripts in qtp?

513


How can we extract data like "Details","Result","Time" from the 'Run Error' result generated in QTP after run time errors are generated during a run & import the details etc...into excel sheet

1531


What are the different attributes used with regular expression?

537


Hi, I'm a beginner in QTP and planning of a certification in QTP, but have no idea about it :P. Could anyone please tell me what certifications that a QTP- beginner can take? What is the fees and the syllabus for the certification? Please reply soon. Thanks Vidhya

1411


Explain how qtp identifies objects?

558


hi i have 4 yrs exp in manual and automation testing using QTP i need sample resumes plz can u send this mail id pbre1980@gmail.com

1401