Thursday, March 21, 2013


Hi everyone.
I have a problem with automatic testing using Selenium IDE. I need to upload a file but Selenium seams unable to perform click on browse button. Using I can focus browse button but firing selenium click or clickOn event don't produce anything. Am I doing something wrong or is this some Selenium IDE limitation? Any help will be appreciated

the SOLVE is

In my Selenium tests I want to upload some files. However, due to security restrictions in the browser a JavaScript cannot fill in a path in the respective file input field by default. Fortunately, there exists a workaround (originally from
In FireFox enter "about:config" in the address bar, and set the value of "signed.applets.codebase_principal_suppor" to "true". This allows non-signed scripts to request higher privileges.
In Selenium we then have to request the privilege to upload local files by adding the following JavaScript snippet to the function "Selenium.prototype.doType" in the file "selenium-api.js":'UniversalFileRead');
Update 2009-01-04: Fixing links, fixing problem with quotes which got messed up by WordPress.


//Taken for note :D