how to associate object repository during runtime in qtp

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

wht type of User defined functions or Java Releated functions Do we write in VB scripting

1382


how to find that a file has been completely downloaded or not? I told that "download Complete" pop up. but he told the tool doesn't recognize the pop up

3774


I am a newbie to QTP / Automation testing. I want to develop a script that creates a data file automatically with proper headings using VBScript in QTP.

1587


could any help me please, how to work on visual foxpro application using UFT

1692


Is QTP supports Unix. If yes, then how the test automation is done?

1732






Explain the concept of object repository and how quicktest professional (qtp) recognises objects?

614


Hi Friends, Can anyone help me out in this one? In QTP, I am using Data Driver and want to parameterise multiple values (say 3 values ) for a field. How can I do it using Data Driver wizard? Plz mention it step-by-step. In the end after doing the needful, on opening the Data Driver window, how can I get number (i.e. 3) in the Parameterised column for that particualr value? Thanks a lot in advance.

1448


How to attach a file to TD?

659


What is the difference between shared and local object repository?

620


How to find the path of folder in which the test is saved in qtp?

534


What is the descriptive programming?

1516


Is it possible to call win runner script in qtp?

631


Do you know how to connect database? Can you tell me the procedures?

555


How many lines of code in each script of QTP?

4036


Explain the difference between data driven testing and parameterization ?

592