Custom Keyword to skip a test case step (TearDown Step)

I would like to create a custom keyword with a method that allows me to skip a teardown step in another test case.

For instance if Test Case A, has a teardown step, In Test Case B I’m calling Test Case A to execute, than specify custom keyword, which will find it, select it and not run it. for Test Case B.

Any help is appreciated.

TY in advance

joomla said:

I would like to create a custom keyword with a method that allows me to skip a teardown step in another test case.

For instance if Test Case A, has a teardown step, In Test Case B I’m calling Test Case A to execute, than specify custom keyword, which will find it, select it and not run it. for Test Case B.

Any help is appreciated.

TY in advance

OR is it better to to skip TearDown and focus on using Test Listeners???
My teardown is at the end of the test case, it’s steps are: clear the cache, take the screenshot, close the browser, etc…