2 Comments

David Goudreau says:

For the jQuery file upload test in Selenium, you might have to run Firefox in ‘*chrome’ mode and hover on a hidden DOM element in the page that the jQuery plugin puts in the page, then put the file path into the input field and click ‘Upload’ to trigger the upload functionality in the plugin. I ran into this 6 months or so ago – it’s a pain but it’s doable.

March 9, 2011 at 9:13 am

Steve Conover says:

“jQuery drag and drop browser integration test?”

“The jQuery file uploader seems to be so clever that a Pivot was having trouble testing it with Selenium. Suggestions?”

I suppose this is out of bounds, but anyway: you could just not test these things. If days are spent on solving difficult last-mile integration testing problems, if those tests are strange, brittle or hard to maintain, or if they contribute to making a long feedback cycle even worse, how do you justify creating them?