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

**URL:** <https://forum.katalon.com/t/how-to-disable-or-not-call-a-test-case-when-running-a-test-suite/81393>\
**Category:** Web Testing\
**Tags:** katalon-studio\
**Created:** [December 9, 2022, 9:36am UTC](https://forum.katalon.com/t/how-to-disable-or-not-call-a-test-case-when-running-a-test-suite/81393 "2022-12-09T09:36:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![yvan.militisi](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/yvan.militisi/32/20464_2.png) [@yvan.militisi](https://forum.katalon.com/u/yvan.militisi)\
**Post date:** [December 9, 2022, 9:36am UTC](https://forum.katalon.com/t/how-to-disable-or-not-call-a-test-case-when-running-a-test-suite/81393/1 "2022-12-09T09:36:59Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![kazurayam](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/kazurayam/32/333_2.png) [@kazurayam](https://forum.katalon.com/u/kazurayam)\
**Post date:** [December 9, 2022, 10:38am UTC](https://forum.katalon.com/t/how-to-disable-or-not-call-a-test-case-when-running-a-test-suite/81393/2 "2022-12-09T10:38:01Z")

</div>

Use [TestListener](https://docs.katalon.com/docs/legacy/katalon-studio-enterprise/create-tests-and-projects/manage-projects/test-fixtures-and-test-listeners-test-hooks) to start browser at @TestCaseSetup, close browser at @TestCaseTeardown.
