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

how to compare two excell sheets by using vbscript??

2 Answers  


1) How will you associate SOR in Runtime? ( u had written 10 lines of code from 11th line u want associate what code u will write) 2) How will close n number of browser expect only one which is has to test? ( First tell me how will you identify how many browser are opened ) what logic u will use? 3) In web Table u want to click on link ( Link Name Mohamed ) you dont know in which row and column that link is there. how wil u identify and click on that link.

2 Answers  


What are default add-ins in qtp?

14 Answers   Semantic Space,


How we test web based application by using QTP

0 Answers  


hi can any body give me a script for creating a modularity or keyword driven framework..i am working as a qtp tester for 2 months but still i am not exposed to framework in my company

0 Answers   Excel,






Explain about reusable actions?

2 Answers  


hi is there any chance to change encoding the password

3 Answers  


I want to open a Google page without recording a test and i do not want to use system.Util.run command as well how do i do this?

11 Answers   IBM,


what is standalone database

1 Answers   Wipro,


how do u plan test automation?

0 Answers  


How does you test a weblink which is changing dynamically?

0 Answers  


How to execute a VBS file without using Execute File statement?

3 Answers   iGate,


Categories