Author: OTI Employee

# New File Wizard

## Purpose

The plan is to create a single empty file. The end result of this wizard should be an empty file opened in the proper editor for its type.

## Setup

- Start the Eclipse workbench
- Create a temporary project called "File Test"
- Select File->New->File from the resource perspective

## Create file at project root

1. Select the project File Test
2. In the File Name field, type in f1.txt
3. Press the Finish button
4. Verify a new f1.txt file is created under the File Test project (in navigator view and in the file system)
5. Verify the default text editor opened on f1.txt
6. Verify the content of f1.txt is empty

## Create file in new folder

1. In the "Enter or select the folder" field, type in File Test/folder
2. In the File Name field, type in f1.txt
3. Press the Finish button
4. Verify that "folder" was created under the File Test project (in navigator view and in the file system)
5. Verify a new f1.txt file is created under "folder" (in navigator view and in the file system)
6. Verify the default text editor opened on f1.txt
7. Verify the content of f1.txt is empty

## Cleanup

- Delete the temporary project "File Test"