From: Raj pal Date: 2013-04-04T18:31:15+09:00 Subject: Re: question on watir hi, the gmail, If i have to automate the gmail account, then I will write the code like begin $browser.text_field(:id,'Gmail').set('raja') rescue =>e puts e.message puts e.backtrace end begin $browser.text_field(:id,'password').set('raja') rescue =>e puts e.message puts e.backtrace end Likewise, if i have to automate 1000field, then it would 4000 lines of code, Is there any way could I able to put into the loop. My problem is, i couldn't able to synchronize the id and value.Do you have any solution for this? RAJ -- Posted via http://www.ruby-forum.com/.