Re: [wtr-general] [Watir-Webdriver] Carriage Returns

2011-08-16 Thread Jari Bakken
On Tue, Aug 16, 2011 at 2:11 AM, hillary weimar1...@gmail.com wrote: But when i tried this in web-driver it doesn't anymore. It enters text but the values are no longer separated by a carriage return. I've tried everything in this

Re: [wtr-general] [Watir-Webdriver] Carriage Returns

2011-08-16 Thread hillary
I tried your solution and it didn't work. I also tried something like this 44F5DED9\n\n3160E198 without using send_keys and it sets the text field like this 44F5DED93160E198. Here's the html textarea id=TextBoxFilterAccountItemID cols=50 rows=5/textarea I'm not sure why it prevents

Re: [wtr-general] [Watir-Webdriver] Carriage Returns

2011-08-16 Thread Jari Bakken
On Tue, Aug 16, 2011 at 7:02 PM, hillary weimar1...@gmail.com wrote: I tried your solution and it didn't work. Does this mean you ran the code from my link and it did not work? I'm not sure why it prevents up/down/return. It could be just an expanded text field, would that make a

Re: [wtr-general] [Watir-Webdriver] Carriage Returns

2011-08-16 Thread hillary
Yes I tried the code from your script and it didn't work. This is my code. require 'rubygems' require 'watir-webdriver' browser = Watir::Browser.new :ie begin browser.goto mysite #Login to the Application #Click the Sign In button browser.button(:id, btn_sign_in).click

[wtr-general] [Watir-Webdriver] Carriage Returns

2011-08-15 Thread hillary
I have a text area that allows the user to copy and past from a file values that are separated by a carriage return like this: a b c In watir, this code worked: b.text_field(:id, x).set(a b c) But when i tried this in web-driver it doesn't anymore. It enters text but the values are no