As has been suggested you could use Win32::GuiTest to click buttons with the PushButton function and populate fields with known values via the SendKeys function. Check out the documentation, there are some short examples included in the distribution to get you started.
Hope this helps
Martin
Comment on Re: Using Perl to automate a java application