[Console] Test Suite Collection not working with -executionProfile in console mode

Hello All,

We found that, in the console mode, Katalon does not support the test suite collection with -executionProfile.

Assume that we have 2 profiles: test1, test2
And we set the profile to test1 in test suite collection: Test_Chrome.ts

The following run command cannot switch the test1 to test2.

katalon_opts="-retry 0 -statusDelay=60 -testSuiteCollectionPath=\“Test Suites/Test_Chrome\” -executionProfile=test2"

docker run --rm --privileged -v /dev/shm:/dev/shm --shm-size 3000m --name ${BUILD_TAG} -v “$project_dir”:/katalon/katalon/source:ro -v “$reports_dir/chrome”:/katalon/katalon/project/Reports/ -e KATALON_OPTS="$katalon_opts" katalon/katalon:latest

Bug Possibilities: 100%
Affected Version: All Katalon Version

Thank you,
Ken

2 Likes

Seems the bug is caused by the bug here: http://forum.katalon.com/discussion/5380/in-progress-groovy-error-unable-to-resolve-class-internal-globalvariable/p3

Ken, I disagree. I’m having trouble using the -executionProfile parameter locally on the same system I’m running Katalon on to create my test cases/suites/suite collections.

It seems the CLI is ignoring the -executionProfile for Test Suite Collections though it works for Test Suites.

The bug you refer to has to do with Katalon not creating the GlobalVariable files. I have this file locally and it contains information on all the profiles I’ve created. I think this is a different issue.

Jonathan Shyman said:

Ken, I disagree. I’m having trouble using the -executionProfile parameter locally on the same system I’m running Katalon on to create my test cases/suites/suite collections.

It seems the CLI is ignoring the -executionProfile for Test Suite Collections though it works for Test Suites.

The bug you refer to has to do with Katalon not creating the GlobalVariable files. I have this file locally and it contains information on all the profiles I’ve created. I think this is a different issue.

@J Thank you. And you are right. It is a different issue. I have reported a enhancement here: http://forum.katalon.com/discussion/10089/enhancement-allow-executionprofile-to-support-test-suite-collection#latest

After disscussed with my test lead, he suggest me to use https://github.com/jwilder/dockerize as a walkround.

Thank you agian