I have to automate a test in which I have to download an excel sheet..A file dialogue appears on the screen with OK and cancel button, and clicking on OK button downloads an excel sheet..I am using Java as automation language and my operating system is Linux..Please suggest how to automate this case..I have searched in different forums too, and have found AutoIt as an scripting language for windows based component...but here I am using Linux so AutoIt will not work in my case..Any help plz??