variable send value as true or false instend to string

K

King Maker

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,981
Messages
2,570,188
Members
46,733
Latest member
LonaMonzon

Latest Threads

Top