# Can I export my test results?

Yes, you can. You can use our **.CSV export tools** to export to a **.CSV file**.

To export results for CodeScan Cloud or [CodeScan Self-Hosted](https://www.codescan.io/products/self-hosted/), you can use our npm tool. Click [here](https://www.npmjs.com/package/codescan-export) to find out more.

You can use our CSV plugin if you want a self-hosted GUI tool. See below for details.

### Installation <a href="#installation" id="installation"></a>

{% hint style="info" %}
**Note:** The .CSV plugin requires a SonarQube™ (**6.5+**) installation.
{% endhint %}

1. First, download the **.CSV export plugin** from [here](https://github.com/VillageChief/sonarqube-csv-export-plugin/releases/tag/v0.4.0). It’s available as a ready-to-go **.JAR file** or an archive of source code (**.ZIP** and **.TAR.GZ**) .
2. Copy the **.JAR file** into your SonarQube™ plugins folder at "(your SonarQube™ directory)/extensions/plugins/".

   * Start your SonarQube™ server and run a scan on one or more projects. When the scan is finished, click on the **More** drop-down menu at the top of the screen. Click on **CSV Issue Export** and you’ll be given a list of filters and all projects currently in SonarQube™.

   <figure><img src="/files/Zu3zaWU5O4ab4zGl7ylz" alt="" width="397"><figcaption></figcaption></figure>

   * Choose the filters you require and click the project name to download the **.CSV report** for that project with the selected filters. Open the file with a spreadsheet editor to view your project's issues.

   <figure><img src="/files/XTtOjewoIcuc6MHItttz" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://knowledgebase.autorabit.com/product-guides/codescan/codescan-faqs/general/can-i-export-my-test-results.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
