How to convert QTP's ObjectRepository.mdb file to xml file
Answer Posted / elango
First of all the extension is of object repository is .tsr (test script repository) and not .mdb(This denotes microsoft access database file).
Below is the code to convert tsr file to xml in runtime,
Dim ObjRep
Set ObjRep = CreateObject("Mercury.ObjectRepositoryUtil")
ObjRep.ExportToXML "D:\test.tsr","D:\test.xml"
Set ObjRep = Nothing
You can also convert it manually by loading the corresponding object repository in "Resources -> Object Repository Manager" and selecting "File -> Export to XML" option.
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Discuss quicktest professional environment?
Does QTP10 supports Windows 7OS +IE 9 combination? Which is the preffered combination ,Plz let me know?
Generic function to search for the unique link in webtable and click on it
What are the methods of the TextStream object that are used for reading from a text file?
How to integrate the qualitycenter with qtp
How to connect the remote desktop using QTP 9.2 explain the method or procedure?
Hi, Can we open a test in qtp10 which is saved in qtp 9.2?
Could you please any one give code for the following ? Scenario : Suppose a excel file contains 10 records and earch have 5 fields. how can i input this excel file for datadrive wizard ? Please explain
hi nani my doubt is how does qtp process metrix related to software process.
How to capture a window in QTP?
Which advantages helping QTP to hold the position of "Market Leader" for such a long period?
What is the registration process and examination fees?
How are actions and functions different in QTP?
Tell some commonly used Excel VBA functions?
How can i use virtual objects? If have i created one new virtual object in a virtual object manager by following instructions.