[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] RE: [qftestJUI] Comparing Screenshots - Best Practices?
Hello, well, I am done with a first version (pre-alpha, I think) and I would like to share my current state with you. Attached you will find the file "image.screenshot.py" which actually is a file in the package "image" (place it as screenshot.py in a directory "image" and don't forget the __init__.py-file). It contains the tips as provided by Gregor (Thanks for the hint again, Robert) to take a snapshot of a component and of the complete screen. And to answer my question about checking: I added the file assertion.screenshot.py (meant to be located in the package "assertion" and named screenshot.py again) which depends on image.screenshot. It is able to compare to Image files or to compare the actual screenshot of a component with a previous screenshot. As already said: This is my very first version and any improvement hints are welcome. Kind Regards, Mark -- Mark Michaelis Software Engineer Quality Assurance CoreMedia AG Ludwig-Erhard-Str. 18 20459 Hamburg, Germany www.coremedia.com ------------------------------------------------------- Any Content, Anywhere, in a Trusted Universe: CoreMedia CMS and CoreMedia DRM Attachment:
assertion.screenshot.py Attachment:
image.screenshot.py Attachment:
smime.p7s
|