We have a lot of tests that do web_reg_find at the beginning, then check the count at the end and lr_end_transaction("transaction name", LR_FAIL) at the end if the count is not what we expect. However LR_FAIL doesn't seem to do anything. Even when the script logically fails, the results and reports show it as passing. What is LR_FAIL supposed to do?
BTW, I have noticed that not checking the result of web_reg_find at all causes an error message to get written to the log if the string was not found and the execution is counted as failing.