How to ignore / skip the open / close browser steps?

Hi guys,

I’m hoping you may be able to help me.

I have a group of 76 test cases put into a test suite that runs through our website and verifies different pages and input different data. Within each test case, I need to open and close a browser.

I don’t want to have to disable all the open/close steps within each test case. Is there any way of skipping them so that the steps remain?

You can set up test listeners that run before or after test suite / test case. Please take a look here:

So you can do something like this:

def yourBeforeListener(TestCaseContext testCaseContext){
def yourAfterListener(TestCaseContext testCaseContext){