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
How to record a qtp script ?
Hi, Can anyone please tell me how to connect the QC with QTP using QTP script? Thanks in advance
What is the descriptive programming?
Can you write a script to check if the folder exists or not?
how to do the batch testing in test director using manual testing procedure?
Diff b/w Health care domain and Banking Domain?
Hi I am new to QTP. can u please answer to my qus... suppose 3 excel sheets are there * we are trying to check for login credentials for a page. userid from excel1 , password is from excel2 whether the page is opened or not that checkpoint is result is should be stored in excel 3.... this qus i have faced in IBM technical round... please tell script for above query ... please please
What are some test assets and related extensions of qtp?
Write the script to delete the mail which is at 9th,13th and 18th place in INBOX of Gmail ?
What is expert view and keyword view?
When QTP object wait time is 10 seconds, and in test script wait time is 5 seconds and in function library wait time is 2 seconds how much time does the wait occur? or which is given priority.
How to use reporter.report event in qtp ?
Why qtp the best testing tool?
how can i call function (which has link with excell sheet at a remote location) within another function
How to handle the exceptions using the recovery scenario manager in qtp?