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

Forum statistics

Threads
474,262
Messages
2,571,059
Members
48,769
Latest member
Clifft

Latest Threads

Top