title: How can I simulate the press of a button?
body: <p>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 with it?</p>