Hi,

In-order to identify UI test failures in automation test execution what
would be the best approach?
Some Suggestions are as below which I have come across.

   - Use a TestNG listener [01] to capture the current screen on a test
   failure.
   - try-catch in asserts and bind screen-capturing to error handling
   - Any other proper way?

[01]
http://blog.alvarus.org/2014/05/selenium-capturing-screenshots-of-failed-tests-in-junit-and-testng/

Thanks!
- Ayesha
-- 
*Ayesha Dissanayaka*
Software Engineer,
WSO2, Inc : http://wso2.com
<http://www.google.com/url?q=http%3A%2F%2Fwso2.com&sa=D&sntz=1&usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg>
20, Palmgrove Avenue, Colombo 3
E-Mail: aye...@wso2.com <ayshsa...@gmail.com>
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to