How to load the object repository at run time?

Answer Posted / krishna reddy

Hi We can call the TSR file in runtime and in 8.2 and 9.0
also.

How means.. i am giving one function

Public Function UDF_ORUpdate(g_ActName,sv_qtFileName)
Dim qtApp
Dim qtRepositories
Set qtApp = CreateObject("QuickTest.Application")
Set qtRepositories = qtApp.Test.Actions
(g_ActName).ObjectRepositories
qtRepositories.removeall
qtRepositories.Add sv_qtFileName

End Function

Is This Answer Correct ?    1 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is text/text area checkpoint?

561


What is the difference between a Function and Procedure in QTP?

673


What is expert view and keyword view?

621


Please Don't mind .i want in detail the real time process i.e in each document what it contains.

1429


What is the new version of qtp which is recently released in the market?

635






what is clean sweep?

1875


How to execute a winrunner script in quicktest professional?

550


"What are the common constrains that we need to consider when we prepare testcases for ASP application". Thanks in Advance...

1434


I hav installed QTP8.2, im working on webapplication, while running the script giving error msg like "QTPro.exe generated errors and will be closed by windows. You will restart the program. An error log is being created". Pls anybody what is the problem, what i have to do for this? Thanks...

1711


why you have standardized functions? plzzz guys with real time exp. do answer

1431


Explain the check points in quicktest professional?

533


Name the properties you would use for identifying a browser and page when using descriptive programming?

515


What is data driver in qtp? Where we use it?

559


What are the ordinal identifiers in web page?

628


What processes will be required to manage updates to the web site's content, and what are the requirements for maintaining, tracking, and controlling page content, graphics, links, etc.?

596