How to post the defect | Selenium Forum
J
Jai Jagadeesha Posted on 14/02/2020

HI,

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

Thanks

Jai 


A
Ashish Thakur Replied on 15/02/2020

In this case, you can write your own custom code to report the defect.


J
Jai Jagadeesha Replied on 15/02/2020

is there any example of pattern to report an issue.

Thanks

Jai 


A
Ashish Thakur 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