Changing execution profile at runtime

reason: in my default profile i want to keep a reference to the execution profile that should be used, and then select the right profile based on that reference, so i don’t have to change the profile for all my testsuites when i want to use a different environment(or override all values in the default profile)
something along the lines of
if (GlobalVariable.reference=="ABC){
WebUI.changeProfile(profile)
}
failing a testcase if the profile no longer exists

this method would change the execution profile for the testcase/testsuite in which the method is called

hi,

check this chain, maybe .properties file is the way how to do it

Hello everyone

From Katalon Studio 7.6, you can override Browser Type and Execution Profile of all Test Suites in a Test Suite Collection via command line. Learn more

Please refer to release notes for more details regarding our latest release.

Happy Testing

Jass

Here is my solution: