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 difference between Reusable action and external action?
what is debugging testing?
What does SPLIT and JOIN commands do in Vbscript?
6 Answers Ordain Solutions, UBC,
how to retrieve data from the data table (from a particular cell)
Where we use data driver in qtp?
Suppose U change the script whether it affect the object properties of the object in the object repository
-->IF two TextBOxes are there in a "Form". -->A table contains some records which contains usernames & password.. -->What is the script we need to write using Descriptive programming concept...in QTP (simply DATA DRIVEN TEST SCRIPT OF QTP)?
what is key word driven frame work how to use keyword driven frame in QTP in a project
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
How would you parameterize the text field "Country" and the same "country" when it appears as combo field on other page with text field city and same with City combo field?
Can you do more than just capture and playback?
Explain different types of action in qtp?