From: Zubair Ansari Date: 2010-05-11T21:25:20+09:00 Subject: Re: How to compair two object values.plz help me i write that co Brian Candler wrote: > Zubair Ansari wrote: >> puts line >> puts ie.text_field(:name,"userId").value >> puts "Wrong Value of User ID" > > Change those first two to > puts line.inspect > puts ie.text_field(:name,"userId").value.inspect > > to get a better idea of what's different. My guess is that one contains > a newline and the other doesn't; line.chomp! is your friend. ITs show this how to remove \n this plz help "abcd@test.com\n" "abcd@test.com" -- Posted via http://www.ruby-forum.com/.