Automated Test Script Generation via Rule-Based Object Filtering
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Manual filtering of irrelevant objects in load testing is burdensome, time-consuming, and requires advanced knowledge of the computer program's design, often resulting in scripts that do not accurately reflect real-time conditions.
Innovation Solution
An automated system generates testing scripts based on predetermined rules, determining which objects to trigger, reducing the need for detailed program knowledge and improving script maintenance and relevance.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If manual filtering of irrelevant objects is performed, then script relevance to test objectives is improved, but time consumption and operational complexity increase
Solution Approach 1:
The system performs self-filtering by automatically analyzing recorded object interactions and applying predetermined rules to identify and exclude irrelevant objects from the test script, eliminating the need for manual filtering while maintaining script relevance to test objectives
Solution Approach 2:
The system changes the filtering approach from manual to automated by introducing predetermined rules that automatically determine object relevance based on test objectives, transforming the filtering process into a parameter-driven automated decision-making system
2Reliability
If manual filtering of irrelevant objects is performed, then script accuracy is improved, but ease of operation deteriorates
Solution Approach 1:
The system performs self-filtering by automatically analyzing recorded object interactions and applying predetermined rules to identify and exclude irrelevant objects from the test script, eliminating the need for manual filtering while maintaining script relevance to test objectives
Solution Approach 2:
The system introduces an intermediary filtering mechanism that automatically mediates between the recorded object interactions and the final test script, using predetermined rules as the mediation logic to determine which objects should be included or excluded
3Measurement precision
If manual filtering is performed, then object selection precision is improved, but device complexity increases
Solution Approach 1:
The system changes the filtering approach from manual to automated by introducing predetermined rules that automatically determine object relevance based on test objectives, transforming the filtering process into a parameter-driven automated decision-making system
Solution Approach 2:
The system replaces the manual mechanical filtering process with an automated computational system that uses predetermined rules to automatically identify and exclude irrelevant objects, substituting human expertise with algorithmic decision-making
Data Source
AI summary
Disclosed herein are techniques for generating an automated testing script. A request for a performance evaluation of a computer program is accessed. Predetermined rules are used to determine which objects defined in the computer program should be triggered by a script executable by a testing application. The script is generated in accordance with the predetermined rules.


