I have web application that requires attaching a file very similar to attaching a file in Yahoo mail. Rather than manipulating the attach button, navigating to the file and attaching it, I thought I would use a short cut by writing directly into the text field the path to the file. However, using this approach returns an UnknownObjectException.
 
To illustrate, I'm using the text field method
 
ie.text_field(:name, "typeinme").set("some text")
 
<input type = "text" name = "typeinme" >
 
However, in my html reads like this:
 
<input type = "file" name = "typeinme" >
 
Does anybody have any ideas how to solve this problem?
 
 
 
 
 
 
 
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to