Salesforce Fact #101 | Proceed if no error

In testmethod, whenever an error happens the next lines are not executed within the testmethod. However, the next testmethod is executed as usual. But the test fails showing failed status for the method in which the error was encountered.

Attached are the screenshots.





Comments

Popular posts from this blog

Salesforce Fact #192 | Call batch apex from flow

Salesforce Fact #457 | Get current user role name in flow