Context Visualization for Test Automation Error Analysis

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current test automation tools take a long time to execute end-to-end tests and do not provide visual feedback during testing, making it difficult to identify and locate issues in real-time, as they lack context visualization, leading to missed dynamic behaviors and time-consuming error derivation from logs.

Innovation Solution

A system and method for generating context visualization during test automation by detecting the inspection of elements within a user interface and presenting a graphical representation with associated information, allowing users to view the testing context in real-time and understand errors as they occur.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If test automation tools execute end-to-end tests automatically, then testing coverage and reliability are improved, but test execution time increases significantly (approximately 40 minutes) and real-time feedback is lost

Engineering Contradiction:
Improvetesting reliabilityVSAvoidtest execution time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The system implements real-time visual feedback during test execution by capturing and displaying screenshots of the user interface elements being tested. This allows users to see the current state of the application and the element under inspection without waiting for test completion, effectively providing continuous feedback throughout the 40-minute test execution period.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The system performs preliminary actions by pre-capturing and storing screenshots of UI elements during the test execution process. These screenshots are prepared in advance and can be quickly displayed when needed, allowing rapid visualization of element states without adding significant overhead to the test execution time.

Inventive Principle:
Principle #10Preliminary action

2Measurement precision

If test automation tools provide detailed logging of test execution, then measurement precision is improved, but ease of operation deteriorates as users must manually derive error contexts from logs

Engineering Contradiction:
Improveerror detection precisionVSAvoiderror analysis ease
Core Design Contradiction:
Measurement precisionVSEase of operation

Solution Approach 1:

Instead of requiring users to interpret text logs, the system creates visual copies (screenshots) of the actual UI elements and their states at the time of inspection. These visual copies preserve all contextual information while being immediately understandable, eliminating the need to manually derive error contexts from text-based logs.

Inventive Principle:
Principle #26Copying

Solution Approach 2:

The system introduces an intermediary visualization layer between the test execution logs and the user. Rather than presenting raw log data, the system translates log information into visual screenshots that show the actual UI context, making error analysis intuitive without losing measurement precision.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Measurement precision

If test automation tools inspect UI elements during testing, then measurement precision is improved, but loss of information increases as dynamic behaviors (full screen loaders, masks, alerts) are missed

Engineering Contradiction:
Improveelement inspection precisionVSAvoiddynamic behavior information
Core Design Contradiction:
Measurement precisionVSLoss of information

Solution Approach 1:

The system adds a visual dimension to element inspection by displaying screenshots alongside or instead of text-based inspection results. This visual dimension captures dynamic behaviors like full-screen loaders, masks, and alerts that may not be properly represented in text logs, preserving information that would otherwise be lost.

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

4Reliability

If test automation tools provide comprehensive test results, then reliability is improved, but device complexity increases as no visual feedback mechanism is provided during test execution

Engineering Contradiction:
Improvetest result reliabilityVSAvoidsystem complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The system implements a multi-functional visualization component that serves multiple purposes: displaying element inspection results, showing test execution status, capturing dynamic UI behaviors, and providing error context visualization. This single visual feedback mechanism replaces what would otherwise require multiple separate systems, reducing overall complexity while maintaining comprehensive test results.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Data Source

PatentUS11886330B1System, method, and computer program for generating a context visualization during test automation
Publication Date: 2024.01.30 AMDOCS DEV LTD
  • US11886330B1 patent drawing
  • US11886330B1 patent drawing
  • US11886330B1 patent drawing

AI summary

As described herein, a system, method, and computer program are provided for generating a context visualization during test automation. In use, during automated testing of a user interface application, an inspection of an element within a user interface of the user interface application is detected. Additionally, in response to detecting the inspection of the element, a visualization of the element within the user interface is generated. Further, the visualization of the element within the user interface is presented with information associated with the inspection of the element.