Automated Test Script Conversion via Playback Recording

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current automated software test tools face challenges in seamlessly converting test scripts from one testing tool to another due to differences in internal languages and object identification methods, resulting in significant manual effort and incomplete script conversions.

Innovation Solution

An automated system that converts test scripts by using a current test tool to playback and record actions, creating a communication channel with a new test tool to record and translate script actions, object definitions, and states, thereby generating a compatible script with minimal manual intervention.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If automated conversion between testing tools is attempted using traditional methods, then conversion speed is improved, but conversion accuracy and completeness deteriorate due to differences in internal languages and object identification methods

Engineering Contradiction:
Improveconversion speedVSAvoidscript conversion accuracy
Core Design Contradiction:
ProductivityVSManufacturing precision

Solution Approach 1:

The patent introduces an intermediary translation layer that converts test scripts from the source testing tool's internal language to the target testing tool's internal language through a standardized intermediate representation. This mediator handles the complexity of language differences and object identification method variations, enabling accurate conversion without sacrificing speed.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The system transforms test scripts by changing multiple parameters simultaneously including language syntax, object identification methods, and tool-specific commands. By systematically adjusting these parameters through automated translation rules, the system maintains both conversion speed and accuracy across different testing tool environments.

Inventive Principle:
Principle #35Parameter changes

2Manufacturing precision

If manual conversion of test scripts is performed, then conversion accuracy is improved, but time consumption and labor effort increase significantly

Engineering Contradiction:
Improvescript conversion accuracyVSAvoidconversion time
Core Design Contradiction:
Manufacturing precisionVSLoss of time

Solution Approach 1:

The conversion system performs self-service by automatically translating test scripts without requiring manual intervention. The automated translation engine handles language conversion, object mapping, and script generation independently, eliminating the time-consuming manual conversion process while maintaining accuracy through systematic translation rules.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The system prepares conversion templates and translation rules in advance before actual script conversion is needed. By pre-configuring the mapping between source and target tool languages and object identification methods, the system enables rapid accurate conversion without manual effort during the actual conversion process.

Inventive Principle:
Principle #10Preliminary action

3Adaptability or versatility

If complete script conversion is achieved including all object identification methods, then script compatibility is improved, but system complexity increases

Engineering Contradiction:
Improvescript compatibilityVSAvoidconversion system complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The conversion system segments the complex translation task into distinct modules: language syntax translation, object identification method mapping, command transformation, and script structure preservation. Each module handles a specific aspect of conversion independently, making the overall complex system manageable and maintainable while achieving complete script compatibility.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system employs a universal translation framework that can handle multiple testing tool languages and object identification methods through a single standardized intermediate representation. This multi-functional approach enables the system to convert between different tool environments without requiring tool-specific conversion logic, reducing overall system complexity while maintaining broad compatibility.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Data Source

PatentUS7673292B2Auto conversion of tests between different functional testing tools
Publication Date: 2010.03.02 X CORP
  • US7673292B2 patent drawing
  • US7673292B2 patent drawing
  • US7673292B2 patent drawing

AI summary

A method and system are described for migrating test scripts written for a current test tool (CTT) to a new test tool (NTT). A conversion tool sets the CTT in a playback mode and the NTT in a record mode. The CTT provides actions to an application under test (AUT) causing objects to be created and modified. The NTT monitors the actions of the CTT and creates a script to mimic the actions of the CTT. The current test script is modified to add comments, and translated using standard translation tools. Application-specific statements do not translate and are replaced with those previously created by the NTT in the record mode. This results in a script that performs the same functions as the original test script.