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 are metrics and matrix?
How can i initiate the objects to find uniquely in OR
What is the purpose of loading qtp add-ins?
Tell some commonly used Excel VBA functions?
What is obsolute path and relative path in QTP..? How to access them and what are the differences between them...??
What is the Difference between Environment variable and Globle variable,.. anybody can give me answer..Thanks in advance...
what is the difference btn risks & Therads in the Test plan documentation?
how can we return a value from userdefined function for eg 2 functions in func1 iam getting 2 values(a,b) and storing in var(C). now i want to pass that var(c) to another func2 give me the script
Tell about automation object model(Aom) in qtp?
Synchronozation types in QTP
how can i add an action(external action) programmatically?
Hi All, I need Code For how to export Pass\Fail status to excell sheet without using QC. Thanks Balaji