From: Raj pal Date: 2013-03-27T22:31:10+09:00 Subject: Re: question on watir Regarding NilClass, the code I gave is assuming that the text field is inside a label, like in the gmail page. If this is not the case, you will get nil for the parent's label. You need to adapt the code to the structure of your page. ok RAJ -- Posted via http://www.ruby-forum.com/.