[wtr-general] Re: Carriage Returns

2011-08-17 Thread joedio
Hillary, See if specifying the ASCII code for the Carriage Return will work. The Carriage Return is ASCII character 10. Here an example in irb: irb(main):006:0 putsa + 10.chr + b + 10.chr + c a b c = nil So you code would be: b.text_field(:id, x).set(a + 10.chr + b + 10.chr + c) Joe On Aug

[wtr-general] Re: Carriage Returns

2011-08-17 Thread hillary
That didn't work either. My code: browser.div(:id, popup_black_list).text_field(:id, TextBoxFilterAccountItemID).set(44F5DED9-6DF6-4854-A3EB-7658C106CC7C + 10.chr + 3160E198-072D-42EB-964E-0B3C0840B6DE + 10.chr + 2BACBD11-962F-4C8A-A3E6-0EFEB351EF96 + 10.chr +

[wtr-general] Re: Carriage Returns

2011-08-17 Thread hillary
Thanks for the suggestion, but that didn't work either. My code (in case i'm doing something wrong): browser.div(:id, popup_black_list).text_field(:id, TextBoxFilterAccountItemID).set(44F5DED9-6DF6-4854-A3EB-7658C106CC7C + 10.chr + 3160E198-072D-42EB-964E-0B3C0840B6DE + 10.chr +

[wtr-general] Re: How do I select the second identical table?

2011-08-17 Thread Jarmo Pertman
I don't see anything in bold, but by using :xpath, then every other selector will be ignored and the FIRST matched element will be returned just like when using :id (it just doesn't make sense to use :xpath and :index together). So, use something better, for example :text if you can't use any of

Re: [wtr-general] Re: How do I select the second identical table?

2011-08-17 Thread Dmitriy Korobskiy
On 8/17/11 1:21 PM, Jarmo Pertman wrote: I don't see anything in bold, but by using :xpath, then every other selector will be ignored and the FIRST matched element will be returned just like when using :id (it just doesn't make sense to use :xpath and :index together). So, use something better,

[wtr-general] watir-webriver won't create a Watir::Browser for Firefox 6.0

2011-08-17 Thread Tony Zanella
Using Ubuntu Natty Narwhal, I just updated my Firefox to Firefox 6.0 today. Now, watir-webdriver will not follow through on creating Watir::Browser.new :firefox $ gem list --local | grep watir-webdriver watir-webdriver (0.3.1) Everything is OK with chrome: $ irb ruby-1.8.7-p352 :001 require

Re: [wtr-general] watir-webriver won't create a Watir::Browser for Firefox 6.0

2011-08-17 Thread Jari Bakken
On Wed, Aug 17, 2011 at 9:39 PM, Tony Zanella tony.zane...@gmail.comwrote: Any suggestions, short of downgrading Firefox? Upgrade selenium-webdriver to 2.4.0. -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com

[wtr-general] Re: watir-webriver won't create a Watir::Browser for Firefox 6.0

2011-08-17 Thread Tony Zanella
Thanks Jari, that did it! On Aug 17, 4:13 pm, Jari Bakken jari.bak...@gmail.com wrote: On Wed, Aug 17, 2011 at 9:39 PM, Tony Zanella tony.zane...@gmail.comwrote: Any suggestions, short of downgrading Firefox? Upgrade selenium-webdriver to 2.4.0. -- Before posting, please read

[wtr-general] Re: watir-webriver won't create a Watir::Browser for Firefox 6.0

2011-08-17 Thread Tony Zanella
Thanks Dmitriy, that did it! On Aug 17, 4:15 pm, Dmitriy Korobskiy dkro...@gmail.com wrote: On 8/17/11 3:39 PM, Tony Zanella wrote: Using Ubuntu Natty Narwhal, I just updated my Firefox to Firefox 6.0 today. Now, watir-webdriver will not follow through on creating Watir::Browser.new