I use VS2008 and created a module testing project in it to test my component. While running unit tests for invalid test cases, I get a message box. And for each such message box, I need to click it to continue. I want to avoid the manual intervention required for these message boxes. Is there any way to suppress them programmatically? All these messages are only with the OK button. Any help.
TIA, Kapil
You need to design for verification. Find the “Humble Dialog Box,” which explains how to bypass modal dialog boxes in tests.
, .
Source: https://habr.com/ru/post/1782734/More articles:How do you prevent the android screen from turning to the side? - androidEXC_BAD_ACCESS calling block - objective-cDisable screen display on Android - androidJavaScript time does not depend on client PC time - javascriptHow to remove rounded corners from one jQuery widget but not others? - jquery-ui2 Factor authentication for a mobile application - androidQuestion C ++ STL type_traits - c ++Problem with HiddenFor helper - c #Java interface type as constructor parameters - javaОшибка открытия URL-адреса в Safari - iphoneAll Articles