There is no exception but the flag if the click is handled is not set to true. The code is reused from this article. https://docs.telerik.com/teststudio/testing-framework/write-tests-in-code/advanced-topics-wtc/javascript-wtc/javascript-events#javascript-event-handlers