Re: [Wtr-general] Using logger generating error

2006-11-19 Thread Prashant Bhatia
Dude, Has anyone told you so far that you are awesome & genious at the same time. That exactly (same file name) was the problem and now it is solved. Thanks dude Prashant - Posted via Jive Forums http://forums.openqa.org/thread.j

Re: [Wtr-general] how to access icon's button

2006-11-19 Thread Nie Guoqiang
I use the same version with you. But I have changed the function of wait() in watir.rb. So it's my fault:) > No problem. Out of curiosity, what versions are you using? I'm using > ruby 1.8.4 and Watir 1.4.1 > > Cheers, > Daniel. > > > > On 16/11/06, Nie Guoqiang <[EMAIL PROTECTED]> wrote: >

Re: [Wtr-general] Using logger generating error

2006-11-19 Thread Nathan
Hey Prashant, I'm not exactly sure why your seeing those errors specifically. I tried a couple of things to see if I could find out what was going on. First I copied your code into two separate files. I copied require 'watir' include Watir $logger = Logger.new('C:\WebTest\MentorAppTestScript

Re: [Wtr-general] Find parent table index from a specific element within

2006-11-19 Thread Lonny Eachus
Personally, I would be happy with just a parent() method. I.e, if you have a page element identified, just:     parent(element) One can always do parent.class to find out what it is. Or something roughly like this might be useful:     parent_info = identify_parent(element) [This wou