I have a process. xaml file which has five test cases(invoked) inside it.
I have a situation where i need to individually catch the exceptions of each test case and mark that specific test case as pass/fail.
The problem is that the whole process.xaml file is in a try block and if I put the individual test cases in try-catch blocks, the catch block of “process.xaml” file will not work(which should not be the case).
Please help on this scenario
I have a thought of using throw exception inside catch blocks. But, process.xaml catch block needs specific exceptions(for logs) and all the specific exceptions cannot be handled manually using throw exception statements.