View Single Post
Old Apr 25th, 2005, 6:09 PM   #1
KFR42
Newbie
 
Join Date: Apr 2005
Posts: 2
Rep Power: 0 KFR42 is on a distinguished road
Simulating a users actions on a form (UI testing)

Hi, Im new here, I thought maybe some of you could help me with a problem. Basically Im writing automated testing for a piece of software and I need to write automated testing for the UI itself, i.e. actually testing the buttons etc. Im using D Unit (which I know isnt ideal for UI testing, but that doesnt really matter too much).

My problem is this, Ive got a form with buttons on and I need to write a piece of code to actually interact with those buttons in the way a user would (i.e. clicking them). The onclick event procedures are all private within the form so is there a good way to go about doing this that doesnt resort to making all click events public (as I cant really do that!!).

Thanks in advance.
KFR42 is offline   Reply With Quote