Determining which profile was selected

Hi,
Is there a way to determine if a specific profile was selected and only execute that profile?

example if (executionprofile == ‘default’) { }

thanks

Hi Vincent

RunConfiguration.getExecutionProfile()

String com.kms.katalon.core.configuration.RunConfiguration.getExecutionProfile()

public static String getExecutionProfile()

Returns name of selected execution profile. Default value is ‘default’ profile.

4 Likes

Russ Thomas said:

Hi Vincent

RunConfiguration.getExecutionProfile()

String com.kms.katalon.core.configuration.RunConfiguration.getExecutionProfile()

public static String getExecutionProfile()

Returns name of selected execution profile. Default value is ‘default’ profile.

Thanks Russ

You’re welcome. Thanks for the BA B)