The idea simple. I need to press buttons programmatically. I am looking for any tool that will help to implement this. Could you recommend something for that?
Any tool? Zoinks. There's a myriad of tools available to do that. Aside from the standard functional testing tools (WinRunner, QuickTestPro, SilkTest, Robot, etc.), there are two open-source solutions that I can think of off the top of my head.
First, there's Samie: http://samie.sourceforge.net/
Second, there's WATIR: http://wtr.rubyforge.org/
"The single biggest problem in communication is the illusion that it has taken place."
-George Bernard Shaw, Irish playwright and Nobel Prize winner, 1856-1950
Are they standard buttons and what sort of application...what kind of dialog the button is placed in ...need more info..