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
- Select File > New.
- Select the file type among those available.
- Enter the file properties in the dialog box and press
Enter
, or select OK.
Create a file using the Project tool window
- Right-click an item, choose New and the file type.
- Enter the file properties in the dialog box and press
Enter
, or select OK.
Create a file using the navigation bar
- Right-click an item on the navigation bar, choose New and the file type.
- Enter the file properties in the dialog box and press
Enter
, or select OK.
Create a folder using the main menu
- Select File > New > Directory.
- 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
- Right-click an item, choose New > Directory.
- 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
- Right-click an item on the navigation bar, choose New > Directory.
- In New Directory enter the folder name.
Open a file or a folder
Open a file using the main menu
- Select File > Open.
- In Open File or Project select the folder containing the file.
-
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:
- Select Copy.
- 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:
- Select the item to move.
- Drag it to the new position.
Or:
In the Project tool window or in the navigation bar:
- Right-click the item to move and choose Refactor > Move File/Move Directory.
- 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:
- Right-click the item to rename and choose Refactor > Rename.
- In Rename enter the new name and select Refactor or press
Enter
.
In the case of a file you can also:
- Right-click the file tab in the editor and choose Rename File.
- 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.