I have a method with the following structure:
bool myMethod(some arguments)
{
}
A user dialog box appears with 4 buttons: Yes, Yes for all, No, No for all.
When I run the test case, it shows the user dialog box, but the test case does not continue until the user clicks on any button. How do we cover such methods using the nUnit Test case?
source
share