if there is any failures/errors for any transaction in the script , I want to view those error message in the log files,
Please help me how can we handle this type of scenarios
Transaction error messages is defined as the error messages reported during the transaction’s active life.
When integrated with other tools, like NV or BPM, we did have functions to report these error messages grouped by transaction. So one possible approach is using BPM or NV.
If just rely on log file, I'm afraid you've to search for error messages which appear between a transaction start message and related transaction end message in log file, which should be treat as the transaction's error messages .