How do I get the QTP scripts result in xml format by using vb
script function?



How do I get the QTP scripts result in xml format by using vb script function?..

Answer / Kaushalendra Singh

In QTP, you can use the `Result.SaveToXML` method to save test results as an XML file.nHere is a simple example:n```vbnetnSet result = TestEngine.CurrentTestResultnresult.SaveToXML "test_results.xml", xmldeclare + xmlformatn``

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

1.How do u prepare the test suits in QC? 2.How do u convert requirements to test plan in QC?

1 Answers  


What are the 3 main stages involved in testing with qtp?

1 Answers  


how to record/identify the webedit box/object which have drop down list and its changing simultaneously in qtp..

1 Answers   Synchronoss Technologies,


what are the difference between qtp8.2 to 9.0 surya

1 Answers   Bally Technologies,


how to click on object? (with out knowing the object details) for ex: in a webpage one link is available.i want to click that link by using one menthod through qtp?

3 Answers   Zensar,


When and why do you use "OPTION EXPLICIT" in VB Script. Is there any online help or something to learn the script for Beginners?

6 Answers  


What is keyword view and Expert view in QTP?

1 Answers   Crea,


what is difference betweein qtp 9.0 and 9.2

1 Answers  


How to map Test cases to the script? Please do anwser urgently?Thanks

3 Answers  


why require regression testing?

2 Answers   TCS,


Can we add the function library directly from scripting in qtp instead of adding from resource tab?

5 Answers   IBM,


How do we count the no of mails in Yahoo Inbox for a specified week?

0 Answers  


Categories