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
Explain different recording modes?
Dear sir, i want to perform a QTP automated testing for mechancial engineering software like msc adams, msc nastran this softwares will help for mechanical engineering design analysis>> i know oad runner win runner, test director, QTp>> but i dont know how to use for automation
How to creating an output value using quicktest professional?
Get the count of files of similar types from a folder.
How to associate function library at a run time?
can u explain the keyword driven framework with an example clearly how to create all the files and how to attach to main test.
Hi there, I've installed a trial version of QTP to see if it works with my product but I cant automate selecting windows from a tree view? Can anyone give me any pointers? Many Thanks
How to release all resources file from the QTP?
How can i get the image text that changes dynamically? Here i have used "GetROProperty", but it's not working. I used like Ex:Browser("webmail").Page("inbox").image ("captchaimage).getroproperty("innertext/text/value")
I want to open a Notepad window without recording a test and I do not want to use System utility Run command as well. How do I do this?
How can get count of list box?
Explain different types of checkpoints?
hi i am working with vbwindow on qtp.first i am openning qtp whenever open qtp my application not open that time generated error like "Runtime error 0" and fatal error:automation error how to solve this problem pls tell me
tell me exact differenceb bw qtp and selenium?(could not tell open soure and licennce? difference in usage and technical difference?
How can you give wait up to 10 seconds in qtp?