HttpWatch Automation Reference - Version 15.x
HttpWatch Namespace / Log Class / ExportFieldsAsCSV Method
The name of the file to which the CSV export should be written.

A comma separator list of the fields to export. The field names are the same as the column names that are available in the Select Columns window within HttpWatch. 

Adding a field called "Page Title" will cause the CSV data to be grouped by page title.

The "Time Chart" column cannot be used as a CSV field name because it has no textual representation.

You can interactively build the field list by using the Tools->Options->CSV Export window in HttpWatch. After choosing the fields that you require, copy the field list to the clipboard and paste into your code.

In This Topic
    ExportFieldsAsCSV Method
    In This Topic
    Exports a specified list of data fields in CSV (Comma-Separated Values) format.
    Syntax
    'Declaration
     
    Public Sub ExportFieldsAsCSV( _
       ByVal fileName As String, _
       ByVal fieldList As String _
    ) 
    public void ExportFieldsAsCSV( 
       string fileName,
       string fieldList
    )

    Parameters

    fileName
    The name of the file to which the CSV export should be written.
    fieldList

    A comma separator list of the fields to export. The field names are the same as the column names that are available in the Select Columns window within HttpWatch. 

    Adding a field called "Page Title" will cause the CSV data to be grouped by page title.

    The "Time Chart" column cannot be used as a CSV field name because it has no textual representation.

    You can interactively build the field list by using the Tools->Options->CSV Export window in HttpWatch. After choosing the fields that you require, copy the field list to the clipboard and paste into your code.
    Remarks
    The file can be saved in any directory to which the automation process has access; even if the Log object belongs an instance of IE running in Protected Mode.
    Requirements
     
    See Also