I have an application that requires data be entered, and after entering, a button is clicked to process that data. Clicking the button works just as it should--the data is processed properly.

In constructing a test module, I provide a set of data values, followed by:

btnWhatever.PerformClick()

Nothing happens. I have used this syntax for years, and it has always worked flawlessly. I have triple checked everything else and isolated the problem to the failure of the PerformClick().

Any experience with this, or any idea why it would happen? The PerformClick() is in a test subroutine that does nothing but fill textboxes and labels with default data, then calls the PerformClick() on the button to begin processing. Again, the button works fine, the data is entered as it should be, but the PerformClick() does not fire the click event.

Any ideas or insights will be greatly appreciated!
Thanks