continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r1547305 - /continuum/branches/CONTINUUM-2713/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/listener/CaptureScreenShotsListener.java
Date Tue, 03 Dec 2013 08:00:50 GMT
Author: brett
Date: Tue Dec  3 08:00:49 2013
New Revision: 1547305

URL: http://svn.apache.org/r1547305
Log:
record where the screenshot is captured for cross-referencing output

Modified:
    continuum/branches/CONTINUUM-2713/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/listener/CaptureScreenShotsListener.java

Modified: continuum/branches/CONTINUUM-2713/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/listener/CaptureScreenShotsListener.java
URL: http://svn.apache.org/viewvc/continuum/branches/CONTINUUM-2713/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/listener/CaptureScreenShotsListener.java?rev=1547305&r1=1547304&r2=1547305&view=diff
==============================================================================
--- continuum/branches/CONTINUUM-2713/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/listener/CaptureScreenShotsListener.java
(original)
+++ continuum/branches/CONTINUUM-2713/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/listener/CaptureScreenShotsListener.java
Tue Dec  3 08:00:49 2013
@@ -103,6 +103,9 @@ public class CaptureScreenShotsListener
             return;
         }
         String fileBaseName = methodName + "_" + className + ".java_" + lineNumber + "-"
+ time;
+
+        System.out.println( "Capturing screenshot at " + fileBaseName + ".png" );
+
         try
         {
             selenium.windowMaximize();



Mime
View raw message