How to disable or not call a test case when running a test suite

Hi all,

I have 5 individual tests cases that all starts with at login test case and a logout/close browser test case. However, when running them in a test suite, I have to disable login and logout test cases for test case 2,3, 4 in order to to run the suite continuously without having to close the browser everytime a test case is done. However I wonder if there is not a smarter way to do this in Katalon.

i.e if Testcase is run in Test suite, don’t call login test/logout test cases

Anyone have an idea. Help is much appricated

Use TestListener to start browser at @TestCaseSetup, close browser at @TestCaseTeardown.

2 Likes