I want to test some forms. Is there a way to simulate the press of an Ok (or Cancel) button so that the button is pressed and fires the event handlers that are associated wi
btn_ok.click or btn_okClick(sender);
btn_ok.click
btn_okClick(sender);