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/.