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
How can I use Call dlls in QTP ?
To which environments does quicktest professional (qtp) supports?
What is the use of defining a newobject in the object repository "Define New TestOject". How to use this further. If we define new testobject, how can it recognizes the objects properties of any application.
If a button named "CLICK" is recorded in low level recording mode , what will be the values stored for "name" property of that button in object repository ?
can any one please tell me which is the best institute in Bangalore to learn QA (crash course)? Thanks
Is the qtp course will help to create a virtual object?
What is the XML file architecture ?
What is the syntax to call one action in another?
What is TOM in QTP?
What are the features of quick test pro(qtp)?
Can we record using all the modes in a single script? Explanation with example is appreciated
How to change the priorities of the recovery scenario properties?
I used child objects to get the no of weblist present in the weblist.now i need to select the items present in each weblist ?How to do so
What is the file extension of the code file and object repository file in QTP?
Hi. I have completed B.TECH(CS) , But I will go to "SECURITY CONSOLE OPERATING" [C.C CAMERA abservation]. IF interviwer asks " Why you choose this job ?" What we will say? urgent.........................urgent...........