Uploaded image for project: 'Arquillian'
  1. Arquillian
  2. ARQ-1726

Reporter does not consider screenshots taken manually in test methods

    XMLWordPrintable

Details

    Description

      Beside screenshots taken automatically before / after test method according to configuration, user can take screenshots manually with screenshooter injection like this

      @ArquillianResource Screenshooter screenshooter;
      
      public void test()
      {
          screenshooter.takeScreenshot();
      }
      

      It holds for Recoder injection point as well when user can record videos manually in test method like

      @ArquillianResource Recoder recorder;
      
      public void test()
      {
          recorder.start();
          // something is happening
          recorder.stop();
      }
      

      However, these screenshots and videos does not appear in final report file because when it is taken directly by injection interface, it does not fire any screenshot report event. Logic behind screenshooter and recorder knows this because it invokes screenshooter itself but concrete screenshooter implementation does not fire them.

      There needs to be a way how to report these screenshots which were taken manually as well.

      Taking of screenshots manually is the "last chance" for a user to take them exactly where he needs them to be taken and not showing them in report could be justified however due to user experience these should be taken into account as well definitely.

      Attachments

        Activity

          People

            smikloso Stefan Miklosovic (Inactive)
            smikloso Stefan Miklosovic (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: