Automation Test Script Generation From Testing Topology
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Automation test scripts for product development require significant manual effort for creation and updating, hindering full automation of the testing process.
Innovation Solution
A method and system for generating automation test scripts by parsing existing testing documents using a step, container, element, and action (SCEA) mechanism to extract keywords, creating a testing topology that automatically generates scripts, and updates them upon product changes.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If automation test scripts are created manually by product developers or test engineers, then the testing process can be performed, but significant time and effort are required for script creation and updating
Solution Approach 1:
The patent uses natural language testing documents as templates to automatically generate automation test scripts. The system extracts keywords and structures from these documents to create executable test scripts, eliminating the need for manual script writing while preserving the testing logic and requirements defined in the original documents.
Solution Approach 2:
The patent introduces an intermediary processing system that converts natural language testing documents into automation test scripts. This intermediary system uses keyword extraction and structure analysis to bridge the gap between human-readable test specifications and machine-executable automation scripts, automating the transformation process.
2Reliability
If manual updates are performed whenever product changes occur, then test scripts can be kept current, but increased efforts are required for maintaining script accuracy
Solution Approach 1:
The patent enables the test script generation system to automatically adapt to product changes by re-processing updated testing documents. When product changes occur, the system re-extracts keywords and structures from the updated natural language documents and regenerates the automation scripts accordingly, eliminating the need for manual intervention to maintain script accuracy.
Solution Approach 2:
The patent establishes a systematic approach where testing documents are prepared in advance with clear keywords and structures that anticipate future automation needs. This preliminary structuring of test requirements enables automatic script generation and simplifies subsequent updates when product changes occur.
3Extent of automation
If full automation of testing is desired, then testing efficiency would be maximized, but automatic generation of test scripts from existing documents is not currently available
Solution Approach 1:
The patent replaces the mechanical process of manual script writing with an automated information processing system. The system uses natural language processing, keyword extraction, and structure analysis to automatically transform testing documents into executable automation scripts, substituting human manual labor with computational processes.
Solution Approach 2:
The patent creates a universal system that can process various types of natural language testing documents and generate corresponding automation scripts across different testing scenarios. The system handles multiple document formats and testing contexts through a unified keyword extraction and structure analysis approach.
Data Source
AI summary
A computer-implemented method, a computer system, and a computer program product for generating an automation test script. Existing testing documents of a product under test can be acquired. A testing topology describing steps, containers, elements and actions of the test can be generated by extracting keywords in the existing test documents, wherein each element defines a user interface (UI) element of the product, each action defines an action attribute for an associated UI element, each container defines an operation area containing one or more UI elements, and each step defines one or more operations for one or more actions associated with one or more UI elements. An automation test script for the product can be generated based on the testing topology.


