Re: [wtr-general] how to change value of Watir::Input?

2011-04-10 Thread Jari Bakken
On Fri, Apr 8, 2011 at 12:54 PM, bryan wrote: > Hi, > > If I have an element of type Watir:Input how should I set the value - > I would like to not use textfield (unless there is someway I can > easily convert Watir:Input to a Watir:TextField and then do a set on > it. If this is in the context o

[wtr-general] Re: Compare HTML with HTML in a file

2011-04-10 Thread dt_nz
# I am using IMAP to get the email body in a string @email = Net::IMAP.new(dest_host, dest_port, dest_ssl) @email.login(dest_user, dest_pass) email_html_string = @email.fetch(@current_msg_id, "(BODY[TEXT])")[0] # Then parsing the string using nokogiri Nokogiri::HTML.parse(email_html_string) #

[wtr-general] Watir 1.8.1 Released

2011-04-10 Thread Jarmo
Hello, everyone! Just released Watir 1.8.1! Changelog is following: === IE improvements * Added #frames method (Ivan Kabluchkov). * Added Frame#exists?, #src, #name and other Element methods (Ivan Kabluchkov). * Added multiple locators support for #frame method (Ivan Kabluchkov). * Added *_no_w

Re: [wtr-general] How to 'click' row from table returned by AJAX-helper at google.com?

2011-04-10 Thread Vitaliy Smok
No, result is the same - autosuggestions hided. No search. irb(main):104:0> browser.tr(:class => 'gac_a', :index=> 2).click => [] require "rubygems" require "watir-webdriver" browser = Watir::Browser.new(:firefox) browser.goto("http://www.google.com";) browser.text_field(:name => "q").set "1" br

[wtr-general] Re: Proof Of Concept

2011-04-10 Thread Darryl Brown
Hello Neeraj, Here is a quick POC script. http://pastie.textmate.org/1777913 Darryl On Apr 9, 3:34 pm, Charley Baker wrote: > Nice intro to watir and cucumber along with CI. :) Good work. > > Charley Baker > Lead Developer, Watir,http://watir.com > > On Thu, Apr 7, 2011 at 1:01 PM, Dmitriy Ko