资 源 简 介
What is Narcissus?
Narcissus is a java API helping testing web applications by checking how they are displayed.
How does Narcissus work?
Making use of Selenium(version 2), Narcissus allows taking screenshots of any element on a web page and compare it with a reference, pixel by pixel.
Tests results are available in XML format and are then viewable using Narcissus-UI - a Swing-based application, making it very easy to see what the differences are.
Narcissus can work in a server-client mode for when the Selenium tests are executed on a distant computer.
A tools project is also present acting as a gathering of other potentially interesting uses to dig deeper, as a page-by-page PDF comparator for example (if you wish to test the stability of your PDF generation after updating the libary generating the PDFs).
For an explanation just a little deeper than this, please see "Narcissus High level presentation.pptx" in t