Guest User

Untitled

a guest
Jan 22nd, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. @Override
  2. public void afterInvocation(IInvokedMethod method, ITestResult testResult, ITestContext context) {
  3. boolean webTest = method.isTestMethod() && method.getTestMethod().getMethod().getAnnotation(WebTest.class) != null;
  4. if (webTest) {
  5. if (!testResult.isSuccess()) {
Add Comment
Please, Sign In to add comment