Documentation Error: Incomplete Information re Test Listener Execution Order

https://docs.katalon.com/pages/viewpage.action?pageId=5126383

The documentation for Test Listeners is incomplete. Where it says:

Execution order of multiple Test Listeners (in case you define more than one) will be from top to down.

It fails to mention…

If you have more than one Test Listener class, the classes themselves are instantiated in Katalon storage (alphanumeric?) order, only then are the individual listener methods executed top-down.

This fact makes the previous statement inappropriate if not meaningless. In some cases it is completely wrong.

Note: That is my best guess as to what is going on since I’m unable to see the actual implementation code.

1 Like

Russ Thomas said:

https://docs.katalon.com/pages/viewpage.action?pageId=5126383

The documentation for Test Listeners is incomplete. Where it says:

Execution order of multiple Test Listeners (in case you define more than one) will be from top to down.

It fails to mention…

If you have more than one Test Listener class, the classes themselves are instantiated in Katalon storage (alphanumeric?) order, only then are the individual listener methods executed top-down.

This fact makes the previous statement inappropriate if not meaningless. In some cases it is completely wrong.

Note: That is my best guess as to what is going on since I’m unable to see the actual implementation code.

Hi Thomas,

Thank you for reporting this documentation error. We have updated the docs as you suggested.

We very much appreciate your time and support.

Best,
Liam