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 oneTest 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.
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 oneTest 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.