Skip to content

Screen Capturing

Kevin Beier edited this page Nov 17, 2022 · 11 revisions

1. Screen Capturing use-Case v. 1.0

1.1 Brief Description

This use case a simple one. The main purpose is that the user can select a screen/window and additionally specify an area in this view with a rectangle.

2. Flow of Events

2.1 Basic Flow

The flow how to start the screen recording is as followed

  1. You need to either select a screen or window of an application.
  2. Now you can start the screen capture and then the user interface will update and will show you a preview of the selected screen/window.
  3. Now you can define a specific location where the information are displayed.
  4. Then you need to define the Regular Expression.
  5. And now the information will be captured, processed and provided via various interfaces.

2.2 Activity Diagram

screen-recording-use-case-diagrams.png

2.3 Feature Files

Feature: Use Case Screen Capturing
  As a user
  I have a specific part of a Screen on my Computer and want to capture it for example a game. 
  I want to define an area so the program knows where it has to capture my specific part on the screen.
  Therefore I want to choose on which screen or application it should capture the screen.

  Scenario: I want to capture my screen
    Given there are no screens selected
    When I open the application
    Then I see a message that I have to define a capture area
    Then I select a screen to put my capture area on

  Scenario: I want to capture my screen
    Given there are no capture areas defined
    When I selected a screen
    Then I see a message that no capture areas are defined
    Then I define a capture area

  Scenario: I want to capture content from a game with regex
    Given there is no regex given
    When I defined a capture area
    Then I see a message that there is no regex given
    Then I see a button to add a regex

  Scenario: I want to remove a capture area
    Given there are Capture areas defined
    When I click on one area I can choose between delete and edit
    Then I click on delete
    Then the selected area disappears

  Scenario: I want to edit a capture area
    Given there are capture areas given
    When I click on one area I can choose between delete and edit
    Then I click on edit
    Then I can edit the selected area

2.4 Mock-up

2.4.1 Initial draft

This was the first draft of creating the main view of the application with panel where and how to select a screen or a window.

image.png

2.4.2 First design iteration

After another design iteration, we landed on this design, which will probably be just a temporary solution, because there probably are many things we didn't consider into this design iteration.

image.png

3. Special Requirements

(n/a)

4. Preconditions

(n/a)

5. Postconditions

(n/a)

6. Extension Points

(n/a)

Clone this wiki locally