event handler for OnStopTestCase
i'm having a bit of trouble understanding how the OnStopTestCase event handler gets triggered. I'm attaching a few screen shots to show how i think it should work.
the execution plan screenshot shows that i have several "test items" (i.e keyword tests) but only one has the checkbox checked as a "test case"
the generate events screenshot shows that i have added the handler for OnStopTestCase
the javascript function show the top few lines of the script that i wrote for the event handler. as you can see i put several log messages at the top just to see what text gets put into the log but when my run ended i saw none of these messages anywhere as shown in the successful run messages screen shot.
am i looking in the wrong place for the messages? the script inside the IF statement that follows the log messages did not run at the end of the test case. do i need to use the sender parameter or something? also i tried using OnStopTest but that gets invoked after the end of every "test item" listed in the execution plan even though their "test case" checkbox is unchecked. this is not a script I want to run after every keyword test finishes. only when the parent "SignInOut" is complete. any and all help/suggestions appreciated.
thanks!