Uploaded image for project: 'Xray for Jira'
  1. Xray for Jira
  2. XRAY-2309

As a user, I should be able to import the Robot Framework's screenshots to an execution

    XporterXMLWordPrintable

Details

    • NOK

    Description

      As a user, I should be able to import the Robot Framework's screenshots to an execution, based on embed screenshots taken using the SeleniumLibrary

      In the execution page, the Results' section should have an extra column named Images or Evidence and each step should have its correspondent Robot screenshot. 

       

      Please see attached output.xml after configuring SeleniumLibrary to save the screenshots embed as follows (by curiosity, you can also check the log.html to have an idea of  how the screeenshots relate to the keywords),

       

      *** Settings ***
      Library SeleniumLibrary screenshot_root_directory=EMBED
      #Test Setup Open browser ${URL} ${BROWSER} ${REMOTE_URL}
      #Suite Teardown Close All Browsers
      *** Variables ***
      ${URL} https://...
      ${REMOTE_URL} http://192.168.56.1:4444/wd/hub
      ${BROWSER} Chrome
      
      *** Test Cases ***
      Confirm login popup is accessable
       Open browser ${URL} ${BROWSER}
       Set window size 350
       Capture Page Screenshot
       ...
      
      
      

      Attachments

        1. log.html
          2.28 MB
        2. output.xml
          2.08 MB
        3. report.html
          224 kB
        4. Screenshot_1.png
          Screenshot_1.png
          39 kB

        Issue Links

          Activity

            People

              nicolas.rica Nicolas Rica
              nmms Nuno Santos
              Votes:
              9 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: