On Sat, Aug 4, 2012 at 10:41 AM, Sohail Mirza <mrz...@gmail.com> wrote: > NoMethodError: undefined method `text_field' for nil:NilClass > => 4: return $ie.text_field(:id,"i0116")
The error message says $ie is nil, instead of pointing to a browser. Did you initialize $ie? > Kindly advise what is wrong in above code? There are a lot of things wrong with the code. You should read a book on Ruby. Željko -- filipin.eu -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com