Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How to convert QTP's ObjectRepository.mdb file to xml file

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can I use Call dlls in QTP ?

2315


To which environments does quicktest professional (qtp) supports?

1023


What is the use of defining a newobject in the object repository "Define New TestOject". How to use this further. If we define new testobject, how can it recognizes the objects properties of any application.

2098


If a button named "CLICK" is recorded in low level recording mode , what will be the values stored for "name" property of that button in object repository ?

2177


can any one please tell me which is the best institute in Bangalore to learn QA (crash course)? Thanks

2104


Is the qtp course will help to create a virtual object?

1966


What is the XML file architecture ?

2002


What is the syntax to call one action in another?

1046


What is TOM in QTP?

2225


What are the features of quick test pro(qtp)?

1005


Can we record using all the modes in a single script? Explanation with example is appreciated

1862


How to change the priorities of the recovery scenario properties?

1178


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

2701


What is the file extension of the code file and object repository file in QTP?

1109


Hi. I have completed B.TECH(CS) , But I will go to "SECURITY CONSOLE OPERATING" [C.C CAMERA abservation]. IF interviwer asks " Why you choose this job ?" What we will say? urgent.........................urgent...........

1924