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 |
In Developer view it is a high priority defect & in tester view it is a low severity defect what is that how to define with an example
What is meant by a Check Point in UFT? Also, explain the applicable Check Points.
how to retreive the xml file data through qtp.can anybody send script for this..
Hi iam shankar here, right now iam working on manual testing. i want to switch over automation tool qtp, right now iam taking training class outside on qtp, please let me know the cost of QTP tool for full version, wether it's an annual subscription or monthly subscription.
How to find operating system information using the qtp script?
tell me about regular expressions in QTP? where we use? give eample?
How do you invoke an application using the step generator in qtp?
Hello Everybody, Please tell me the concept of recovery management in QTP by giving any practical example of it. Thanks, Gaytri
what is object spy
Write a user defined function to count the no. of buttons existed in a webpage ? i dont want to use descriptive.create ()
How can i use virtual objects? If have i created one new virtual object in a virtual object manager by following instructions.
how i will connect oracle or microsoft acess database through manually written Script