Dynamic Autocompletion for Test Script Reliability

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Manual test script generation in automated functional testing tools is lengthy, tedious, and error-prone, and existing autocompletion tools do not effectively support dynamic suggestion of object operations and arguments based on real-time data from user applications.

Innovation Solution

A dynamic autocompletion tool integrated with Integrated Development Environments (IDEs) that detects object calls, registers corresponding object identifiers, and updates parameters in an object registry by analyzing the real-time content of user applications, enabling the suggestion of relevant object operations and arguments during script editing.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If manual test script generation is used, then reliability of test scripts is improved, but creation time and complexity increase

Engineering Contradiction:
Improvetest script reliabilityVSAvoidscript creation time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The system performs self-learning by automatically analyzing the user application, extracting object identifiers and parameters, and populating the object registry without requiring manual intervention. This self-service mechanism provides dynamic autocompletion suggestions that reduce manual effort while maintaining script reliability.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The system establishes a feedback loop where the mining operation continuously monitors the user application, detects changes in objects and parameters, and updates the object registry accordingly. This real-time feedback enables the autocompletion tool to provide accurate, context-aware suggestions that improve both reliability and efficiency.

Inventive Principle:
Principle #23Feedback

2Ease of operation

If static autocompletion tools are used, then data entry is facilitated, but dynamic suggestions based on real-time application content are not provided

Engineering Contradiction:
Improvedata entry easeVSAvoiddynamic suggestion capability
Core Design Contradiction:
Ease of operationVSAdaptability or versatility

Solution Approach 1:

The autocompletion tool transitions from a static to a dynamic system by implementing real-time mining operations that monitor the user application during execution. The object registry is continuously updated with current object identifiers and parameters, enabling the autocompletion feature to provide context-aware suggestions that adapt to the actual runtime state of the application.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The system performs preliminary mining operations to extract and store object identifiers and parameters in the object registry before test script generation begins. This preliminary action prepares the foundation for dynamic autocompletion, allowing the tool to provide accurate suggestions without delaying the actual script creation process.

Inventive Principle:
Principle #10Preliminary action

3Productivity

If recording test generation is used, then test script generation is facilitated, but script reliability decreases due to inability to handle multiple string uses

Engineering Contradiction:
Improvetest generation speedVSAvoidtest script reliability
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The object registry serves as an intermediary between the user application and the test script generation process. It stores extracted object identifiers and parameters, enabling the autocompletion tool to provide accurate suggestions that resolve ambiguities in string usage. This intermediary mechanism allows rapid script generation while maintaining reliability by ensuring correct object and parameter matching.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS8635593B2Dynamic autocompletion tool
Publication Date: 2014.01.21 MICRO FOCUS LLC
  • US8635593B2 patent drawing
  • US8635593B2 patent drawing
  • US8635593B2 patent drawing

AI summary

In at least some embodiments, a computing device includes a processor and a system memory coupled to said processor. The system memory stores an integrated development environment (IDE) and a dynamic autocompletion tool. When executed by the processor, the IDE provides a script editor. When executed by the processor, the dynamic autocompletion tool analyzes real-time content of a user application being executed to populate an autocompletion list for use with the IDE application.