From: Joel Pearson Date: 2013-04-04T23:08:21+09:00 Subject: Re: question on watir Raj pal wrote in post #1104394: > My aim is to produce that four lines code for all fields. That sounds like a very repetitive way of going about this. In general, code should not be repeated. If the only thing that changes is the ID, then you should focus your efforts on finding something which doesn't change, or establishing a pattern of behaviour so you can write a method which handles this rather than writing out an individual line of code for each case. -- Posted via http://www.ruby-forum.com/.