in reply to entering user name and password for windows based application
Use Win32::GuiTest, see the documentation as well as Installing Modules for module installation advice.