bubble unhandled exception to white automation from silverlight -
I'm using white automation API to test Silverlight app, but when an unwanted exception occurs in Silverlight, I do not know that
To test this back in the unit test or check in white API to see if there was an exception or not. Did anyone find a way to do this?
I'm not familiar with the white test framework, but you might probably do something like the following in your testing:
[test] Public Zero MyTest () {bool unhandledExceptionFired = false; Application Present. Unrestricted concept + = (S, E) = & gt; Unrestricted ExceptionFired = true; // test code .... fears ISFFELED (uncontrolled exceptionation); }
Like I said, I have not mentioned the specific testing framework, but such a thing should be done. Or are you running in some problem which prevents it from working?
Comments
Post a Comment