> For the complete documentation index, see [llms.txt](https://testinium.gitbook.io/enterprise-test-automation-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://testinium.gitbook.io/enterprise-test-automation-docs/bdd-editor/create-spec-file.md).

# Create Spec File

***Create Spec File*** directs the user to the page where a new spec file is created.

***Spec files*** are the main files containing the test cases. It can include more than one scenario.

The following steps are followed to create a spec file;

1. Select project from BDD File List page.
2. Click the ***Create Spec File*** button.

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

3. Enter the file name.

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

4. Scenario can be added to the spec file to be created.                                                          Click Click the ***New Scenario*** button on the BDD Editor screen for this.

{% hint style="info" %}
The spec file can be saved without adding a scenario.
{% endhint %}

5. Enter the ***Scenario*** name.
6. Add ***Tag***.

{% hint style="info" %}

* Tag field is required.
* Tag must start with '@'
  {% endhint %}

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

7. a. Click on the ***New Tag*** button to add a new tag.                                                                         b. Click on the ***New Test Step*** button to add a test step

<figure><img src="/files/6mlAgzOeMPRpeKXvcP2r" alt=""><figcaption></figcaption></figure>

8. a. Click the ***Save*** button to save spec file.                                                                                        b. Click the ***Cancel*** button to cancel the adding process.
