Last Operation Result returns blank
I have a master VBA script that loops through a spreadsheet header row to get the name of the keyword script that I want to run next, then feeds that name from the header as a variable to run that script. I am now trying to get the result of that keyword test, pass, warning or fail, and write that back to the spreadsheet in the row below the header. I know how to write back to the spreadsheet but what I have a problem with is getting a value for the result, it is always returning blank so it always goes to the else even though the keyword test passed.
I have tried the following that I found in other topics, but always blank. Is there something I am missing?
LastResult = Eval("KeywordTests." + testCaseName + ".Run")
If (LastResult = True) Then
Call Log.Message("Pass", "")
Else
Call Log.Message("Fail", "")
End If
If Eval("KeywordTests." + testCaseName + ".Run") Then
Log.Message "Test returned True"
Else
Log.Message "Test returned False"
End If
I have also tried this through just a simple keyword test, but still returns blank.