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 to add object to object repository in qtp9.0 Suppose for brower yahoo home page
Write a script to customize the test results in PDF and HTML format.
What is the difference in testing a client-server application and a web application?
Explain quicktest professional testing process?
How to customize qtp?
What does it mean when a check point is in red color? What do you do?
What is Cross browser testing? Does UFT support it?
How to modify the text checkpoint?
How to analyzing the checpoint results?
ACTUALLY I AM WORKING IN THE DISTRIBUTION DOMAIN.MY COMPANY IS PROVIDING DISTRIBUTION SOFTWARE FOR PHARMA AND FMCG DISTRIBUTORS.HERE I AM USING QTP 9.2.HERE IN MY APPLICATION WHILE RECORDING ONE WINDOW APPEARS.IN THAT I CAN SELECT THE ITEM OR NO NEED TO SELECT.BUT WHILE RUNNING THE SAME SCRIPT THE WINDOW MAY NOT APPEAR OR APPEAR.HOW TO WRITE SCRIPT FOR THIS
What are output values and why they are used ?
How you can replace string in qtp?
How can we conduct U-I Testing by using QTP??????
What is parameter in qtp?
To which environments does quicktest professional (qtp) supports?