I am running Selenium and Autoit on Amazon ec2 instance to test my website on firefox. The testcases are triggered automatically every hour using task scheduler. I am using Autoit to handle "save as" dialog box for some file download type testcases.
This process works when i am connected to ec2 instance using rdp. But when i close the session to rdp, my autoit script fails to handle "save as" dialog box. It stuck on WinWaitActive function. The reason, that seems to me is, when rdp connection is closed to amazon, it does not activate save as dialog box. If i telnet on rdp port, my testcase works fine.
Is there is any way to fix this? Is there any setting in rdp server where i can say connection is always on? Or can i use some alternative command on autoit that deliberately chose save button on save as dialog box and save the file in a folder.
Thanks in Advance.