Forum Discussion
richie
6 years agoCommunity Hero
Hey Jagruuti,
Have you reviewed the logging when you execute the test case (NOT one step at a time)?
In regards to debugging the event handler script, unless the other forum lads/ladies have a better idea i think you have 2 choices.
Add in logging into your script and monitor the script.log when you execute the test case (not sure if the event handler script would execute if you run the test case steps one by one)
OR copy the event handler script into a groovy step (making appropriate changes to get it to run in an individual test step) and you can use the debug functionality (as long as your java (if its oracle java) is a jdk rather than jre as the debug functionality uses 2 libraries that dont exist in the jre...theyre only found in the jdk).
Thats all i got....as i say above perhaps the other forum members might havr a better idea!
Ta
Rich
Have you reviewed the logging when you execute the test case (NOT one step at a time)?
In regards to debugging the event handler script, unless the other forum lads/ladies have a better idea i think you have 2 choices.
Add in logging into your script and monitor the script.log when you execute the test case (not sure if the event handler script would execute if you run the test case steps one by one)
OR copy the event handler script into a groovy step (making appropriate changes to get it to run in an individual test step) and you can use the debug functionality (as long as your java (if its oracle java) is a jdk rather than jre as the debug functionality uses 2 libraries that dont exist in the jre...theyre only found in the jdk).
Thats all i got....as i say above perhaps the other forum members might havr a better idea!
Ta
Rich