How can we export test results to an excel sheet in QTP???
Can any one provide sample coding for this?????

Answer Posted / anand aranganathan

Syntax : Datatable.Export "PathofFile"

Example : Datatable.Export "F:\test.xls"

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

In an interview, what r the general questions asked in SQL which is realted to testing ?pls give me anwser to this question?

1672


How reliable are the site's Internet connections required to be? And how does that affect backup system or redundant connection requirements and testing?

913


Functions call by reference and call by value. i want the diff b/n these 2 and how will be the script for this?in which situation we use these 2..?pls explain me clearly

1472


If you are testing a web application then what will you test in that application?

1770


In qtp is it possible to check broken links of a page?

767


Explain how to use QTP to check broken links on a page?

765


can any body tell me how i create a simple script and apply output value on it .pls send me a step by step process

1490


On what document base Descriptive programming is written if build is not yet ready ?

1102


can u please explain what is the exact difference between qtp8.2 and 9.0

1894


I have 5 save buttons in 5 tabs . The tabs are placed one after the other. My object repository have these added as 5 save buttons with name sav1, save 2, save 3 , save 4, save 5 .all are getting highlighted from OR but they are not getting clicked. After spying each button all the properties are same except First button Index 0 html id:=btnSaveTab1 outerhtml:=", Second button "html id:=btnSave "outerhtml:=", Third button "html id:=", outerhtml:=",

1544


How you can find length of array in qtp?

756


What test you perform mostly? Regression or retesting in your testing process?

789


Describe synchronization point.

794


Excel sheet having some datas and some datas present in the application (in table). How will you compare these two datas? Write code to fetch datas from Excel sheet.

1720


Through array we can execute the testcase how ? give me example

1602