When changing the default profile, inherited profile keeps using "default" profile

*Summary
When I change the default profile, selecting an inheriting profile should use the selected profile. Instead, it keeps using the profile “default”, even if it does not exist.

*Steps to reproduce

  • Create a new project
  • add variables to profile Default:
    • “var1”:“default val1”
    • “var2”:“val2”
  • Create profile “default profile 1” with variables
    • “var1”:“custom val1”
    • “var2”:“val2”
  • Create profile “inherited” with variables:
    • “var2”:“inherited”

Create test case 1:

println("var 1: ${GlobalVariable.var1}")
println("var 2: ${GlobalVariable.var2}")

Set profile “default profile 1” as default
Select profile “inherited”

Run test case 1

*Expected Results

var 1: custom val1
var 2: inherited

*Actual Results

var 1: default val1
var 2: inherited

*Screenshots / Videos
(please attach screenshots or videos if necessary to reproduce the issue)

*Blocker?
No

Number of affected users?
The whole number of users you think might be affected


*Operating System
windows 11

*Katalon Studio version
version 10.1.1 free

*Katalon Studio logs


!ENTRY org.eclipse.egit.ui 2 0 2025-04-08 10:47:42.932
!MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git
user global configuration and to define the default location to store repositories: 'C:\Users\HendrikI4-you'. If this is
not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and
EGit might behave differently since they see different configuration options.
This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.

!ENTRY org.eclipse.jface 2 0 2025-04-08 10:47:43.242
!MESSAGE Keybinding conflicts occurred.  They may interfere with normal accelerator operation.
!SUBENTRY 1 org.eclipse.jface 2 0 2025-04-08 10:47:43.242
!MESSAGE A conflict occurred for CTRL+R:
Binding(CTRL+R,
	ParameterizedCommand(Command(com.kms.katalon.composer.search.command.showReferences,Show References,
		,
		Category(org.eclipse.e4.ui.model.application.MApplication,Application Category,null,true),
		WorkbenchHandlerServiceHandler("com.kms.katalon.composer.search.command.showReferences"),
		,,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.ui.contexts.dialogAndWindow ,,,user)
Binding(CTRL+R,
	ParameterizedCommand(Command(com.kms.katalon.composer.search.command.showReferences,Show References,
		,
		Category(org.eclipse.e4.ui.model.application.MApplication,Application Category,null,true),
		WorkbenchHandlerServiceHandler("com.kms.katalon.composer.search.command.showReferences"),
		,,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.ui.contexts.dialogAndWindow ,,,user)

!ENTRY org.eclipse.jface 2 0 2025-04-08 10:47:43.243
!MESSAGE Keybinding conflicts occurred.  They may interfere with normal accelerator operation.
!SUBENTRY 1 org.eclipse.jface 2 0 2025-04-08 10:47:43.243
!MESSAGE A conflict occurred for F5:
Binding(F5,
	ParameterizedCommand(Command(org.eclipse.ui.file.refresh,Refresh,
		Refresh the selected items,
		Category(org.eclipse.ui.category.file,File,null,true),
		WorkbenchHandlerServiceHandler("org.eclipse.ui.file.refresh"),
		,,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.ui.contexts.window,,,system)
Binding(F5,
	ParameterizedCommand(Command(com.kms.katalon.composer.explorer.command.refresh,Explorer Refresh Command,
		,
		Category(org.eclipse.e4.ui.model.application.MApplication,Application Category,null,true),
		WorkbenchHandlerServiceHandler("com.kms.katalon.composer.explorer.command.refresh"),
		,,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.ui.contexts.dialogAndWindow ,,,user)
Binding(F5,
	ParameterizedCommand(Command(com.kms.katalon.composer.explorer.command.refresh,Explorer Refresh Command,
		,
		Category(org.eclipse.e4.ui.model.application.MApplication,Application Category,null,true),
		WorkbenchHandlerServiceHandler("com.kms.katalon.composer.explorer.command.refresh"),
		,,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.ui.contexts.dialogAndWindow ,,,user)

!ENTRY org.eclipse.jface 2 0 2025-04-08 10:47:43.245
!MESSAGE Keybinding conflicts occurred.  They may interfere with normal accelerator operation.
!SUBENTRY 1 org.eclipse.jface 2 0 2025-04-08 10:47:43.245
!MESSAGE A conflict occurred for CTRL+O:
Binding(CTRL+O,
	ParameterizedCommand(Command(com.kms.katalon.composer.project.command.open,Open Project,
		,
		Category(org.eclipse.e4.ui.model.application.MApplication,Application Category,null,true),
		WorkbenchHandlerServiceHandler("com.kms.katalon.composer.project.command.open"),
		,,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.ui.contexts.dialogAndWindow ,,,user)
Binding(CTRL+O,
	ParameterizedCommand(Command(com.kms.katalon.composer.project.command.open,Open Project,
		,
		Category(org.eclipse.e4.ui.model.application.MApplication,Application Category,null,true),
		WorkbenchHandlerServiceHandler("com.kms.katalon.composer.project.command.open"),
		,,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.ui.contexts.dialogAndWindow ,,,user)

!ENTRY org.eclipse.jface 2 0 2025-04-08 10:47:43.246
!MESSAGE Keybinding conflicts occurred.  They may interfere with normal accelerator operation.
!SUBENTRY 1 org.eclipse.jface 2 0 2025-04-08 10:47:43.247
!MESSAGE A conflict occurred for ALT+CTRL+C:
Binding(ALT+CTRL+C,
	ParameterizedCommand(Command(com.kms.katalon.command.commandpalette,Command Palette,
		,
		Category(org.eclipse.e4.ui.model.application.MApplication,Application Category,null,true),
		WorkbenchHandlerServiceHandler("com.kms.katalon.command.commandpalette"),
		,,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.ui.contexts.dialogAndWindow ,,,user)
Binding(ALT+CTRL+C,
	ParameterizedCommand(Command(com.kms.katalon.command.commandpalette,Command Palette,
		,
		Category(org.eclipse.e4.ui.model.application.MApplication,Application Category,null,true),
		WorkbenchHandlerServiceHandler("com.kms.katalon.command.commandpalette"),
		,,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.ui.contexts.dialogAndWindow ,,,user)

!ENTRY org.eclipse.jface 2 0 2025-04-08 10:47:43.254
!MESSAGE Keybinding conflicts occurred.  They may interfere with normal accelerator operation.
!SUBENTRY 1 org.eclipse.jface 2 0 2025-04-08 10:47:43.254
!MESSAGE A conflict occurred for CTRL+H:
Binding(CTRL+H,
	ParameterizedCommand(Command(org.eclipse.search.ui.openSearchDialog,Open Search Dialog,
		Open the Search dialog,
		Category(org.eclipse.search.ui.category.search,Search,Search command category,true),
		WorkbenchHandlerServiceHandler("org.eclipse.search.ui.openSearchDialog"),
		,,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.ui.contexts.window,,,system)
Binding(CTRL+H,
	ParameterizedCommand(Command(com.kms.katalon.command.search,searchCommand,
		,
		Category(org.eclipse.e4.ui.model.application.MApplication,Application Category,null,true),
		WorkbenchHandlerServiceHandler("com.kms.katalon.command.search"),
		,,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.ui.contexts.dialogAndWindow ,,,user)
Binding(CTRL+H,
	ParameterizedCommand(Command(com.kms.katalon.command.search,searchCommand,
		,
		Category(org.eclipse.e4.ui.model.application.MApplication,Application Category,null,true),
		WorkbenchHandlerServiceHandler("com.kms.katalon.command.search"),
		,,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.ui.contexts.dialogAndWindow ,,,user)

!ENTRY org.eclipse.jface 2 0 2025-04-08 10:47:43.255
!MESSAGE Keybinding conflicts occurred.  They may interfere with normal accelerator operation.
!SUBENTRY 1 org.eclipse.jface 2 0 2025-04-08 10:47:43.255
!MESSAGE A conflict occurred for CTRL+SHIFT+Z:
Binding(CTRL+SHIFT+Z,
	ParameterizedCommand(Command(org.eclipse.ui.edit.redo,Redo,
		Redo the last operation,
		Category(org.eclipse.ui.category.edit,Edit,null,true),
		WorkbenchHandlerServiceHandler("org.eclipse.ui.edit.redo"),
		,,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.ui.contexts.dialogAndWindow,,,user)
Binding(CTRL+SHIFT+Z,
	ParameterizedCommand(Command(org.eclipse.ui.edit.redo,Redo,
		Redo the last operation,
		Category(org.eclipse.ui.category.edit,Edit,null,true),
		WorkbenchHandlerServiceHandler("org.eclipse.ui.edit.redo"),
		,,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.ui.contexts.dialogAndWindow,,,user)

!ENTRY org.eclipse.jface 2 0 2025-04-08 10:47:43.263
!MESSAGE Keybinding conflicts occurred.  They may interfere with normal accelerator operation.
!SUBENTRY 1 org.eclipse.jface 2 0 2025-04-08 10:47:43.263
!MESSAGE A conflict occurred for CTRL+SHIFT+D:
Binding(CTRL+SHIFT+D,
	ParameterizedCommand(Command(org.eclipse.jdt.debug.ui.commands.Display,Display,
		Display result of evaluating selected text,
		Category(org.eclipse.debug.ui.category.run,Run/Debug,Run/Debug command category,true),
		WorkbenchHandlerServiceHandler("org.eclipse.jdt.debug.ui.commands.Display"),
		,,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.ui.contexts.dialogAndWindow,,,system)
Binding(CTRL+SHIFT+D,
	ParameterizedCommand(Command(com.kms.katalon.composer.execution.command.debug,,
		Debug,
		Category(org.eclipse.e4.ui.model.application.MApplication,Application Category,null,true),
		WorkbenchHandlerServiceHandler("com.kms.katalon.composer.execution.command.debug"),
		[Parameter(com.kms.katalon.composer.execution.runMode,Run Mode,null,true)],,true),[org.eclipse.core.commands.Parameterization@de6e4672]),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.ui.contexts.dialogAndWindow ,,,system)
!SUBENTRY 1 org.eclipse.jface 2 0 2025-04-08 10:47:43.263
!MESSAGE A conflict occurred for CTRL+V:
Binding(CTRL+V,
	ParameterizedCommand(Command(org.eclipse.ui.edit.paste,Paste,
		Paste from the clipboard,
		Category(org.eclipse.ui.category.edit,Edit,null,true),
		WorkbenchHandlerServiceHandler("org.eclipse.ui.edit.paste"),
		,,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.ui.contexts.dialogAndWindow,,,system)
Binding(CTRL+V,
	ParameterizedCommand(Command(com.kms.katalon.composer.explorer.command.paste,Explorer Paste Command,
		,
		Category(org.eclipse.e4.ui.model.application.MApplication,Application Category,null,true),
		WorkbenchHandlerServiceHandler("com.kms.katalon.composer.explorer.command.paste"),
		,,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.ui.contexts.dialogAndWindow ,,,system)
!SUBENTRY 1 org.eclipse.jface 2 0 2025-04-08 10:47:43.263
!MESSAGE A conflict occurred for CTRL+C:
Binding(CTRL+C,
	ParameterizedCommand(Command(org.eclipse.ui.edit.copy,Copy,
		Copy the selection to the clipboard,
		Category(org.eclipse.ui.category.edit,Edit,null,true),
		WorkbenchHandlerServiceHandler("org.eclipse.ui.edit.copy"),
		,,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.ui.contexts.dialogAndWindow,,,system)
Binding(CTRL+C,
	ParameterizedCommand(Command(com.kms.katalon.composer.explorer.command.copy,Explorer Copy Command,
		,
		Category(org.eclipse.e4.ui.model.application.MApplication,Application Category,null,true),
		WorkbenchHandlerServiceHandler("com.kms.katalon.composer.explorer.command.copy"),
		,,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.ui.contexts.dialogAndWindow ,,,system)
!SUBENTRY 1 org.eclipse.jface 2 0 2025-04-08 10:47:43.263
!MESSAGE A conflict occurred for DEL:
Binding(DEL,
	ParameterizedCommand(Command(com.kms.katalon.composer.explorer.command.delete,Explorer Delete Command,
		,
		Category(org.eclipse.e4.ui.model.application.MApplication,Application Category,null,true),
		WorkbenchHandlerServiceHandler("com.kms.katalon.composer.explorer.command.delete"),
		,,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.ui.contexts.dialogAndWindow ,,,system)
Binding(DEL,
	ParameterizedCommand(Command(org.eclipse.ui.edit.delete,Delete,
		Delete the selection,
		Category(org.eclipse.ui.category.edit,Edit,null,true),
		WorkbenchHandlerServiceHandler("org.eclipse.ui.edit.delete"),
		,,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.ui.contexts.window,,,system)
!SUBENTRY 1 org.eclipse.jface 2 0 2025-04-08 10:47:43.263
!MESSAGE A conflict occurred for CTRL+X:
Binding(CTRL+X,
	ParameterizedCommand(Command(org.eclipse.ui.edit.cut,Cut,
		Cut the selection to the clipboard,
		Category(org.eclipse.ui.category.edit,Edit,null,true),
		WorkbenchHandlerServiceHandler("org.eclipse.ui.edit.cut"),
		,,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.ui.contexts.dialogAndWindow,,,system)
Binding(CTRL+X,
	ParameterizedCommand(Command(com.kms.katalon.composer.explorer.command.cut,Explorer Cut Command,
		,
		Category(org.eclipse.e4.ui.model.application.MApplication,Application Category,null,true),
		WorkbenchHandlerServiceHandler("com.kms.katalon.composer.explorer.command.cut"),
		,,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.ui.contexts.dialogAndWindow ,,,system)
!SUBENTRY 1 org.eclipse.jface 2 0 2025-04-08 10:47:43.263
!MESSAGE A conflict occurred for F2:
Binding(F2,
	ParameterizedCommand(Command(com.kms.katalon.composer.explorer.command.rename,Explorer Rename Command,
		,
		Category(org.eclipse.e4.ui.model.application.MApplication,Application Category,null,true),
		WorkbenchHandlerServiceHandler("com.kms.katalon.composer.explorer.command.rename"),
		,,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.ui.contexts.dialogAndWindow ,,,system)
Binding(F2,
	ParameterizedCommand(Command(org.eclipse.ui.edit.rename,Rename,
		Rename the selected item,
		Category(org.eclipse.ui.category.file,File,null,true),
		WorkbenchHandlerServiceHandler("org.eclipse.ui.edit.rename"),
		,,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.ui.contexts.window,,,system)
!SUBENTRY 1 org.eclipse.jface 2 0 2025-04-08 10:47:43.263
!MESSAGE A conflict occurred for F3:
Binding(F3,
	ParameterizedCommand(Command(com.kms.katalon.composer.explorer.command.open,Explorer Open Command,
		,
		Category(org.eclipse.e4.ui.model.application.MApplication,Application Category,null,true),
		WorkbenchHandlerServiceHandler("com.kms.katalon.composer.explorer.command.open"),
		,,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.ui.contexts.dialogAndWindow ,,,system)
Binding(F3,
	ParameterizedCommand(Command(org.eclipse.jdt.ui.edit.text.java.open.editor,Open Declaration,
		Open an editor on the selected element,
		Category(org.eclipse.ui.category.navigate,Navigate,null,true),
		WorkbenchHandlerServiceHandler("org.eclipse.jdt.ui.edit.text.java.open.editor"),
		,,true),null),
	org.eclipse.ui.defaultAcceleratorConfiguration,
	org.eclipse.ui.contexts.window,,,system)

!ENTRY org.eclipse.core.filebuffers 4 0 2025-04-08 10:47:53.165
!MESSAGE The content type with id "org.eclipse.buildship.core.files.gradlebuildscript" specified in the extension point does not exist.

!ENTRY org.eclipse.core.filebuffers 4 0 2025-04-08 10:47:53.166
!MESSAGE The content type with id "org.eclipse.buildship.core.files.gradlebuildscript" specified in the extension point does not exist.

!ENTRY org.eclipse.e4.ui.workbench 1 0 2025-04-08 10:47:54.197
!MESSAGE Reloading plugins.

!ENTRY org.eclipse.e4.ui.workbench 1 0 2025-04-08 10:47:57.343
!MESSAGE Reloaded plugins successfully.

!ENTRY org.eclipse.e4.ui.workbench 1 0 2025-04-08 10:59:48.898
!MESSAGE Reloading plugins.

!ENTRY org.eclipse.e4.ui.workbench 1 0 2025-04-08 10:59:50.573
!MESSAGE Reloaded plugins successfully.

1 Like

Hi there, and thanks for posting in the Katalon community! :hugs:

To help you faster, please review our guide on Git here:

Double-checking the steps and configurations might resolve the issue.

If the doc doesn’t help, feel free to provide more details, and a community member will assist you soon. Thanks for being a part of our community!

Best,
Elly Tran

No, you didn’t.
I belive, you actually selected the “inherited” profile.

1 Like

What has git/version management to do with execution profiles? I’m not sure it’s relevant to the topic

Oh you are correct. It should be

  • set default profile 1 as default
  • Select profile “inherited”

I will change the post

???

Do you still think you have a problem to ask others?

I thought you no longer have any problem.

No, I only made an error in the post.
Three profiles:

  • Default
  • Default profile 1
  • Inherited

I have “Default profile 1” set as the default profile
When I use that profile as active, the result is:

var 1: custom val 1
var 2: val 2

When I have Inherited as active, the result is:

var 1: default val1
var 2: inherited

while it should be

var 1: custom val1
var 2: inherited

What happens when you remove the “Default” part from your “Default profile 1” profile (leaving it as “Profile 1” or even just misspell the word as “Defult”) and try your experiment again? Maybe you have found a bug, but there is a way around it.

Please review the Katalon’s definition of the word “Default”:

Suppose Katalon Studio does not find variables used in the test within the designated profile (any profiles but default). In that case, it will look into the default profile and use its variables to execute the test.

Commonly used global variables should be stored in the default profile.

So, you shouldn’t name your additional profiles as “Default profile 1”, which will make you confused (what do you mean by “Default” here?).

You had better name it simply “profile 1”

Katalon has 2 understandings as “default”:

  1. The feature. A profile can be set as “default execution profile”. To make that visible, it changes the icon from blue to green and variables should be inherited from it. See screenshot below.
  2. the profile that is available when you start a new project.

I think this is the confusing bit. To remove that, either the feature should be renamed to “set as base profile” or something, or the profile created in a new project should be named different, like “first profile”

However, this is not the fix for the bug I am reporting. In my test I renamed “default profile 1” to “profile 1”. It does not remove the bug, as I expected.

Below I explain the bug with screenshots. The bug is about configuration 3, configuration 1 and 2 are to explain the bug better

configuration 1:

  • profile “default” is set as default execution profile

  • profile “inherited” is set as active

output:
image

This is as expected

configuration 2:

  • profile “profile 1” is set as default execution profile

  • "profile 1 " is also set as active

Output:

This is also as expected

configuration 3:

  • profile “profile 1” is set as default execution profile

  • profile “inherited” is set as active

Now the program should get its variables first from “profile 1”, because it’s set as default. Then it should overwrite variables that are available in “inherited”
The result should be

var 1: custom val 1
var 2: inherited

But the actual output is:
image

The feature of “Set as default execution problem” was one reported problematic:

I don’t know if this topic is resolved not not.

I have done some testing. I understand it actually is by design. It is done like that because of the Test Suite Collections.

The documentation about it could be more clear, like the two points I mentioned in my previous post.

The configurations I used were to reuse the test suites for different development environments, while also having multiple test sets in the different environments and without having to change the profiles itself.
I wanted to be able to change the current “base profile”, which would have environment variables. Then select a “inherit” profile which contains user credentials.