Automated Web Test Script Generation via Validation and Conversion

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Software testing for web applications is prone to errors due to the complexity of manually generating and executing test scripts, especially for non-developers and non-testers, and the difficulty in programming complex functionalities.

Innovation Solution

A software testing system that automatically generates test scripts from high-level descriptive steps in a predetermined format, using a validator to ensure conformity and a converter to translate these steps into executable code for web application testing tools like Selenium, reducing the opportunity for errors and enabling non-technical users to create test scripts.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If manual test script generation is used, then flexibility and customization are improved, but error rate and complexity increase

Engineering Contradiction:
ImproveflexibilityVSAvoiderror rate
Core Design Contradiction:
Adaptability or versatilityVSReliability

Solution Approach 1:

The patent introduces an automated test script generation system that acts as an intermediary between test requirements and executable test scripts. This system includes components for parsing test cases, generating test scripts automatically, and validating the generated scripts, thereby reducing manual errors while maintaining flexibility through configurable test case templates and parameters.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If automated test script generation is implemented, then error rate is reduced, but system complexity increases

Engineering Contradiction:
Improveerror rateVSAvoidsystem complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The automated test script generation system is divided into distinct modular components: test case parsing module, test script generation module, validation module, and execution module. Each component performs a specific function and can be independently configured and maintained, reducing the perceived complexity while providing robust automated generation capabilities.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces intermediate representation layers and template systems that mediate between high-level test requirements and low-level executable scripts. These intermediaries include test case models, script templates, and validation rules that simplify the generation process while ensuring correctness, thereby managing system complexity effectively.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Ease of operation

If non-technical users create test scripts, then accessibility is improved, but script quality may deteriorate

Engineering Contradiction:
ImproveaccessibilityVSAvoidscript quality
Core Design Contradiction:
Ease of operationVSManufacturing precision

Solution Approach 1:

The system provides an intermediary automated generation engine that translates user-friendly test case descriptions into professionally-quality test scripts. Non-technical users interact with simplified test case templates and natural language inputs, while the underlying generation system handles the complex script writing, validation, and optimization, ensuring high script quality regardless of user technical expertise.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The test script generation system performs self-validation and self-correction through built-in validation rules, error detection mechanisms, and automatic refinement processes. The system can identify and correct common script quality issues without human intervention, maintaining high script quality while enabling non-technical users to create tests independently.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS10108535B2Web application test script generation to test software functionality
Publication Date: 2018.10.23 ACCENTURE GLOBAL SOLUTIONS LTD
  • US10108535B2 patent drawing
  • US10108535B2 patent drawing
  • US10108535B2 patent drawing

AI summary

According to an example of the present disclosure, a test script to test a web application is generated from a test case and web objects extracted from a web application. A web application testing tool may be invoked to test a functionality of the web application by executing the test script.