Revision: f289d2dfc850
Author:   Janne Härkönen <[email protected]>
Date:     Thu May  5 05:33:59 2011
Log:      screenshot: mention 2.6 changes in docs

Update issue 733
Status: Review
Cc: pekka.klarck
http://code.google.com/p/robotframework/source/detail?r=f289d2dfc850

Modified:
 /src/robot/libraries/Screenshot.py

=======================================
--- /src/robot/libraries/Screenshot.py  Thu May  5 02:18:41 2011
+++ /src/robot/libraries/Screenshot.py  Thu May  5 05:33:59 2011
@@ -14,7 +14,6 @@

 import sys
 import os
-import tempfile
 if sys.platform.startswith('java'):
     from java.awt import Toolkit, Robot, Rectangle
     from javax.imageio import ImageIO
@@ -76,7 +75,7 @@
Note that prior to Robot Framework 2.5.5 the default screenshot location
     was system's temporary directory.

-    *Changes in Robot Framework 2.5.5*
+    *Changes in Robot Framework 2.5.5 and Robot Framework 2.6*

     This library was heavily enhanced in Robot Framework 2.5.5 release. The
changes are listed below and explained more thoroughly in affected places.
@@ -87,7 +86,13 @@
       were added. These keywords should be used for taking screenshots in
       the future. Other screenshot taking keywords will be deprecated and
       removed later.
-    - `log_file_directory` argument was deprecated everywhere it was used.
+
+    In Robot Framework 2.6, following additional changes were made
+
+    - `log_file_directory` argument was removed altogether.
+    - `Set Screenshot Directories` keyword was removed
+    - `Save Screenshot`, `Save Screenshot To` and `Log Screenshot`
+      keywords were deprecated.
     """

     ROBOT_LIBRARY_SCOPE = 'TEST SUITE'

Reply via email to