Hi guys!

Environment:
watir-webdriver 2.0.0
Ruby 1.9.2
Firefox 3.6, IE8

I faced with a problem - I need to put a content of XML file into text
area.
The content  is quite long and the process of filling is extremely
slow.

This slowness of filling causes a timeout error:

Timeout::Error: Timeout::Error
C:/Ruby192/lib/ruby/1.9.1/net/protocol.rb:140:in `rescue in rbuf_fill'
C:/Ruby192/lib/ruby/1.9.1/net/protocol.rb:134:in `rbuf_fill'
C:/Ruby192/lib/ruby/1.9.1/net/protocol.rb:116:in `readuntil'
C:/Ruby192/lib/ruby/1.9.1/net/protocol.rb:126:in `readline'
C:/Ruby192/lib/ruby/1.9.1/net/http.rb:2211:in `read_status_line'
C:/Ruby192/lib/ruby/1.9.1/net/http.rb:2200:in `read_new'
C:/Ruby192/lib/ruby/1.9.1/net/http.rb:1183:in `transport_request'
C:/Ruby192/lib/ruby/1.9.1/net/http.rb:1169:in `request'
C:/Ruby192/lib/ruby/1.9.1/net/http.rb:1162:in `block in request'
C:/Ruby192/lib/ruby/1.9.1/net/http.rb:627:in `start'
C:/Ruby192/lib/ruby/1.9.1/net/http.rb:1160:in `request'


For putting value into text area I use:
  text_area.set(value)

Are there any other ways to fill in text area more quick?
I tried Javascript via execute_script method but JavaScript cannot
handle XML content (probably because of quotes) as a valid element
value.

This issue is reproduced both on Firefox and IE.

I appreciate any help.

Regards, Vadim

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com

Reply via email to