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 |
hi Action 1 and action2 if we save it in C:, what folders will be created explain plz
Hi,All How to create a link in excel sheet using qtp
What is contained in the object repository?
what is purpose of automation?
Differentiate the two Object Repository Types of QTP.
How many types of Parameters are available in QTP? and Pls Explain with example.
how can i call function (which has link with excell sheet at a remote location) within another function
Can we use index on view?
difference between GetROProperty and GetTOProperty
Differences between text and test area checkpoints?
HOW TO DO THE BATCH TESTING USING QTP?
Browser("Las Vegas Hotels - Las").Page("Vegas Hotels - Hotels").Link("Luxor") ......here Luxor is a hotel and this is recognised as a link. I have many hotels like Luxor, Palms etc which are all displayed as link...How do I parametrize this by using webtable functions??? ASAP