[Wtr-general] [Firewatir] Fireevent not working

2007-06-09 Thread jhun
Can you please help me. I have this code: lis = $browser.elements_by_xpath(//li); lis.each do |li| $logger.log(value: + li.id); if (li.id == d.id[4..10]) $logger.log(FOUND!!!); li.fireevent(ondblclick); break; end end It seems that the event ondblclick is not working.

Re: [Wtr-general] [Firewatir] Fireevent not working

2007-06-09 Thread Angrez Singh
Hi, We are working on it. Will let you know the results soon. Regards, Angrez On 6/9/07, jhun [EMAIL PROTECTED] wrote: Can you please help me. I have this code: lis = $browser.elements_by_xpath(//li); lis.each do |li| $logger.log(value: + li.id); if (li.id == d.id[4..10])

Re: [Wtr-general] [Firewatir] Fireevent not working

2007-06-09 Thread jhun
Thank you so much. I'll wait for that. :) ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

[Wtr-general] sintax error

2007-06-09 Thread mihai
i search with a script all buttons on a page; if the name of a button is btnG then it must puts OK else NO the code is: $ie.buttons.each do |bbtns| puts bbtns.name if bbtns.name.equal?('btnG') then puts 'OK' else puts 'NO' end puts bbtns.value puts $i=$i+1 end but the

Re: [Wtr-general] sintax error

2007-06-09 Thread Charley Baker
Change equal? to eql? or == and it 'll work. equal? compares object ids, eql? and == compare values. -Charley On 6/9/07, mihai [EMAIL PROTECTED] wrote: i search with a script all buttons on a page; if the name of a button is btnG then it must puts OK else NO the code is: $ie.buttons.each do

Re: [Wtr-general] Best Combination of Ruby and Watir

2007-06-09 Thread Bret Pettichord
Jeff Fry wrote: Looks good to me...and now checked in. Thanks. I can never remember what is documented where. ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general