Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Override
- public void afterInvocation(IInvokedMethod method, ITestResult testResult, ITestContext context) {
- boolean webTest = method.isTestMethod() && method.getTestMethod().getMethod().getAnnotation(WebTest.class) != null;
- if (webTest) {
- if (!testResult.isSuccess()) {
Add Comment
Please, Sign In to add comment