hi, all

In my html file, there are some script like below,
<input type = "text" id="id1", name="wiston"  > <br>
<input type = "text" id="id2", name="wiston"  > <br>
<input type = "text" id="id3", name="wiston"  > <br>


develop the watir code like this,

ie=Watir::IE.attach(:title, /title/)
ie.element_by_xpath("//[EMAIL PROTECTED]'wiston']/").set("hello")

it throws
C:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.6/watir/RubyApplication2/lib/main.rb:90:in
`method_missing': unknown property or method `set' (WIN32OLERuntimeError)
    HRESULT error code:0x80020006
Anybody can tell me How do make the element_by_xpath work?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to [email protected]
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to