I have a Selenium.prototype.doInputKeys function in my user-extensions.js that I think would work for those.
I got that from the devel mailing list.
Probably worth a try.
 
- Guillaume Boudreau


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Taber
Sent: Thursday, October 20, 2005 10:20 AM
To: selenium-users@lists.public.thoughtworks.org
Subject: [Selenium-users] Setting/Changing "text" where the INPUT Type = File

Anyone have thoughts on how to set/change the text in a form (field), where the input type is File?
 <INPUT TYPE=file NAME="required_file">
 
I can locate the element and get focus set on the input 'box' but I cannot find a way to set/change the value. Since I can manually type in a filename and path, I would like to simulate this for some of our tests.
 
Thanks in advance for any thoughts you may have...
 - Mike Taber
 
 
_______________________________________________
Selenium-users mailing list
Selenium-users@lists.public.thoughtworks.org
http://lists.public.thoughtworks.org/mailman/listinfo/selenium-users

Reply via email to