Re: [Wtr-general] undefined method `[]' for nil:NilClass (NoMethodError) error at the end of array???

2007-01-24 Thread mi
Whoever you are, you are FREAKING FUNNY and made an excellent point here:-) So, Paul, how many children do you have? Well, my first boy would be 0, and my second son would be 1, so I guess I have 1 child. Even the Cat in the Hat's best friends are Thing 1 and Thing 2. I would have like

Re: [Wtr-general] undefined method `[]' for nil:NilClass (NoMethodError) error at the end of array???

2007-01-22 Thread mi
sorry, i keep forgetting that the array starts at 0:-( mi wrote: t = [[a, b], [aa, bb]] 0.upto (t.length) { |x| puts t[x][0] } For some reason i'm getting the following error at the end of the loop, any idea WHY??? a aa undefined method `[]' for nil:NilClass (NoMethodError) Thanks

[Wtr-general] undefined method `[]' for nil:NilClass (NoMethodError) error at the end of array???

2007-01-22 Thread mi
t = [[a, b], [aa, bb]] 0.upto (t.length) { |x| puts t[x][0] } For some reason i'm getting the following error at the end of the loop, any idea WHY??? a aa undefined method `[]' for nil:NilClass (NoMethodError) Thanks in advance! ___ Wtr-general

[Wtr-general] Want to run my test in slow speed??

2006-07-31 Thread mi
What exactly do i have to code in Watir to run my test in slow mode so i can see what is typing during debugging?? Thanks! ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] clicking on a link using sub-text of the link text?

2006-07-28 Thread mi
I tried sending my html but it was bigger then 40K so here is the link i get when i do a ie.show_links http://test.server.com/junk.php?test=junk12345http://test.server.com/junk.php?test=junk12345 So basically, the link url is repeated Zeljko Filipin wrote: It would be easier if

[Wtr-general] clicking on a link using sub-text of the link text?

2006-07-27 Thread mi
Hi all, I'm not sure whether it's even possible to do that BUT let me try asking here is a one of the link in my web page that i need to click.. content starts here... /..click below: {blank line} http://{static-text}/test.php?activate=blah, blah, blah/ I tried ie.link{:url,

Re: [Wtr-general] clicking on a link using sub-text of the link text?

2006-07-27 Thread mi
, that might be why it's not working Xavier Noria wrote: On Jul 27, 2006, at 7:21 PM, mi wrote: here is a one of the link in my web page that i need to click.. content starts here... /..click below: {blank line} http://{static-text}/test.php?activate=blah, blah, blah/ I tried

[Wtr-general] Very basic Watir/Ruby question?

2006-07-26 Thread mi
Hi all, I'm very new to Watir/Ruby stuff:-( I'm using Simple module to open up a browser and load a url using new_browser_at(url) and am also using fill_text_field() and click_button_with_value() to fill all the text fields and button click on the page. Now there is a checkbox on the page

Re: [Wtr-general] for loop syntax??

2006-07-19 Thread mi
these requires are already in it. --Mark -Original Message- From: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]] On Behalf Of mi Sent: Tuesday, July 18, 2006 4:23 PM To: wtr-general@rubyforge.org mailto:wtr

[Wtr-general] for loop syntax??

2006-07-18 Thread mi
Hi all, I'm using a for loop to access arrays to fill all the text fields in my forms. For some reason, i'm getting the following error at the end of the for loop execution??? c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:1928:in `assert_exists': Unable to locate object, using name and