Re: [wtr-general] Trying to test for table data

2010-09-15 Thread Željko Filipin
On Tue, Sep 14, 2010 at 9:58 PM, Watir General sean...@gmail.com wrote: 9if browser.table(:id, dataTableBody).include?(146173) NoMethodError: undefined method `include?' for #Watir::Container::Table:0x1010e1710 You are calling include? method on a table object, and Ruby complains. You

Re: [wtr-general] Re: Recent Stack Overflow Questions Tagged Watir

2010-09-15 Thread Željko Filipin
http://stackoverflow.com/questions/3710550/issue-retrieving-custom-attribute -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post:

[wtr-general] way to perform double click operation for select list box object item

2010-09-15 Thread Rajiv Nanduani
Hi all just want to share this information to all. i was facing the problem for double click operation for select list box object item In My application i have to select the list box item and double click on it so that it will add in another frame this was the code i used for double click first

[wtr-general] Re: Javascript popup on goto()

2010-09-15 Thread Chuck van der Linden
http://wiki.openqa.org/display/WTR/Pop+Ups http://wiki.openqa.org/display/WTR/JavaScript+Pop+Ups Or use the 'search this group' box at the top of the page and search for 'javascript popup' On Sep 14, 8:16 am, balexis bale...@gmail.com wrote: Hello, I'm running Firewatir 1.6.5 on Ubuntu

[wtr-general] Re: way to perform double click operation for select list box object item

2010-09-15 Thread Chuck van der Linden
Makes complete sense. Normal HTML select list controls don't support a 'double-click' function (nothing on the web normally does doubleclicks). Ergo the functionality you are seeing must be implemented with javascript, which is activated when it see's the doubleclick event occur within the

[wtr-general] Re: Setting text in br tags

2010-09-15 Thread Chuck van der Linden
Is this some kind of activeX control that appears like a native windows control? If so it makes sense to use AutoIT if it's implemented in a browser, as some kind of normal input field you'd think that it would be easy enough to set the field and then fire whatever event (or use submit

[wtr-general] Re: Trying to test for table data

2010-09-15 Thread Watir General
I appreciate everyone's input! :) however I still get NoMethodErrors... I have a similar version of the script I'm trying to create here for just some random website with table data: require 'rubygems' require 'safariwatir' browser = Watir::Safari.new

Re: [wtr-general] Re: Trying to test for table data

2010-09-15 Thread Rajiv Nanduani
hi try this as Z suggested require 'rubygems' require 'safariwatir' browser = Watir::Safari.new browser.goto(http://www.hurricaneaquasports.com/santee-100.html;) if browser.table(:id, Table_01).text.include?(33 lbs) puts Data Verify passed else puts Data Verify FAILED. Ouch. end or require

[wtr-general] Re: Trying to test for table data

2010-09-15 Thread Watir General
For those I get: NoMethodError: undefined method ‘text’ for #Watir::Container::Table: 0x1010edec0 at top levelin Test for Cell Data Kayaks.rb at line 6 NoMethodError: undefined method ‘html’ for #Watir::Container::Table: 0x1010edec0 at top levelin Test for Cell Data Kayaks.rb at line 6

Re: [wtr-general] Re: Trying to test for table data

2010-09-15 Thread Rajiv Nanduani
hi do one thing just check this puts browser.table(:id, Table_01).exists? wt is output ? then check methods puts browser.table(:id, Table_01).methods.sort or check is table with in frame or not? if yes then puts browser.frame(:id,uridvalue).table(:id, Table_01).text On Wed, Sep 15, 2010

[wtr-general] Re: Trying to test for table data

2010-09-15 Thread Watir General
For this: require 'rubygems' require 'safariwatir' browser = Watir::Safari.new browser.goto(http://www.hurricaneaquasports.com/santee-100.html;) puts browser.table(:id, Table_01).methods.sort Output: == === =~ [] __id__ __send__ blank? class clone column_count display dup each enum_for eql?

[wtr-general] Re: Trying to test for table data

2010-09-15 Thread Watir General
For this: require 'rubygems' require 'safariwatir' browser = Watir::Safari.new browser.goto(http://www.hurricaneaquasports.com/santee-100.html;) puts browser.table(:id, Table_01).methods.sort Output: == === =~ [] __id__ __send__ blank? class clone column_count display dup each enum_for eql?

Re: [wtr-general] Re: Javascript popup on goto()

2010-09-15 Thread None
Keith, your solution works like a charm. I might submit a patch to add a goto_nowait() sometime. Chuck, thanks for trying to help but I did look at these articles and no solution work for what I want to do. Most if not all are Windows and/or Internet Explorer specific anyway. On Wed, Sep 15,

Re: [Wtr-development] [wtr-general] Re: Check out the Watir Stack Exchange site!

2010-09-15 Thread Bret Pettichord
Hey there. I am just catching up on some emails from when I was on vacation and this is one of them. I am sorry that the Watir Stack Exchange site did not work out. I like the idea of encouraging people to use Stack Exchange. However, I don't think that we as a community have to choose between