Knowledgebase

Search:     Advanced search

Exporting TestTrack 2012 and Later Data to Microsoft Excel

Article ID: 509  |  Last updated: 30 Dec, 2014

Note: This article only applies to TestTrack 2012 and later. If you use TestTrack 2011.1 or earlier, see Exporting Data to Excel Using the TestTrack ODBC Driver.

TestTrack 2012 and later uses SQLite for native project databases. To export data to Microsoft Excel from TestTrack SQLite databases, you need to install a third-party SQLite ODBC driver, such as SQLite Pro Enterprise Manager.

Note: If you only want to work with data displayed in TestTrack list windows, it is easier to open items in Excel from TestTrack and save the data in a new worksheet.  In TestTrack, select the items in the list window you want to export from and choose File > Export > Microsoft Excel Export. See the TestTrack User Guide for information.

Configuring the ODBC driver

  1. Choose Start > Settings > Control Panel.
  2. Open the ODBC Data Source Administrator.
  3. On the User DSN tab, click Add.
  4. Select the SQLite ODBC Driver and click Finish. You are prompted to enter the DSN configuration information.
  5. Enter the Data Source Name.
  6. Enter the full path to the project database you want to query in the Database Name field or click Browse to locate the database.  The default project database location is the computer where the TestTrack Server is installed.
  7. Click OK. The driver is configured.
  8. Click OK to close the ODBC Data Source Administrator.

Querying data in Excel

Note: The following steps were tested using Excel 2010. If you use a different version, refer to the Excel help for information about using database queries to import external data.

  1. Start Excel and open a new workbook.
  2. Click the Data tab.
  3. Click From Other Sources in the Get External Data area and select From Microsoft Query. The Choose Data Source dialog box opens.
  4. On the Databases tab, select the ODBC data source you created and click OK. The Excel Query Wizard opens.
  5. In the list of available tables and columns, select the columns you want to query.
  6. Click Next.
  7. Continue through the Query Wizard and set any options for filtering and ordering data.
  8. At the end of the wizard, select what to do next with the data.
    • Select Return Data to Microsoft Excel to import data to the workbook.
    • Select View data or edit query in Microsoft Query to perform more complex data queries.
  9. Click Finish.
    • If you chose to return data, the data is imported to Excel.
    • If you chose to edit the query, the Microsoft Query Editor opens. See the ‘Using Microsoft Query to retrieve data’ section in Exporting Data to Excel Using the TestTrack ODBC Driver for an example of more complex queries.
Article ID: 509  |   Last updated: 30 Dec, 2014
Tags
database SQLite DSN ODBC data source export

Prev   Next
Cannot Restart a Seapine Server on Linux     Creating a Time Tracking Report