in reply to click on buttons which have icons on them and not text

What you are attempting to do is called GUI automation, search for this for detailed information. Use the modules X11::GUITest or Win32::GuiTest.
  • Comment on Re: click on buttons which have icons on them and not text