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 |
I am struggling to understand QTP more from descriptive programming point of view. Is it easy to learn good QTP in South india by good faculty than north india? I found a great lack of institution in here. can you suggest me better instituion. I am holding two years of experience in same company, is there possibility in south india for me?
Which Databases supports for QTP?
i have a window , initial its name is "NEW CUSTOMER" i have to enter the details of customer in the test object fields and after saving the window name is automatically changing with the customer name . so how to identify that window after saving. (i am using descriptive programming.)
Discuss the QTP Environment?
several browsers opened. write QTP script to close all browsers except gmail.
QTP identified the object but not performing the desired action???what could be the reason?????
How to find a window is minimized or not
How to change the scripts from Per-Action object repository to shared object repository
For what purpose to we use object repository in a application?also explain usage of obj.repository?
What is the parameterization? Give one example?
Suggest and Define a solution for an application whose objects are not recognized by UFT?
If you have two monitors one is of 19inch and the 2nd one is of 24inch,if you want to write same QTP script in both the two monitors is there any changes required in the script?