0

Is there any way to write all binding errors in an application to a file?

I need that for UI autotesting.

bcsb1001
  • 2,834
  • 3
  • 24
  • 35
Druuus
  • 21
  • 3
  • 1
    Change Exception settings to break on all exceptions - then your application will throw exception if bindings not working – Fabio Jul 08 '16 at 15:47
  • @Fabio: binding errors in WPF don't throw exceptions. – Peter Duniho Jul 08 '16 at 15:55
  • See the marked duplicate for answers showing how to create your own `TraceListener` that can intercept debug output. In your case, just write the output to a file instead of sending it to a text box. If you need more specific help, please provide a good [mcve] that shows what you've tried, and explain precisely what specifically you're having trouble with. – Peter Duniho Jul 08 '16 at 16:00

0 Answers0