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_fieldname,"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_fieldname,"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
def Readfrom_file(fieldata,log,result)
@fielddata = fieldata
@log = log
@result = result
puts @fielddata
puts @log
puts @result
end
if(ie.text_fieldname,"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_fieldname,"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