My favorites | Sign in
Project Home Downloads Wiki Issues Source
New issue   Search
  Advanced search   Search tips   Subscriptions
Issue 692: Screenshot library should be supported also on Python
  Back to list
Status:  Done
Owner:  pekka.klarck
Closed:  Dec 2010

Sign in to add a comment
Project Member Reported by pekka.klarck, Nov 1, 2010
Screenshot library uses JVM capabilities and thus works only when running tests on Jython. There's no single built-in way in Python to take screenshots, but there are several external modules that support it. We could enhance the library so that on Python it checks is any of these modules installed and uses whatever it finds.
Dec 1, 2010
Project Member #1
We'll decided to make (small) 2.5.5 release ASAP.

We'll start implementing 2.6 at the beginning of January.
Labels: Target-2.6
Dec 7, 2010
Project Member #2 pekka.klarck
I want to feature creep too!
Status: Started
Owner: pekka.klarck
Labels: -Target-2.6 Target-2.5.5
Dec 7, 2010
Project Member #3 pekka.klarck
Implementation getting ready. Following extract from the updated library documentation explains how this works:

On Python you need to have one of the following modules installed to be able to use this library:
- wxPython :: :: Required also by RIDE so many Robot Framework users already have this module installed.
- PyGTK :: :: This module is available by default on most Linux distributions.
- Python Imaging Library (PIL) :: :: This module can take screenshots only on Windows.
Dec 7, 2010
Project Member #4 pekka.klarck
Remaining tasks:

1) Test different methods on different OSes.
2) Review code and docs.
3) Remove the "Jython only" statement from wiki pages

Extra task:

4) Consider should `Take Screenshot (To)` keywords also log the screenshot take. I don't see why not. `Log Screenshot` could possibly be deprecated then. This requires a separate issue.
Dec 9, 2010
Project Member #5 pekka.klarck
All remaining tasks listed in the previous comment have been done. Enhancing the library otherwise is  issue 732  and it is alrady done too.
Status: Done
Sign in to add a comment

Powered by Google Project Hosting