logo       

RE: Setting/Changing "text" where the INPUT Type = File: msg#00079

web.selenium.user

Subject: RE: Setting/Changing "text" where the INPUT Type = File

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: selenium-users-bounces-EcuzILgp2tAZVhN9JVcPDEqbzN8AcRLmILAQCsJbaHk@xxxxxxxxxxxxxxxx [mailto:selenium-users-bounces-EcuzILgp2tAZVhN9JVcPDEqbzN8AcRLmILAQCsJbaHk@xxxxxxxxxxxxxxxx] On Behalf Of Mike Taber
Sent: Thursday, October 20, 2005 10:20 AM
To: selenium-users-EcuzILgp2tAZVhN9JVcPDEqbzN8AcRLmILAQCsJbaHk@xxxxxxxxxxxxxxxx
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-EcuzILgp2tAZVhN9JVcPDEqbzN8AcRLmILAQCsJbaHk@xxxxxxxxxxxxxxxx
http://lists.public.thoughtworks.org/mailman/listinfo/selenium-users
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise