Cannot rename a Test Case when only changing character case

OS: Windows 10

Katalon Studio Version 5.5.0 build 1

## Katalon Studio logs:

N/A

## Environment (for Web testing)

N/A

## Environment (for Mobile testing)

N/A

## Steps to reproduce -

Create a test case.

Select it and press F2 to rename it.

Keep the characters the same but change the case of one.

## Expected Behavior -

no error message is displayed and the OK button is enabled.

## Actual Behavior -

error message “Name already exists in different case(s).” is displayed and the OK button is disabled.

## Screenshots / Videos

Capture.PNG

2 Likes

It is not due to Katalon Studio’s problem.

It is due to Windows OS. It does not distinguish Upper case and Lower case as file name. Please try Google with “Windows file name upper lower”. You will find a lot of pages titled such as “how to make Windows case sensitive”.

1 Like

kazurayam said:

It is not due to Katalon Studio’s problem.

It is due to Windows OS. It does not distinguish Upper case and Lower case as file name. Please try Google with “Windows file name upper lower”. You will find a lot of pages titled such as “how to make Windows case sensitive”.

I’m not sure how it’s a Windows issue when Windows Explorer is quite happy to let a user just change the “casing” of a file/folder name but Katalon Studio won’t.

There are many lengthy discussions. For example in

Actually it depends of the software that accesses the FS.

If it uses WIN32 API (which 99.9% of the software does) it will be case-insensitive whatever you do. All built-in software in Windows (like Explorer, command prompt, Internet Explorer and etc.) and all consumer software out there uses WIN32 and is always case-insensitive.

NFS Service, Java and some others are POSIX and they will obey the ‘obcaseinsensitive’ registry setting. However turning off the option might actually get you bigger problems, because this software can create files that are not accesible from Windows itself and other Win32 software.

What should I say? … A wise man never courts danger.