问题描述:

I have an automation project written in C# that drives Excel. Part of what I need to do in this automation project is click on checkboxes. Each checkbox has a sub attached to it that will raise a message box that asks for the action to be confirmed with a vbYesNo message box.

I C#, when I set the value of the checkbox to true, the vbYesNo message box pops up and I have to manually click the YES button for my test execution to proceed.

Is there a way I can have my automation project "click" on the YES button for me?

相关阅读:
Top