Forum Discussion
- murugans1011Regular ContributorHI to handle error posted in log tc has on log error event and to handle script error u can use builtin error mechanism of scripting languages
For more details
Handling Exceptions in Script - darshan_gandhiOccasional ContributorHi Satya,
You can use Log.message if you just want to post it as a message in Test logs..it will in this case not appear as Fail.
Also you can disable the logging results to Test Result by Log.enabled = false and make it as True when you require to post something on Test Logs.
Let me know in case you require additional information.
Cheers,
Darshan