Automatic Test Script Generation for GSM SIM Applications

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current methods for testing GSM applications on SIM cards are inefficient, requiring manual execution or recoding of test scripts with each software update, and cannot automatically generate test cases without prior knowledge of the application's behavior.

Innovation Solution

An automatic method for generating test instructions and scripts using a tree structure representation of the GSM application, including pro-active commands, comparison functions, and documentation, which can adapt to changes in the application over time.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of manufacture

If manual test execution is used to test GSM applications on SIM cards, then testing can be performed with simple tools, but the testing process is time-consuming and labor-intensive

Engineering Contradiction:
Improvesimplicity of testing setupVSAvoidtesting efficiency
Core Design Contradiction:
Ease of manufactureVSProductivity

Solution Approach 1:

The test system automatically generates test scripts by executing the GSM application under test and capturing its behavior, eliminating the need for manual script creation. The system serves itself by using the application's own execution trace to generate the test cases that will verify it

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The patent replaces manual mechanical operations (programmers physically writing and updating test scripts) with an automated computer-based system that generates scripts algorithmically from application execution traces, significantly improving productivity

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

2Adaptability or versatility

If test scripts are manually recoded with each software update, then testing can be adapted to new versions, but the process requires programmer intervention and increases cost and time

Engineering Contradiction:
Improveadaptability to software updatesVSAvoidtime for script updates
Core Design Contradiction:
Adaptability or versatilityVSLoss of time

Solution Approach 1:

The system performs preliminary action by generating test scripts automatically from the application's execution trace before formal testing begins. When updates occur, the same process repeats automatically, eliminating the need for manual script recoding and reducing both time and programmer intervention

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The test generation system is dynamic and adapts automatically to application changes. Instead of static manual scripts that require updating, the system dynamically generates new scripts based on the current version of the application under test, maintaining adaptability without manual intervention

Inventive Principle:
Principle #15Dynamics

3Extent of automation

If model-based test case generation is used, then test cases can be generated automatically, but the system requires prior knowledge of the application's behavior and process structure

Engineering Contradiction:
Improveautomatic test case generationVSAvoidrequirement for prior application knowledge
Core Design Contradiction:
Extent of automationVSDevice complexity

Solution Approach 1:

Instead of requiring prior knowledge of application behavior to generate tests (traditional model-based approach), the patent inverts the process by first executing the application to capture its actual behavior, then using this captured trace to generate the test script. This eliminates the need for pre-existing application models while maintaining full automation

Inventive Principle:
Principle #13The other way round (Inversion)

Data Source

PatentUS8392884B2Test case automatic generation method for testing proactive GSM application on SIM cards
Publication Date: 2013.03.05 STMICROELECTRONICS INT NV
  • US8392884B2 patent drawing
  • US8392884B2 patent drawing
  • US8392884B2 patent drawing

AI summary

The present invention relates to a method for the definition of case tests and for the automatic generation of the corresponding scripts able to validate and test the GSM applications on IC or SIM Cards, such method being also able to automatically produce the documentation relative to the designed case test, thus realising an instrument able to evolve in time simultaneously with the applications to be tested. The method has been proposed to reduce the test time, to increase the automation (both the designing and the execution), the possibility of reuse and the maintenance relatively to the instruments offered by the prior art which consist of manual tests of the GSM applications or of tests being manually coded in a script language by a programmer.