[wtr-general] bring_to_front()

2009-06-02 Thread Monkeybuns
I'm trying to add a bring_to_front() to Bret's 'Pragmatic Bookshelf' example from the Watir training class. I''m running watir-1.6.2 on XP using IE6. All goes well until I try to stick in a bring_to_front() command as follows (these are the opening lines of the script): require 'rubygems'

[wtr-general] Problems recognizing MS Reporting Services reports

2009-02-04 Thread Monkeybuns
I'm trying to use Watir to automate the testing of a set of db reports which were created using 'Report Designer', a part of MS SQL Server Reporting Services. The reports take input from the user thru HTML text fields, select lists, etc., located in the top half of a browser, run a corresponding

[wtr-general] undefined method `flash'

2009-01-27 Thread Monkeybuns
I'm getting the following error when I try to call the 'flash' method: NoMethodError: undefined method `flash' for #Watir::Frame: 0x47d42dc My attempted call to 'flash' looks like this: $browser = Watir::IE.new ...many intermediate $browser commands not included here...

[wtr-general] ie.text.include?

2009-01-27 Thread Monkeybuns
@googlegroups.com [mailto:watir- gene...@googlegroups.com] On Behalf Of Monkeybuns Sent: Tuesday, January 27, 2009 11:04 AM To: Watir General Subject: [wtr-general] undefined method `flash' I'm getting the following error when I try to call the 'flash' method:    NoMethodError: undefined method

[wtr-general] Re: ie.text.include?

2009-01-27 Thread Monkeybuns
Thanks, Mark and Michael. I'm glad to have the frame handle business explained. Unfortunately, the text is still not being found at either the frame level or the browser level. If I look for text (using xx.text.include?) at the browser level, should I expect it to be found regardless of the

[wtr-general] Re: ie.text.include?

2009-01-27 Thread Monkeybuns
Oh, yes, I'm aware of irb. I use it in combination with SciTE. In fact, I used it to go through the six frames as you suggested below, but they all returned 'false': ie.frame(:name,ctl140_ctl00_ctl03_ctl01).text.include? 'FIND THIS TEXT' and 5 other searches by frame returned 'false'. On

[wtr-general] Re: ie.contains_text problem

2009-01-26 Thread Monkeybuns
').value == 'FOO' puts FOO Found else puts FOO Not Found end if ie.text_field(:value,'FOO').exists? puts FOO Found else puts FOO Not Found Returns the following: FOO Found FOO Found FOO Found On Jan 26, 2:12 pm, Monkeybuns shaml...@twia.org wrote: Thanks

[wtr-general] running unit tests for watir-1.6.2

2009-01-14 Thread Monkeybuns
I'm trying to run the Unit Tests defined in the watir tutorial (http:// wiki.openqa.org/display/WTR/Run+the+Watir+Unit+Tests). I gather that this does not work anymore in 1.6.2 because the directory structure has changed from 1.5.6. Have others run into this? Are there any suggested