Automated Test Script Generation from Video Analysis

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current software testing methods require manual intervention to recreate issues, as developers must watch video recordings and manually identify user actions to generate test scripts, which is time-consuming and prone to errors.

Innovation Solution

An automated system that uses a video scanner to analyze software test videos, identify user actions, and generate test scripts without human intervention, employing image recognition technology to simulate user interactions.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If manual intervention is used to generate test scripts by watching video recordings, then developers can identify user actions, but the process is time-consuming and prone to errors

Engineering Contradiction:
Improveaccuracy of identifying user actionsVSAvoidtime required for script generation
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent replaces the mechanical manual process of watching videos and noting down actions with an automated computer vision system. The system uses image recognition algorithms to automatically detect and track user interactions (clicks, hovers, keystrokes) from video frames, eliminating manual intervention while maintaining accuracy in identifying user actions.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

Solution Approach 2:

The system enables self-service automation where the test script generation process performs itself without human assistance. The automated system captures video of user interactions, processes the video frames to identify actions, and generates executable test scripts autonomously, freeing developers from this repetitive task.

Inventive Principle:
Principle #25Self-service

2Reliability

If manual script generation is performed, then developers can create test scripts, but the likelihood of missed steps increases

Engineering Contradiction:
Improvecompleteness of test scriptVSAvoidcomplexity of automated system
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent replaces manual script generation with an automated computer vision system that processes video frames to identify user actions. This substitution eliminates human errors and missed steps while maintaining reliability, as the automated system consistently captures all interactions without fatigue or distraction.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

Solution Approach 2:

The system incorporates feedback mechanisms where the automated detection process continuously monitors video frames, identifies user actions, and validates the generated test script against the original video sequence. This feedback loop ensures completeness and accuracy of the test script generation.

Inventive Principle:
Principle #23Feedback

3Productivity

If developers focus on debugging, then debugging efficiency improves, but manual script generation still requires significant time investment

Engineering Contradiction:
Improvedebugging efficiencyVSAvoidtime for manual script generation
Core Design Contradiction:
ProductivityVSLoss of time

Solution Approach 1:

The system performs self-service automation of test script generation, allowing developers to focus exclusively on debugging. The automated system independently captures video, processes frames to identify user actions, and generates executable test scripts without requiring developer time or intervention.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The system performs preliminary action by automatically generating test scripts before the debugging process begins. This pre-processing eliminates the need for developers to manually create scripts during debugging, allowing them to immediately focus on analyzing and fixing software defects.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS10019346B2Generating software test script from video
Publication Date: 2018.07.10 MICRO FOCUS LLC
  • US10019346B2 patent drawing
  • US10019346B2 patent drawing
  • US10019346B2 patent drawing

AI summary

Methods and apparatus are disclosed to generate software test script from video. Example methods disclosed herein include determining a user action in a frame of a video comprising recorded testing of software. The example method also includes identifying an action parameter corresponding to the user action. The example method also includes based on the action parameter, generating without user intervention a script to execute on the software.