Inspecting an Application Blueprint Model in Test Modeller
    • Dark
      Light

    Inspecting an Application Blueprint Model in Test Modeller

    • Dark
      Light

    Article Summary

    Application Blueprints are models of the logic recorded across all journeys in a session.

    The flowchart models are directed graphs that visually represent the cause and effect logic of the recorded activity. They are made up of:

    1. Processes: the blocks in the flowchart model. These can be either actions or events. Actions exercised by the manual tester or automated test are represented by yellow blocks. Events such as URL changes are represented by red blocks.
    2. Outputs and edges: The arrows connecting the blocks. These represent transitions in the system logic.

    A linear journey or "path" through a model is equivalent to a set of "If … then …" statements that reflect a singular recorded journey through the application logic. Decisions occur when a given process block has multiple edges. The model then collates collectively all recorded journeys, with the overlapping test steps consolidated in visual form.

    The Models serve as an accelerator to test case generation using Test Modeller. They are mathematically precise and can therefore be imported to new or existing models in the Test Modeller Workspace.

    You can then build additional logic around the recorded activity, before applying the automated test case generation algorithms to generate an optimised set of Test Cases from the recorded activity. The generated tests will, at a minimum, cover the same logic as the recorded tests, but in potentially fewer tests; however, the recorded activity also provides a starting point to begin creating a more comprehensive set of tests, optimised based on time and risk factors.


    Journey Overview Models

    The default Application Blueprint models are the highest level, displaying the interrelations between pages in the recorded activity.

    To view an overview model, log-in to Test Modeller and select the context that corresponds to the relevant recorded journeys. Next, navigate to the "Blueprint" tab, under "Test Insight" in the sidebar. The overview model will display the relationship between individual pages exercised in the recorded activity. 

    Each page is represented by a silver block:

    Clicking the plus for a given page will display the logical model of activity executed against that page:

    You can also select "Expand All" and "Collapse All" to display all or no page activity in an overview Model.

    The models are interactive. Process blocks and page blocks can be arranged by clicking and dragging them. Clicking a process block or arrow will also display the information recorded during that activity. The "Attributes" tab displays the recorded interaction activity for a selected block or arrow:

    The "Data" tab allows you to inspect the data associated with given user interactions. To view the data, select a yellow interaction block, and navigate to the data tab. Next, select the "Data Matrix" option. This will display the data entered into a given element:

    In the above example, a user selected the "User Name" element on a form, and typed "tom" and the tab key. This was part of a journey recorded under the name "Valid log-in".

    The "Image" tab displays a screenshot of the page at the time of the interaction, and an image of the element being interacted with.

    An Application Blueprint displays the logic that has been recorded across all journeys executed against a given page. The "Journeys" tab displays the journeys that have exercised the selected block or edge. A link is provided to the journey entry in the Workspace. The "Highlight All" button will highlight the entire journey that a given block features in, with every edge involved in those journeys in red:

    Below the model browser, information is provided for each interaction and event contained in a model. Scroll down to view the recorded description, the object ID, interaction type, and any test data values entered: