[Profiles] Set up <defaultProfile>


#1

Dear,

Is there anyway that I can update value of defaultProfile to true or false?
Currently, after updated this value and clicked Save, the value will automatically reback to the old one.
Looks like we cannot update it.
Can someone advise something?

Thanks,
Phuong.


#2

In Katalon Studio GUI, upper right, you will find a button labeled with Execution Profile name:
defaultProfile

If you select one, then the XML will be updated by Katalon Studio to reflect your choice.


#3

Thanks, Kazurayam.

I understand that we can change the profile from that part.
And also, although I changed profile to a new one but the tag’s value is still keeping the old value.

With Katalon v.5.10.1, every time we open Katalon, “default” profile will be selected as default.
My expectation is that I am able to set “develop” or “product” as my default profile everytime I open my project.

I thought that I can update value of “defaultProfile” tag to resolve that.
But Katalon doesn’t allow user for changing this tag’s value.
Then still looking for another way…


#4

Oh, I haven’t checked this. May be I was wrong.


#5

You can retrieve the name of Execution Profile, which is currently selected runtime, by calling RunConfiguration.getExecutionProfile()

https://api-docs.katalon.com/com/kms/katalon/core/configuration/RunConfiguration.html#getExecutionProfile()


#6

Hi @Katehtk

It is true that Katalon Studio currently selects “Default” profile on every new open, and that modifying the tag Default won’t solve your problem. This is a current limitation.

We have noted this in our backlog and will consider it in upcoming releases.
Here’s the issue: https://github.com/katalon-studio/katalon-studio/issues/60
Thank you for your feedback.

Have a nice day !


#7

Thank you all!
^^


#8

Not sure how old this post is. Was the ability to set a profile other than the default one implemented?


#9

Yes, just right-click the “Profiles” label in the left menu and create a new profile.


#10

Yeah, I can create a new profile (“mlucia”). I just want to set it as a default profile instead of running test cases with the “default” one.