Continuum
  1. Continuum
  2. CONTINUUM-2268

Continuum Webapp Tests Capture Screenshot for AbstractSeleniumTest.java

    Details

    • Type: Test Test
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4.0 (Beta)
    • Component/s: Testing
    • Labels:
      None
    • Environment:
      Linux
    • Flags:
      Patch

      Description

      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

        Activity

        Bernard Lago created issue -
        Bernard Lago made changes -
        Field Original Value New Value
        Attachment CaptureScreenshotForAbstractSeleniumTest.patch [ 42652 ]
        Jose Morales Martinez made changes -
        Assignee Jose Morales Martinez [ jomm ]
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Closed [ 6 ]
        Fix Version/s 1.4.0 [ 15106 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 08:36:01 UTC 2015 [ 1428222961749 ]
        Mark Thomas made changes -
        Workflow jira [ 12710920 ] Default workflow, editable Closed status [ 12740464 ]
        Mark Thomas made changes -
        Flags Patch [ 10430 ]
        Patch Submitted Yes [ 10763 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 21:12:18 UTC 2015 [ 1428268338676 ]
        Mark Thomas made changes -
        Workflow jira [ 12948340 ] Default workflow, editable Closed status [ 12983764 ]

          People

          • Assignee:
            Jose Morales Martinez
            Reporter:
            Bernard Lago
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development