From: King Maker Date: 2010-05-27T14:01:14+09:00 Subject: variable send value as true or false instend to string Method: def Readfrom_file(fieldata,log,result) @fielddata = fieldata @log = log @result = result puts @fielddata puts @log puts @result end if(ie.text_field(:name,"firstName").value == @FirstName) @result = 'PASSED' @log = log.info "First Name is correct" else @result = 'FAILED' @log = log.info "First Name not Match" end Readfrom_file(ie.text_field(:name,"firstName").name,@log,@result) the log value send as a true or false if i want to send the string what i do... plz help -- Posted via http://www.ruby-forum.com/.