Of course this doesn't test any browser JavaScript that you are using.
Another approach, probably even more complex, is to add to your favorite browser(s) the ability to script the filling of upload fields.
There are engines that allow you to script clicking and typing on a desktop, but I have no experience with them, and that sounds fragile to me, since, for example, FireFox auto updates and where things are changes.
Bill
On Wed, Mar 20, 2013 at 2:19 PM, Daniel França <daniel.franca@gmail.com> wrote:
Hi all,I'm trying to set up tests for a upload using the plupload queue widget: http://www.plupload.com/
I'm using Splinter for in-browser test, but I couldn't find a way to make it happen. Splinter has some methods to attach files, but only if it's a simple file field.Another way would be click the button to browse the files, and choose the file... but I don't think it's possible using Splinter (or selenium), is it?Or with drag-n-drop of the files.
Anyone has any suggestion of the best way to automatize theses tests?----
Daniel França,
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment