I'd like to be able to add file input to an HTML dialog in my Selenium tests.
I know that there is a javascript security issue that basically prevent it. However:
1. I am familiar with the solution that described here
http://gusiev.com/2009/04/upload-files-with-selenium-ide/
Unfortunately, this solution doesn't fit to my requirements because if the GUI is not active the awt.Robot cannot focus on the relevant window. And since I run the tests on a remote server this solution is not relevant.
2. The Selenium official documentation contains the following text:
http://seleniumhq.org/docs/05_selenium_rc.html#how-selenium-rc-works
...the browsers are launched in a special mode called Heightened Privileges, which allows websites to do things that are not commonly permitted (as doing XSS, or filling file upload inputs and pretty useful stuff for Selenium)...
this mode might solve my problem. How can I make Selenium-RC run in this mode?
3. If there are another solution to this problem I'll be glad to know about it
Thanks ahead