Skip to content

Perform basic file and folders operations

Create a file or a folder

You can create a file or a folder:

  • In the main menu.
  • In the Project tool window.
  • In the navigation bar.
  • Using the appropriate context menu.

Note

Depending on the item selected in the Project tool window, the context menu displays various file types. Studio specific file types are:

  • Rules
  • List
  • Script
  • Non-annotated, non-validated test document
  • Annotated test document
  • Validated test document
  • Annotations

Note

This icon represents test documents ready for preparation in the documents folder.

Create a file using the main menu

  1. Select File > New.
  2. Select the file type among those available.
  3. Enter the file properties in the dialog box and press Enter, or select OK.

Create a file using the Project tool window

  1. Right-click an item, choose New and the file type.
  2. Enter the file properties in the dialog box and press Enter, or select OK.

Create a file using the navigation bar

  1. Right-click an item on the navigation bar, choose New and the file type.
  2. Enter the file properties in the dialog box and press Enter, or select OK.

Create a folder using the main menu

  1. Select File > New > Directory.
  2. In New Directory enter the folder name.

The folder will be created as a child of the selected tree level.

Create a folder using the Project tool window

  1. Right-click an item, choose New > Directory.
  2. In New Directory enter the folder name.

The folder will be created as a child of the selected tree level.

Create a folder using the navigation bar

  1. Right-click an item on the navigation bar, choose New > Directory.
  2. In New Directory enter the folder name.

Open a file or a folder

Open a file using the main menu

  1. Select File > Open.
  2. In Open File or Project select the folder containing the file.
  3. Select the file then select OK.

    Or:

    Double-click the file.

Open a file using the Project tool window

To open a file from the Project tool window:

  • Double-click the file.

Or:

  • Drag the file to the editor.

Open a folder using the Project tool window

To open a folder from the Project tool window just double-click it or select the expand icon .

Copy a file or a folder

In the Project tool window or in the navigation bar, right-click the item to copy and:

  1. Select Copy.
  2. Right-click the destination folder and choose Paste.

In the case of a file you can also select Refactor > Copy File

In both cases, a dialog box will appear allowing you to rename the file and to confirm the destination folder.

Move a file or a folder

In the the Project tool window:

  1. Select the item to move.
  2. Drag it to the new position.

Or:

In the Project tool window or in the navigation bar:

  1. Right-click the item to move and choose Refactor > Move File/Move Directory.
  2. In Move, confirm or change the destination path.

Info

Depending on the file type selected, the item might not be moved because of the type inconsistency. For example: a rules file can't be moved to the test folder, which is reserved for test documents.

Rename a file or a folder

In the Project tool window or in the navigation bar:

  1. Right-click the item to rename and choose Refactor > Rename.
  2. In Rename enter the new name and select Refactor or press Enter.

In the case of a file you can also:

  1. Right-click the file tab in the editor and choose Rename File.
  2. In Rename enter the new name and select Refactor or press Enter.

Delete a file or a folder

  • In the Project tool window, select the item to delete and press Del.

Or:

  • In the Project tool window, right-click the item to delete and choose Delete.

Or:

  • In the navigation bar, right-click the item to delete and choose Delete.

A confirmation dialog will appear.

Show file path

To show the full path of a file:

  • Right-click the file in the Project tool window and choose Open In > File Path.

Or:

  • Right click the file tab in the editor and choose Open In > File Path.

A pop-up window will show the path as a list of items—from the selected file down to to the disk drive —you can open in Explorer.

Show folder path

To show the full path of a folder, right-click the folder in the Project tool window and choose Open In > Directory Path.
A pop-up window will show the path as a list of folders—from the selected folder down to the disk drive —you can open in Explorer.