Forum Discussion
2 Replies
Sort By
- 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
Related Content
- 3 years agoWarseng
- 3 years agoenriquebravo
- 11 years agoitaykaldi
- 6 years agormnrdi
Recent Discussions
- 2 hours agosimonaferrara
- 11 hours agoSubhraDas
- 2 days agotramuntana