OVERALL TEST TOOL MIGRATION PIPELINE
First Claim
1. A system for test tool migration between one or more Source Languages and one or more Target Languages, in automation testing with a pre-processing module, an in-flight module and a post-processing module having Source Code as input that includes an Object Repository (701), a Test Data (702) and Test Scripts (703), comprising:
- a. A pre-processing module (301), which takes the Source Code (700) in a Source Language as input and is comprised of an input/output (IO) Configurator (704) and an Analyser (705), wherein;
i. the IO Configurator (704), which has an input/output (IO) Configuration Reader (22), an input/output (IO) Location Reader (23) and a Sniffer (24), is configured such that the Source files (21) are input to the IO Configuration Reader (22), which reads basic settings (20) including user-interface (UI) look and feels settings, default settings and script types from a properties file, and is configured such that the IO Location Reader (23) reads the location of Source files, Object Repositories and Target files;
ii. the Sniffer (24) is configured to get high-level information about the Source Code (700) including the first level of information about lines of code, functions, files, and complexity of the code, and is configured to scan through the entire Source code that is selected for conversion, and configured to analyze various programming artefacts selected from a group consisting of a location, a method, a condition, and a loop; and
iii. the Analyser (705) is comprising a Source Analyser (706) and a Dependency Analyser (707);
b. An in-flight module (302), which takes inputs from the pre-processing module and is comprised of a Template Generator (708) and a Converter (709) that work together to produce Tool generated raw Source (302a), the converter (709) configured to perform the parsing and lexing required to make a Source Language of the Source files (21) independent, and which simplifies the migration across to a Target platform selection, and the Template Generator (708) configured to generate an appropriate template of a Test Scripts (703) in a Target Language, based on the Target platform selection; and
c. A post-processing module (303), which reads the Tool generated raw Source (302a) and further comprises a Validator (721), a Smart (migration) Remedy Engine (SME) (722), a best practise analyser (723), a TODO resolver (724) to generate Final Scripts (735) in a Target Language, including Technical Logs (733) and Reports (734) for analysis.
1 Assignment
0 Petitions
Accused Products
Abstract
A generic Test Tool migration system that migrates test cases from one platform to another in different Languages and also incorporate best practises while migration. The system comprises of three phases, a pre-processor, an in-flight module, and a post-processor. The pre-processor scans and reads the entire Source code and passes the output to the in-flight module which converts the Source scripts to a neutral Language and generates a Target Language. The output of the process becomes the input to the post-processor that provides options for resolving the ambiguity, issues, and warnings with best practise suggestions to a user by the Smart (migration) Remedy Engine (SME). The translated code is further improved, validated, reported and logged. The output of the phase is converted Object Repositories, Test Data and Scripts.
-
Citations
11 Claims
-
1. A system for test tool migration between one or more Source Languages and one or more Target Languages, in automation testing with a pre-processing module, an in-flight module and a post-processing module having Source Code as input that includes an Object Repository (701), a Test Data (702) and Test Scripts (703), comprising:
-
a. A pre-processing module (301), which takes the Source Code (700) in a Source Language as input and is comprised of an input/output (IO) Configurator (704) and an Analyser (705), wherein; i. the IO Configurator (704), which has an input/output (IO) Configuration Reader (22), an input/output (IO) Location Reader (23) and a Sniffer (24), is configured such that the Source files (21) are input to the IO Configuration Reader (22), which reads basic settings (20) including user-interface (UI) look and feels settings, default settings and script types from a properties file, and is configured such that the IO Location Reader (23) reads the location of Source files, Object Repositories and Target files; ii. the Sniffer (24) is configured to get high-level information about the Source Code (700) including the first level of information about lines of code, functions, files, and complexity of the code, and is configured to scan through the entire Source code that is selected for conversion, and configured to analyze various programming artefacts selected from a group consisting of a location, a method, a condition, and a loop; and iii. the Analyser (705) is comprising a Source Analyser (706) and a Dependency Analyser (707); b. An in-flight module (302), which takes inputs from the pre-processing module and is comprised of a Template Generator (708) and a Converter (709) that work together to produce Tool generated raw Source (302a), the converter (709) configured to perform the parsing and lexing required to make a Source Language of the Source files (21) independent, and which simplifies the migration across to a Target platform selection, and the Template Generator (708) configured to generate an appropriate template of a Test Scripts (703) in a Target Language, based on the Target platform selection; and c. A post-processing module (303), which reads the Tool generated raw Source (302a) and further comprises a Validator (721), a Smart (migration) Remedy Engine (SME) (722), a best practise analyser (723), a TODO resolver (724) to generate Final Scripts (735) in a Target Language, including Technical Logs (733) and Reports (734) for analysis. - View Dependent Claims (2, 3, 4, 5, 6, 7, 9, 10, 11)
-
-
8. (canceled)
Specification