• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

SoftwareTestingo - Interview Questions, Tutorial & Test Cases Template Examples

SoftwareTestingo - Interview Questions, Tutorial & Test Cases Template Examples

  • Home
  • Interview Questions
  • Java
  • Java Programs
  • Selenium
  • Selenium Programs
  • Manual Testing
  • Test Cases
  • Difference
  • Tools
  • SQL
  • Contact Us
  • Search
SoftwareTestingo » Manual Testing » Test Cases Example » Test Case For New Folder Renaming

Test Case For New Folder Renaming

Last Updated on: February 16, 2022 By Softwaretestingo Editorial Board

What We Are Learn On This Post

  • Test Case For New Folder Renaming

Test Case For New Folder Renaming: 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.

Post On:Test Case For New Folder Renaming
Post Type:Test Case Template
Published On:www.softwaretestingo.com
Applicable For:Freshers & Experience
Have You JoinedOur Telegram Group

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.

Similar Test Cases

SoftwareTestingo Test Cases
  • Test Case For Library Management System
  • Test Case For Mouse
  • Test Case For New Folder
  • Test Case For Notepad
  • Test Case For Order Confirmation Mail
  • Test Case For Text To Speech Application

Test Case For New Folder Renaming

  • One word name (movies, documents, files, etc.) should with fine.
  • 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.
  • 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
  • Check duplicate folders with the same name should not be permitted.
  • Space-separated names should be allowed (marriage photos of Annie).
  • 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.
  • 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)
  • Verify that the renaming of the folder name is allowed.

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.

Conclusion

I hope you have found some valuable information in this post. Feel free to update us, and you can do that by putting the updated 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.

    Filed Under: Test Cases Example

    Reader Interactions

    Comments

    1. Avatar for prashant kumarprashant kumar says

      May 16, 2020 at 5:40 PM

      Verify for all special characters from keyboards like @, &, ^ should not work.

      This test scenario is wrong because all special characters of keyboards like !#$%@^&()_-+=-+,.’;[]{} are used in folder name. I have already created folder name by using special characters.
      But only these characters like / \ |:*?” are not allowed in folder name.

      Reply
      • Avatar for Softwaretestingo Editorial BoardSoftwaretestingo Editorial Board says

        May 16, 2020 at 7:00 PM

        Thanks Prashant For Update us, we will update this post accordingly

        Reply
      • Avatar for SPSP says

        July 15, 2021 at 11:31 PM

        thanks bro but it accepts ” if you copy this ” and then paste it in rename, try it

        Reply
    2. Avatar for PremPrem says

      May 17, 2020 at 8:35 PM

      You are correct.

      Reply
    3. Avatar for Sujit AndhaleSujit Andhale says

      March 19, 2022 at 12:07 AM

      What’s different windows and Linux
      Test scenario for both?

      Reply

    Leave a Reply Cancel reply

    Your email address will not be published. Required fields are marked *

    Primary Sidebar

    Join SoftwareTestingo Telegram Group

    Categories

    Copyright © 2022 SoftwareTestingo.com ~ Contact Us ~ Sitemap ~ Privacy Policy ~ Testing Careers