Disable Event handlers in some tests
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2014
08:51 PM
08-20-2014
08:51 PM
Disable Event handlers in some tests
Hi,
Is it possible to disable the event handlers in part of my test under the same excecutaion?
I want that in some of the the event handlers (on log error, on unexpected window)
will work in some tests, and to diable them in others
Thanks!
Is it possible to disable the event handlers in part of my test under the same excecutaion?
I want that in some of the the event handlers (on log error, on unexpected window)
will work in some tests, and to diable them in others
Thanks!
1 REPLY 1
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2014
10:02 PM
08-25-2014
10:02 PM
Hi Sivan,
Event handlers work for the entire project. To accomplish your task, you can create a global variable that will identify when the event should be processed and check its value in the event handler.
Event handlers work for the entire project. To accomplish your task, you can create a global variable that will identify when the event should be processed and check its value in the event handler.
---------
Tanya Yatskovskaya
SmartBear Community and Education Manager
Tanya Yatskovskaya
SmartBear Community and Education Manager
