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 |
When i used this below script to insert value in the Datatable... At run time it was inserting the given value in the specified column, But after execution all those inserted values were cleared automatically... datatable("column name",sheetid)=value
What is the BPT(bussiness process testing ).and what is the main difference between BPT and QTP
3 Answers EDS, GL Noble Denton, IIST,
what is difference between application testing and product testing?
whow much strong on VB and C?
Hi Friends, Every one is posting the Answers for the existing questions.Try to post the questions that are asked in Recent Interviews.It will be useful to the other Job seekers.
What are the different recording modes and how do they work?
I want to scroll down in MSPAINT (captured a screen already). So that I can read the data in it through the step Window(paint).GetVisibleText for my validation. Anyone know the scripting for this?
how to capture data from images in QTP and produce them in excel sheet?
Explain the Different types of QTP test assets and their extensions?
How to pass parameters into an action.Please explain me with examples
How to find operating system information using the qtp script?
I have action1, action2, action3 r there.my query is while executing if i get any error in action1 i want exit from here itself, otherwise execute action2, if i get any error in action2 i want exit from hereitself, like this,what is the method for this?