From issues-return-3849-apmail-continuum-issues-archive=continuum.apache.org@continuum.apache.org Wed Jun 17 22:34:34 2009 Return-Path: Delivered-To: apmail-continuum-issues-archive@www.apache.org Received: (qmail 29847 invoked from network); 17 Jun 2009 22:34:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 17 Jun 2009 22:34:34 -0000 Received: (qmail 36082 invoked by uid 500); 17 Jun 2009 22:34:45 -0000 Delivered-To: apmail-continuum-issues-archive@continuum.apache.org Received: (qmail 36044 invoked by uid 500); 17 Jun 2009 22:34:45 -0000 Mailing-List: contact issues-help@continuum.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@continuum.apache.org Delivered-To: mailing list issues@continuum.apache.org Received: (qmail 36032 invoked by uid 99); 17 Jun 2009 22:34:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Jun 2009 22:34:45 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [63.246.2.115] (HELO codehaus01.managed.contegix.com) (63.246.2.115) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Jun 2009 22:34:35 +0000 Received: from codehaus01.managed.contegix.com (localhost.localdomain [127.0.0.1]) by codehaus01.managed.contegix.com (Postfix) with ESMTP id 2FE8A14A81B6 for ; Wed, 17 Jun 2009 17:34:15 -0500 (CDT) Message-ID: <14548105.15611245278055162.JavaMail.haus-jira@codehaus01.managed.contegix.com> Date: Wed, 17 Jun 2009 17:34:15 -0500 (CDT) From: "Wendy Smoak (JIRA)" To: issues@continuum.apache.org Subject: [jira] Commented: (CONTINUUM-2268) Continuum Webapp Tests Capture Screenshot for AbstractSeleniumTest.java In-Reply-To: <29553844.681245144435143.JavaMail.haus-jira@codehaus01.managed.contegix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 4e90ceb663894a42f12c0e28abbab431 X-Virus-Checked: Checked by ClamAV on apache.org [ http://jira.codehaus.org/browse/CONTINUUM-2268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=180744#action_180744 ] Wendy Smoak commented on CONTINUUM-2268: ---------------------------------------- Thanks, Bernard, this is really neat! Applied on trunk r785845 I'm leaving the issue open for documentation, src/site/apt/index.apt (or a another page if that gets too long) needs to talk about this. > Continuum Webapp Tests Capture Screenshot for AbstractSeleniumTest.java > ----------------------------------------------------------------------- > > Key: CONTINUUM-2268 > URL: http://jira.codehaus.org/browse/CONTINUUM-2268 > Project: Continuum > Issue Type: Test > Components: Testing > Environment: Linux > Reporter: Bernard Lago > Attachments: CaptureScreenshotForAbstractSeleniumTest.patch, ContinuumTestCaptureAssertionError.patch > > > The attached patch includes the following changes: > Changed continuum-webapp-tests/pom.xml selenium version from 0.9.2 to 1.0.1 > Added a captureEntirePageScreenshot to AbstractSeleniumTest.java > Added a catch block for every failed assertion to do a screen capture and save them to target/screenshots directory > Formatted the filename of the captured file as "methodName(className.java:lineNumber)-time.png" > Additional Info: > Maven version: 2.0.10 > Java version: 1.5.0_16 > OS name: "linux" version: "2.6.27-14-generic" arch: "i386" Family: "unix" > Patch created at revision 785116. > Build Results: > Results : > Tests run: 167, Failures: 0, Errors: 0, Skipped: 0 -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira