AI Testing Engine for Log-Based Script Generation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Traditional software testing methods are inefficient and burdensome, often requiring extensive manual effort and failing to reflect real-user interactions, leading to irrelevant testing of software features.

Innovation Solution

The use of a testing engine and machine learning/artificial intelligence to evaluate user activity logs, generate testing scripts based on user interactions, and perform automated tests, thereby reducing manual effort and focusing on actual user behavior.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If traditional manual testing methods are used to evaluate each software feature, then comprehensive test coverage is achieved, but testing efficiency and resource consumption deteriorate

Engineering Contradiction:
Improvetest coverageVSAvoidtesting efficiency
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The system automatically generates test scripts by analyzing user activity logs without requiring manual intervention. The testing engine self-serves by converting real user interaction data into executable test cases, eliminating the need for testers to manually design tests for each feature while maintaining comprehensive coverage of actual user behaviors

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

Manual testing mechanics are replaced with an automated testing engine that uses machine learning to analyze user activity logs and generate test scripts. This substitution transforms the mechanical process of manual test design into an automated intelligent system that continuously learns from user behaviors and generates relevant tests

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

2Reliability

If testing is performed on all software features regardless of user usage, then complete feature validation is achieved, but relevance to actual user behavior deteriorates

Engineering Contradiction:
Improvefeature validationVSAvoidrelevance to user behavior
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

The system applies different testing strategies to different features based on actual user usage patterns. Frequently used features receive more comprehensive automated test generation from user activity logs, while rarely used features are tested less intensively. This local quality approach ensures testing resources are concentrated on features that matter most to actual users

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The testing scope and depth dynamically adapt based on user behavior analysis. The system continuously monitors user activity logs and adjusts test script generation to reflect changing usage patterns. Features that gain popularity automatically receive increased testing attention, while declining features receive less focus, keeping the testing strategy dynamically aligned with actual user needs

Inventive Principle:
Principle #15Dynamics

3Reliability

If extensive manual testing activities are conducted, then thorough software evaluation is achieved, but time consumption and cost deteriorate

Engineering Contradiction:
Improvesoftware evaluation qualityVSAvoidtesting time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

User activity logs are collected and analyzed in advance to pre-generate test scripts before formal testing begins. The system performs preliminary analysis of user behaviors and pre-computes test cases based on historical data, so that when testing is needed, ready-to-execute test scripts are already available, dramatically reducing the time required for actual testing execution

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The testing engine operates continuously in the background, constantly analyzing new user activity logs and generating updated test scripts. This continuous operation ensures that testing resources are always ready and up-to-date with current user behaviors, eliminating idle time and ensuring immediate testing capability when needed without requiring intensive manual preparation

Inventive Principle:
Principle #20Continuity of useful action

Data Source

PatentUS12271292B2Log-based automation testing
Publication Date: 2025.04.08 T MOBILE US INC
  • US12271292B2 patent drawing
  • US12271292B2 patent drawing
  • US12271292B2 patent drawing

AI summary

A testing engine and/or other machine learning and artificial intelligence evaluates one or more user activity logs associated with one or more users and/or one or more software applications or apps. The testing engine generates one or more testing scripts based on one or more sequences of activities in the one or more user activity logs. Such testing scripts may then be used to perform one or more tests, such as using a testing automation framework and/or engine. In various examples, evaluating the one or more user activity logs and/or generating one or more testing scripts may involve categorizing one or more users, activities, and/or user activity logs; consolidating one or more users, activities, and/or user activity logs; modifying one or more user activity logs; and so on.