How to convert QTP's ObjectRepository.mdb file to xml file
Answer / 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 |
What is the script for database check point, bitmapchek point, regular expression ?
what is the smart identification techniqu?what r the different mechanisums used in it?
How can you handle exceptions in qtp?
A web page title might be xxxx@xyz.com or xxxy@xxx.co or xyz@abc.in.Using what mandatory properties can be the page identified.Give the regular expression for that.
How to change the run-time value of a property for an object in QTP?
what properties do use to identify a browser and page while using descriptive programming?
What is difference between shared and local object repository?
What are the methods of the TextStream object that are used for reading from a text file?
What is the "Release Notes", what it cosists? Key components in Release Notes ?
How to call a test from another test?
For what purpose to we use object repository in a application?also explain usage of obj.repository?
What are the advantages of QTP over WinRunner?