IP Library Granted Patent US 8,875,103
Granted Patent B2
US 8,875,103 · App. 12/778,691 · Granted Oct 28, 2014

Method of testing multiple language versions of a software system using one test script

Inventor: Gilly Yun (Beijing, CN)
Assignee: CA, Inc.
G06F9/4448G06F11/3684
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 8,875,103
App. No.
12/778,691
Granted
Oct 28, 2014
Kind
B2
Abstract

A system and method for testing software systems having a plurality of linguistic versions is presented. The method comprises creating an initial test script in one linguistic version of the plurality of linguistic versions, executing and modifying this test script, and executing the modified initial test script in additional linguistic versions. Executing the initial test script can comprise performing test steps, and storing a result of each test step as log data in a log file, each test step usually having Windows controls to test. Modifying the initial test script can comprise recognizing the test step controls using the log data, performing the test step, and replacing the test step control text with another text. Alternatively, modifying the initial test script can comprise entering into a test step having a control text, recognizing the control based on the control attributes, performing the test step, and replacing the test step control text.

Claims (97)

1. A method for testing software systems having a plurality of linguistic versions, comprising:

creating an initial test script in a first linguistic version of the plurality of linguistic versions;

executing the initial test script in the first linguistic version;

modifying the initial test script by removing an indication of the first linguistic version therefrom; and

executing the modified initial test script in a second linguistic version of the plurality of linguistic versions different than the first linguistic version,

wherein executing the initial test script comprises:

performing a plurality of test steps, wherein each test step comprises a test step control and a test step control text in accordance with the first linguistic version; and

storing a result of each test step in a log file indicating a control attribute of the test step control, wherein the control attribute is free of language-specific text.

2. The method according to claim 1 , wherein modifying the initial test script comprises, for each test step:

entering into the test step;

recognizing the test step control using the control attribute indicated by the log file;

performing the test step; and

replacing the test step control text with a different text.

3. The method according to claim 2 , wherein the different text is a generic text or a text in accordance with the second linguistic version.

4. A method for testing software systems having a plurality of linguistic versions, comprising:

creating an initial test script in a first linguistic version of the plurality of linguistic versions;

executing the initial test script in the first linguistic version;

modifying the initial test script by removing an indication of the first linguistic version therefrom; and

executing the modified initial test script in a second linguistic version of the plurality of linguistic versions different than the first linguistic version,

wherein modifying the initial test script comprises:

entering into a test step having a test step control with a test step control text in accordance with the first linguistic version;

recognizing the test step control using log data indicative of an attribute;

performing the test step; and

replacing the test step control text with a different text.

5. The method according to claim 4 , wherein the different text is a generic text or a text in accordance with the second linguistic version.

6. The method according to claim 4 ,

wherein the attribute corresponds to the test step control;

and wherein replacing the test step control text comprises:

replacing the test step control text with a generic text or a text in accordance with the second linguistic version.

7. A system for testing software systems having a plurality of linguistic versions, comprising:

a processor circuit; and

a server module operable to execute on the processor circuit, and further operable to create an initial test script in a first linguistic version of the plurality of linguistic versions, execute the initial test script in the first linguistic version, modify the initial test script by removing an indication of the first linguistic version therefrom, and execute the modified initial test script in a second linguistic version of the plurality of linguistic versions different than the first linguistic version,

wherein the server module is operable to execute the initial test script by:

performing a plurality of test steps, wherein each test step comprises a test step control and a test step control text in accordance with the first linguistic version; and

storing a result of each test step in a log file indicating a control attribute of the test step control, wherein the control attribute is free of language-specific text.

8. The system according to claim 7 , wherein the server module is operable to modify the initial test script by, for each test step:

entering into the test step;

recognizing the test step control using the control attribute indicated by the log file;

performing the test step; and

replacing the test step control text with a different text.

9. The system according to claim 8 , wherein the different text is a generic text or a text in accordance with the second linguistic version.

10. A system for testing software systems having a plurality of linguistic versions, comprising:

a processor circuit; and

a server module operable to execute on the processor circuit, and further operable to create an initial test script in a first linguistic version of the plurality of linguistic versions, execute the initial test script in the first linguistic version, modify the initial test script by removing an indication of the first linguistic version therefrom, and execute the modified initial test script in a second linguistic version of the plurality of linguistic versions different than the first linguistic version,

wherein the server module is operable to modify the initial test script by:

entering into a test step having a test step control with a test step control text in accordance with the first linguistic version;

recognizing the test step control using log data indicative of an attribute;

performing the test step; and

replacing the test step control text with a different label.

11. The system according to claim 10 , wherein the different text is a generic text or a text in accordance with the second linguistic version.

12. The system according to claim 10 ,

wherein the attribute corresponds to the test step control;

and wherein replacing the test step control text comprises:

replacing the test step control text with a generic text or a text in accordance with the second linguistic version.

13. A non-transitory computer readable storage medium storing a program of instructions executable by a machine to perform a method for testing software systems having a plurality of linguistic versions, comprising:

creating an initial test script in a first linguistic version of the plurality of linguistic versions;

executing the initial test script in the first linguistic version;

modifying the initial test script by removing an indication of the first linguistic version therefrom; and

executing the modified initial test script in a second linguistic version of the plurality of linguistic versions different than the first linguistic version,

wherein executing the initial test script comprises:

performing a plurality of test steps, wherein each test step comprises a test step control and a test step control text in accordance with the first linguistic version; and

storing a result of each test step in a log file indicating a control attribute of the test step control, wherein the control attribute is free of language-specific text.

14. The medium according to claim 13 , wherein modifying the initial test script comprises, for each test step:

entering into the test step;

recognizing the test step control using the control attribute indicated by the log file;

performing the test step; and

replacing the test step control text with a different text.

15. The medium according to claim 14 , wherein the different text is a generic text or a text in accordance with the second linguistic version.

16. A non-transitory computer readable storage medium storing a program of instructions executable by a machine to perform a method for testing software systems having a plurality of linguistic versions, comprising:

creating an initial test script in a first linguistic version of the plurality of linguistic versions;

executing the initial test script in the first linguistic version;

modifying the initial test script by removing an indication of the first linguistic version therefrom; and

executing the modified initial test script in a second linguistic version of the plurality of linguistic versions different than the first linguistic version,

wherein modifying the initial test script comprises:

entering into a test step having a test step control with a test step control text in accordance with the first linguistic version;

recognizing the test step control using log data indicative of an attribute;

performing the test step; and

replacing the test step control text with a different text.

17. The medium according to claim 16 ,

wherein the attribute corresponds to the test step control;

and wherein replacing the test step control text comprises:

replacing the test step control text with a generic text or a text in accordance with the second linguistic version.

18. A method for testing software systems having a plurality of linguistic versions, comprising:

creating an initial test script in a first linguistic version of the plurality of linguistic versions;

executing the initial test script in the first linguistic version:

modifying the initial test script by removing an indication of the first linguistic version therefrom; and

executing the modified initial test script in a second linguistic version of the plurality of linguistic versions different than the first linguistic version,

wherein removing the indication of the first linguistic version comprises:

recognizing the indication of the first linguistic version in the initial test script as a localized word corresponding to a command, wherein the localized word is in a language of the first linguistic version; and

removing the localized word from the initial test script responsive to the identifying,

and wherein modifying the initial test script further comprises:

replacing the localized word in the language of the first linguistic version with a generic name corresponding to the command or with a localized word corresponding to the command in a language of the second linguistic version.

19. The method of claim 18 , further comprising:

generating a log file including log data corresponding to results of executing the initial test script in the first linguistic version, wherein the log data indicates an attribute of the command that is free of the localized word in the language of the first linguistic version,

wherein replacing the localized word in the language of the first linguistic version comprises:

determining the localized word corresponding to the command in the language of the second linguistic version based on the attribute thereof indicated by the log data; and then

replacing the localized word for the command in the language of the first linguistic version with the localized word for the command in a language of the second linguistic version.

Assignments (2)
MERGER Recorded May 13, 2012
From: COMPUTER ASSOCIATES THINK, INC.
To: CA, INC.
Reel/Frame 028199/0227 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 12, 2010
From: YUN, GILLY
To: COMPUTER ASSOCIATES THINK, INC.
Reel/Frame 024375/0312 →
Continuity (1)
Related Publication 20110283261A1 · Nov 17, 2011