Forum Discussion
Hi,
What about Test Items settings (https://support.smartbear.com/testcomplete/docs/working-with/managing-projects/project-editor/test-items-page.html) mentioned under first bullet for the step 3 being discussed?
Hi Alex,
All of our test items use the project's 'On error' property, which in turn is configured to continue running in the event of any errors. Are there any other settings that may overwrite this, or any other checks we should do to make sure the "on unexpected window" behavior is reached?
Many thanks,
Dan
- AlexKaras5 years agoChampion Level 3
Hi Dan,
Soungs strange...
One more guess: can you double check that the event handling routine in your test project is properly linked to the event?
- ddguy5 years agoOccasional Contributor
Hi Alex,
Yes we have an unexpected window event set up, which is connected to a method in a file which I have tested and certainly does work however now I am wondering what the priority of that custom handler is. Does TC first try the default handler then the custom unexpected event handler? It seems like it skips the default handler and enters the custom unexpected window handler.
Also I have heard from other discussion on this board that anything that has to do with the expected application will never be an unexpected window, only truly unexpected windows such as a windows update or such. Is this true?Thanks,
Dan
Related Content
- 5 years ago
- 5 years ago
Recent Discussions
- 2 days ago