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 export QTP results to an .xls file?

Answer Posted / deeps

Hi,

DataTable.Export("file path")

DataTable.ExportSheet("filepath","DTsheet")

DTsheet:index or name of the sheet which u want to export
to excel file.

Ex:
Datatable.Exportsheet("c:\name.xls","name")

Datatable.exportsheet("c:\name.xls",1)

Is This Answer Correct ?    20 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what type of values given to objects. EX::Set oBrowser=Description.Create oBrowser(“micclass”).Value=”Browser”

2006


1. What is the difference between Keyword and function in the keyword driven framework? 2. How do you associate Keywords to the script ?

1653


How you can decide which type of object repository you have to use?

1263


We stored into the objects OR and then write the scripting

2089


Explain more about the Test Fusion Report of QTP?

1085


If created one virtual object? Next time I changed the window position will it work?

1080


What are the challenges you faced during you entire life automation ?

1564


how to test load test and block box testing an a web based application pls give ans briefly

1913


If I change the property value at runtime is it effect is object repository?

1143


How did you resolve conflicts present in Object Repository?

2176


what is the structure for the data driven framework

2056


Why bpt?

1112


Write a script to verify font style and color of a windows object using descriptive programming

1467


What are the recording modes in qtp?

1106


Hi! Using Descriptive Programming How do we get Parent object for an object by writing script(DP). Say, i want to get a parent object for a "Link" in a web page by writing script in Descriptive Programming.

2626