Micro Focus QTP (UFT) Forums

Full Version: calling object repository
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi Ankur,
Appreciate your help for creating this blogger.I'm using QTP 9.2.If I need to run the tests by writing the scripts,whats the command for calling object repository.(as this will help the application in identifying the objects during testing)In 8.0 we used the following syntax
Code:
App.test.settings.resources.objectrepositorypath = "D:\bank_new\bank_obj_repo\bank.tsr"

where App is the variable defined as
Code:
Set App = Createobject("Quicktest.application").
Please help me with this.my email address is prasannamadhuri@gmail.com
Thanks in advance
whenever you find difficulty in writing AOM expressions, use "Generate Script" to generate your AOM script that's easy and error free..thereafter you can easily do manual tweaks according to the requirements.