Selected Profile not being executed in run

In the Katalon Studio I have my non-default profile selected:-

However, when I run a Test Suite it is not selected:-


Will try restarting etc, but kinda looks like bug :slight_smile:




1 Like

Yes, restart Kat and when I select the profile it is used in the run. I had Saved all files after creating the Profile. So the issue seems to be that Katalon does NOT use the selected new Profile unless restarted.

1 Like

That’s strange… I haven’t noticed this kind of behaviour? Can you reproduce this?

Because, Katalon selects the execution profiles without restarting for me.

No. :slight_smile:

But not exactly the same repro steps. I just tried creating another dummy profile and tried and it was ok. If i get a chance a tomorrow I’ll give it another go with as close to same steps as when it was earlier.

My finger-in-the-air guess is that something else was preventing it ‘realising’ the profile had changed… Usual ‘noob’ stuff; exercising things in a way a more experienced user wouldn;t.

i have nothing defined into @SetupTestCase and is running just fine:

@SetupTestCase(skipped = true) // Please change skipped to be false to activate this method.
def setupTestCase() {
// Put your code here.

but looks like you put some code in there.

Did you imported also com.kms.katalon.core.configuration.RunConfiguration ?

note that it is not imported by default into TestSuite script.

see this topic:

here’s the defaults:

import static com.kms.katalon.core.checkpoint.CheckpointFactory.findCheckpoint
import static com.kms.katalon.core.testcase.TestCaseFactory.findTestCase
import static com.kms.katalon.core.testdata.TestDataFactory.findTestData
import static com.kms.katalon.core.testobject.ObjectRepository.findTestObject

import com.kms.katalon.core.checkpoint.Checkpoint as Checkpoint
import com.kms.katalon.core.checkpoint.CheckpointFactory as CheckpointFactory
import com.kms.katalon.core.model.FailureHandling as FailureHandling
import com.kms.katalon.core.testcase.TestCase as TestCase
import com.kms.katalon.core.testcase.TestCaseFactory as TestCaseFactory
import com.kms.katalon.core.testdata.TestData as TestData
import com.kms.katalon.core.testdata.TestDataFactory as TestDataFactory
import com.kms.katalon.core.testobject.ObjectRepository as ObjectRepository
import com.kms.katalon.core.testobject.TestObject as TestObject

import com.kms.katalon.core.webservice.keyword.WSBuiltInKeywords as WS
import com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords as WebUI
import as Mobile

import internal.GlobalVariable as GlobalVariable

import com.kms.katalon.core.annotation.SetUp
import com.kms.katalon.core.annotation.SetupTestCase
import com.kms.katalon.core.annotation.TearDown
import com.kms.katalon.core.annotation.TearDownTestCase