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
Can we run test with out adding object in object repository? How it is possible?
I have some real time based question.. 1.what are the challenges you have faced in your current project. 2.what are the bugs you found in your current project. 3.what are the strategies you follow to convert manual test cases into automation test cases. 4.how QTP identify two different browsers. 5. When you create a function library and share object repository what are the problems you have faced 6. How to solve the tool tip problem 7.what are the interesting bug you have found in your current project. 8.what is your daily work as a automation test engg. 9. how to create a weekly status report. 10. how many test cases you write,review and execute per day. 11.what are the uses of SQL in automation. 12.How to retrieve the data in html through vb script. 13.If application is very slow how to test the application in qtp.
What is the differences between image check point and bit map check point?
How many tabs are available to view your test in a test pane and what are they?
what is run action?
Is qtp supports uni-code?
can test automation improve test effectiveness?
I want to configure the OR and library files to a particular QTP test during run time. Note: OR and Library files are located in Quality Center. Is it possible in QTP? Anybody having code?
What are the views available in quicktest professional (qtp)?
How smart identification works in qtp ?
Hi can anybody send me the QTP material, To my email ID: nuve1284@gmail.com ?
how can i pass a "cript"as a parameter in to a function
how to write xml output check point bu useing descriptive programing .means without useing output check point
What is synchronization? What are the ways you can synchronize?
Explain in brief about the quicktest professional (qtp) automation object model?