2013-07-24

I'm using Selenium, java and classloader to upload a pdf-file to a HTML-page with the element

My code is:

When I press the "upload" button on the page, nothing happens. No errors, no file is uploaded.
When I get the text from the DOCUMENTATION_FILE_FIELD, the correct path is shown.
When googling I read in a forum that it is not possible to automatically upload a file because of security reasons. Is this correct? If this is the case, is there any other ways to do this.

Show more