From: Raj pal Date: 2013-03-23T00:59:08+09:00 Subject: Re: question on watir hi, I am using that model dialog box again where again I am having this attaching problem, I have written your code of below, It's perfectly working, thank you very much, But I could understand this code is working, each and every time you are passing value through 1 to 100. But what is exactly happening when it encounters Watir::Browser.attach( :index, 1 ) or Watir::Browser.attach( :index, 2 ) ) ? could you explain me? 100.times { |t| puts ( Watir::Browser.attach( :index, t ) ).title rescue break } RAJ -- Posted via http://www.ruby-forum.com/.