Test Case For New Folder Renaming || New Folder Renaming Test Cases
The keys to organizing files and folders effectively within a hierarchy are to store related items together and to name folders informatively. Creating a new folder can help you organize and keep track of files and other folders.
|Test Scenario Overview|
|Post On:||Test Case For New Folder Renaming|
|Post Type:||Test Case Template|
|Applicable For:||Freshers & Experience|
To create a folder, you select the location where you want the new folder, create the folder, and then lastly, name the folder. You should name each folder meaningfully so that just by reading the folder’s name you know its contents. After you name a folder or file, you can rename it at any time.
Test Case For New Folder Renaming
- One word name (movies, documents, files, etc.) should with fine.
- Space-separated names should be allowed (marriage photos of Annie).
- Unicode characters should be allowed in names (to support multiple languages).
- Prohibited characters should throw proper errors (using of? * etc.).
- Naming a folder using the same name as one already present in the current folder should throw a proper error.
- If there’s a command-line way of creating and naming folders then the above tests should be repeated for command line too. Also, interoperability Create through the command line and verify through UI and vice versa should there.
- Very long names (max supported length for folder name or PATH depending on platform).
- Creating folder chains (e.g. mkdir test\first\second\third\forth) should work fine.
- Reserved words shouldn’t allow folder creation(on Windows there are few port names/reserved keywords that can’t be used as folder names)
Some of the test cases are
- Creation of a folder with all kinds of characters like underscores, a hyphen should work.
- Verify for all special characters from keyboards like @, &, ^ should not work.
- Check duplicate folders with the same name should not be permitted.
- Validate handling of folder creation after 256 characters on windows should not be allowed.
- After creating the folder verify that it should not be open on a single mouse click.
- Ensure that folder should always be open on double click
|Related Test Cases|
|☑️ Mobile Test Cases||☑️ Mouse Test Cases|
|☑️ Notepad Test Cases||☑️ Ola Test Cases|
Folder naming convention may vary from OS to OS. Taking Windows as standard I can think of the following test cases:
- As soon as one clicks the New Folder option after the right click, the recently created folder should have the default name which is ‘New Folder’. This test can be done on the Desktop or inside a Drive or inside an Existing Folder.
- A folder can have the same name as the parent folder.
- Try to copy a folder in a location where already a folder with the same name exists, Name of the recently copied should be appended with (1) or (2)….. (n) Depending upon the number of folders already existing with the same name. For example ‘New Folder(1)’
- A user-created folder cannot have the following system reserved names: CON, PRN, AUX, CLOCK$, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, LPT9 and more
- The folder name cannot have the following special characters: Tilde, Number sign, Percent, Ampersand, Asterisk, Braces, Backslash, Colon, Angle brackets, Question mark, Slash, Pipe, Quotation mark
- A folder can be renamed to a valid folder name
- A folder can’t be renamed to an invalid folder name.
- Try to name a folder (including path) to more than 260 valid characters.
Scenarios of Windows OS
- Verify that OS should not allow the user to create a folder name with any of the following characters \/:”*?<>|
- Verify that the folder can be created with a minimum of 1 character and a maximum of 260 characters. [Character can be any alphanumeric and allowed special character]
- Verify that validation message pop-up on giving the existing folder name to the newly created folder.
- Verify that the renaming of the folder name is allowed.
What are detailed test cases for “naming a new folder in the creation of the new folder? I’m interested in all scenarios related to naming a new folder, i.e. any input and scenario you will consider while naming a new folder.
- Empty name
- Existing name
- Same name, but different case characters (expected result depends on your file system’s case sensitivity)
- Unicode characters – pick several encodings with different character size (in bytes) to see that your file systems can handle them well
- Max name length with Unicode (each character takes more than a single byte, so to can create names that take more bytes than supported while the name is ok character-count wise)
- Create your directory under the top-level directory
- Create your directory under a very deep directory
- Create your directory under a shallow, but very long directory
- Max number of entries in a single parent directory (and list them afterward)
- To verify if it is allowing with positive values like ABC, abc123.
- To verify if it is allowing negative inputs like /, <,>, %, etc.
- To verify max length character it is allowing for new folder creation.
- To verify if there is any proper message coming if you are keeping the same name for New Folder with existing ones.
|Tasks To Improve Your Knowledge|
|☑️ How to create delete and rename a folder||☑️ Try to create folder with numeric characters|
|☑️ New folder naming test case||☑️ How to write test cases|
|☑️ Test case template||☑️ You need to rename a folder which of the following can you use|
|☑️ What are the steps to create a folder in c drive with your name||☑️ When you rename a file you must not rename the file|
|Let We Inform you, For improves your knowledge you can take the above as a task and you can work on that. But from the above task list some of the tasks we have already completed and you can find those on our blog. After Completion if you want to share with us that then you can write to us at firstname.lastname@example.org.
In return for that maybe we plan something more surprising for your career.
I hope you have found some valuable information on this post. Feel free to update us, and you can do that by putting the update information in the comment section. Let me know if you need more information or have any suggestions. Then you can comment that in the comment section.