During sciprt failure, how we need to post an issue thru defect tracking.
Please let me know to post the defects thru defect tracking tool
InstructorAshish Replied on 15/02/2020
In this case, you can write your own custom code to report the defect.
is there any example of pattern to report an issue.
InstructorAshish Replied on 18/02/2020
You can create a reportDefect method with your own custom code and can call that method wherever you are facing the issue while execution.
You can use try-catch block and can call this reportDefect method in catch block