Automatic Test Script Generation for GSM SIM Applications
Find Innovative SolutionsGenerate 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
Engineering 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
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
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
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
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
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
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
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
Data Source
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.


