Porting engine for testing of multi-lingual software
First Claim
1. A method in a computer system for testing an application program using a test script file, the test script file containing command strings in a first language, the application program having a second language, the method comprising the steps of:
- (a) interrupting the test script at run time to locate at least one command string within the test script;
(b) identifying at run time a translation from the first language to the second language for the command string to provide at least one localized command string;
(c) substituting at run time the command string with the localized command string; and
(d) resuming the test script to test the application program using the localized command string.
2 Assignments
0 Petitions
Accused Products
Abstract
The present invention is a system and method for testing various language versions of an application program using a single test script. An internal dictionary and/or an external dictionary are used to provide translations of command strings from one language to the specific language of the application program. The test script may then be translated at run time using the dictionaries to allow the testing program to test the application program in accordance with the language of the application program. Fuzzy match logic may be used to provide appropriate language translation of the command string. The internal dictionary may be automatically updated at run time so that it may learn language translations of unknown command strings for future runs.
104 Citations
37 Claims
-
1. A method in a computer system for testing an application program using a test script file, the test script file containing command strings in a first language, the application program having a second language, the method comprising the steps of:
-
(a) interrupting the test script at run time to locate at least one command string within the test script;
(b) identifying at run time a translation from the first language to the second language for the command string to provide at least one localized command string;
(c) substituting at run time the command string with the localized command string; and
(d) resuming the test script to test the application program using the localized command string. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A computer-readable medium having computer-executable instructions for performing the steps of:
-
(a) interrupting the test script at run time to locate at least one command string within a test script;
(b) identifying at run time a translation from a first language to a second language for the command string to provide at least one localized command string;
(c) substituting at run time the command string with the localized command string; and
(d) resuming the test script to test the application program using the localized command string. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17, 18, 19, 20)
-
-
21. A computer-readable medium comprising in combination:
-
(a) a porting engine having computer-executable components for interrupting a test script at run time to translate at least one command string to at least one localized command string and for causing the test script to test the application program using the localized command string, the command string having a first language and the localized command string having a second language, the command string being part of a test script for testing of an application program; and
(b) at least one dictionary having at least one translation from the command string to the localized command string. - View Dependent Claims (22, 23, 24, 25)
-
-
26. A method of testing an application program using a test script, the test script being in a first language and the application program being in a second language, the method comprising the steps of:
-
(a) interrupting the test script at run time to identify a command string in the test script, the command string being in a first language;
(b) searching at run time an internal dictionary for a translation for the command string, the translation being at least one localized command string having a second language;
(c) if the translation is found in the internal dictionary, providing at run time at least one of the localized command string to the testing program; and
(d) resuming the test script to test the application program using the localized command string. - View Dependent Claims (27, 28, 29, 30, 31)
(d) if the translation fails to be found in the internal dictionary, searching an external dictionary for the translation; and
(e) if the translation is found in the external dictionary, providing at least one of the localized command strings to the testing program.
-
-
30. The method of claim 29, further comprising the step of:
- (f) if the translation fails to be found in the external dictionary, (i) prompting a user to provide the translation; and
(ii) providing at least one of the localized command strings to the testing program.
- (f) if the translation fails to be found in the external dictionary, (i) prompting a user to provide the translation; and
-
31. The method of claim 30, wherein step (f) further comprises the step of (iii) updating the internal dictionary with the translation provided by the user.
-
32. A method of testing an application program using a test script to run a testing program, the test script being in a first language and the application program being in a second language, the method comprising the steps of:
-
(a) interrupting the test script at run time to identify a command string in the test script, the testing instruction being in a first language;
(b) searching at run time an internal dictionary for a translation for the command string, the translation being at least one localized command string having a second language;
(c) if the translation is found in the internal dictionary, applying at run time at least one of the localized command string to test the application program; and
(d) resuming the test script to test the application program using the localized command string. - View Dependent Claims (33, 34, 35, 36, 37)
(d) if the translation fails to be found in the internal dictionary, searching an external dictionary for the translation; and
(e) if the translation is found in the external dictionary, applying at least one of the localized command strings to test the application program.
-
-
36. The method of claim 35, further comprising the step of:
- (f) if the translation fails to be found in the external dictionary, (i) prompting a user to provide the translation; and
(ii) applying at least one of the localized command strings to test the application program.
- (f) if the translation fails to be found in the external dictionary, (i) prompting a user to provide the translation; and
-
37. The method of claim 36, wherein step (f) further comprises the step of (iii) updating
Specification