Automated Test Case Generation for Software Quality Validation

Resolve Bottlenecks,
Find Innovative Solutions
Generate 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

VSEngineering 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

Engineering Contradiction:
Improvesoftware quality validationVSAvoidtesting duration
Core Design Contradiction:
ReliabilityVSLoss of time

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

Inventive Principle:
Principle #25Self-service

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

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

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

Engineering Contradiction:
Improvetesting efficiencyVSAvoidsystem complexity
Core Design Contradiction:
ProductivityVSDevice complexity

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

Inventive Principle:
Principle #25Self-service

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

Inventive Principle:
Principle #24Intermediary (Mediator)

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

Engineering Contradiction:
Improvefunction level testing accuracyVSAvoidtest case creation time
Core Design Contradiction:
Measurement precisionVSLoss of time

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

Inventive Principle:
Principle #10Preliminary action

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

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

4Reliability

If regression testing is performed after each sprint in Agile methodology, then software quality is maintained, but the overall testing time increases

Engineering Contradiction:
Improvesoftware quality maintenanceVSAvoidregression testing duration
Core Design Contradiction:
ReliabilityVSLoss of time

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

Inventive Principle:
Principle #25Self-service

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

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS8819492B2System and method for testing and analyses of the computer applications
Publication Date: 2014.08.26 TATA CONSULTANCY SERVICES LTD
  • US8819492B2 patent drawing
  • US8819492B2 patent drawing
  • US8819492B2 patent drawing

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.