Re: [Wtr-general] Question about "wait_until(n) {element.exists?}"

2007-03-28 Thread John Lolis
Thanks for the feedback everyone, Heres another way of approaching the problem. This takes the current wait_until it makes it tolerant to exceptions. This seems to have the desired effect. I don't think this should be used for any real code, just food for thought. require 'watir' include Wat

Re: [Wtr-general] Question about "wait_until(n) {element.exists?}"

2007-03-27 Thread Bret Pettichord
John Lolis wrote: > waitr 1136 > > Lets say I have the following action i want to perform > > $ie.frame('Frame').table(:id,'ID).table(:index,1)[1][2].click > > But, the this is frame heavy page, and wait sometimes doesn't play nice, so I > decide to do > > element = $ie.frame('Frame').table(:id,'I

Re: [Wtr-general] Question about "wait_until(n) {element.exists?}"

2007-03-25 Thread sathees
The Exception occurs by the timeout which you gave as (30). if you can post the Error here I can help you further! ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

[Wtr-general] Question about "wait_until(n) {element.exists?}"

2007-03-23 Thread John Lolis
waitr 1136 Lets say I have the following action i want to perform $ie.frame('Frame').table(:id,'ID).table(:index,1)[1][2].click But, the this is frame heavy page, and wait sometimes doesn't play nice, so I decide to do element = $ie.frame('Frame').table(:id,'ID).table(:index,1) wait_until(30)