

This does not work for the CuteWebUI AJAX file uploader. Identify the matching SUBMIT Upload button and click() it.

Sometimes one needs to unhide this using a JavascriptExecutor and ensure it is a text field, then use sendKeys to populate it. Identify the INPUT field for the file upload path (sometimes hidden) populated by the Browse button. I appreciate that this problem has been answered many times for other file uploaders (see exhaustive list at end of this posting), and the process usually described as a solution for most file uploaders is roughly: I want to be able to upload directly into the CuteWebUI AJAX file uploader without using that Browse button (and without having to play any tricks using the Browse dialog on Mac OS X, because the files I wish to upload will not be available to a browser on a local filesystem, but instead are stored on a server accessible to the Java web application via Java, although for testing I can have them on a local filesystem, as shown below). Like many file uploaders, the CuteWebUI AJAX file uploader has a Browse button and an Upload button. I have an Enterprise Java web application with data and files and wish to automate mapping and uploading a selected subset of the data and files from that web application against (into) a separate ASP.NET web application, which uses the CuteWebUI toolkit and the CuteWebUI_Uploader_Resource from CuteSoft.Īt the time of writing the server has been down for some days Googling gives some CuteSoft forum hits that may help with this problem, but I currently can't access them.
#HOW TO MAKE A WEBSITE UI IN JAVA MAC OS X MAC OS X#
Solutions involving Windows, Windows-specific automation tools/libraries or O/S other than Mac OS X are not acceptable answersįirstly may I remark that very similar questions have be asked often here on Stackoverflow, I have examined every offered answer, and none of them work for the CuteWebUI_Uploader_Resource AJAX file uploader, as I will illustrate in detail below. Firefox 24.0 (although have also tried on Chrome)
