Automated Test Case Generation for Software Quality Validation
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current software testing methods, particularly manual testing, are time-consuming and inefficient, especially for bulky applications, and lack automated analysis and report generation capabilities, which hinders the development of effective test cases and regression testing in Agile methodologies.
Innovation Solution
A system comprising a test preparation engine with an entity extracting module and assembly extractor, a test case designing module, and a report generating module that collects information about the application and database schema, generates enhanced test cases, executes them, and produces analysis reports by comparing actual and expected results.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If manual testing is used to test computer applications, then testers can thoroughly validate and verify software characteristics, but the testing process becomes very time-consuming and tedious
Solution Approach 1:
The system enables self-service testing by automatically generating test cases from application metadata and database schemas without requiring manual tester intervention for test case creation, thereby reducing testing time while maintaining thorough validation
Solution Approach 2:
The patent replaces the mechanical manual testing process with an automated testing engine that uses metadata extraction, entity relationship mapping, and automatic test case generation to perform testing operations, significantly reducing time consumption while maintaining reliability
2Productivity
If automated testing tools are developed to enhance software testing, then testing efficiency improves, but the system complexity increases due to requirements for programming knowledge and underlying classes
Solution Approach 1:
The testing system performs self-configuration by automatically extracting metadata from the application and database schema, generating test cases without requiring manual configuration or programming knowledge from users, thus improving efficiency while keeping the system accessible
Solution Approach 2:
The patent introduces metadata and entity relationship models as intermediaries between the application and the testing engine, allowing automated test generation without requiring direct programming knowledge or complex configuration by users
3Measurement precision
If conventional unit level testing is performed by creating wrapper scripts for each function, then individual functions can be tested, but the process becomes time-consuming
Solution Approach 1:
The system performs preliminary actions by automatically generating test cases from metadata and database schemas before actual testing begins, eliminating the time-consuming wrapper script creation process while maintaining precise function-level testing capability
Solution Approach 2:
The patent replaces the mechanical process of manually creating wrapper scripts with an automated test case generation engine that uses metadata extraction and entity relationship mapping to generate precise function-level test cases automatically
4Reliability
If regression testing is performed after each sprint in Agile methodology, then software quality is maintained, but the overall testing time increases
Solution Approach 1:
The system enables self-service regression testing by automatically generating and executing test cases based on application metadata and database schemas, maintaining software quality across sprints without significantly increasing overall testing time
Solution Approach 2:
The patent performs preliminary action by pre-generating test cases from metadata and schemas, allowing rapid regression testing after each sprint to maintain quality without extensive time investment
Data Source
AI summary
System and method for generating an enhanced test case for a computer application is disclosed. The system provides a test preparation engine including an entity extracting module and an assembly extractor for collecting information about the computer application and corresponding database schema for generating a global report. The test case designing module designs one or more test cases by using the global report. The test case execution engine includes an input evaluation module and generates an actual result for each executed test case and an expected result for one or more database query. The report generating module includes a result storage device, a result comparator and a result analysis module and performs analysis of the actual test case result and the expected results.


