Handling Collectable Errors in Test Automation for Business Central

Hi everyone,

I’m working on test automation and need advice on handling collectable errors.
Is it possible to use “ErrorBehavior::Collect” to collect errors during testing instead of handling them individually?

Thanks,