Test case doesn’t recognize StepErrorException class. You have to either import it or use full path as you did in previous throw statements.
Related Topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Exception Handling for Custom Keywords | 10 | 5626 | February 17, 2020 | |
Class library path required in example for try-catch exception handling | 1 | 619 | March 28, 2018 | |
Exception Handling : Catch block is not working | 2 | 932 | February 1, 2020 | |
Test Case failure handling/options | 12 | 2218 | February 2, 2023 | |
Try Catch Report Issue in Katalon | 9 | 7103 | November 2, 2019 |