Synchro translation verification test for software applications
First Claim
1. A method for verifying text translation in a program, the method comprising:
- obtaining a first program integrated information (PII) file and a second PII file of text in the program;
executing, on a processor, the program using the first PII file to generate an original page;
obtaining document object model (DOM) tree information of the original page;
for each text unit in the original page performing;
extracting identification information corresponding to a first text unit in the first PII file from the DOM tree information;
looking up in the second PII file, a second text unit corresponding to the first text unit, the second text unit identified in the second PII file using the extracted identification information and a correspondence relationship between the extracted identification information and the second text unit; and
replacing the first text unit in the DOM tree information with the second text unit; and
generating a new page with each of the text units in the original page replaced by corresponding text units in the second PII file.
1 Assignment
0 Petitions
Accused Products
Abstract
Verifying text translation in a program including obtaining a first program integrated information (PII) file and a second PII file of text in the program. An original page is generated by using the first PII file. Document object model (DOM) tree information of the original page is obtained. For each text unit in the original page: identification information corresponding to a first text unit in the first PII file is extracted; a second text unit is identified in the second PII file using the extracted identification information and a relationship between the identification information and the second text unit; and the first text unit is replaced in the DOM tree with the second text unit. A new page is generated using the text units from the second PII file.
-
Citations
20 Claims
-
1. A method for verifying text translation in a program, the method comprising:
-
obtaining a first program integrated information (PII) file and a second PII file of text in the program; executing, on a processor, the program using the first PII file to generate an original page; obtaining document object model (DOM) tree information of the original page; for each text unit in the original page performing; extracting identification information corresponding to a first text unit in the first PII file from the DOM tree information; looking up in the second PII file, a second text unit corresponding to the first text unit, the second text unit identified in the second PII file using the extracted identification information and a correspondence relationship between the extracted identification information and the second text unit; and replacing the first text unit in the DOM tree information with the second text unit; and generating a new page with each of the text units in the original page replaced by corresponding text units in the second PII file. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A system for verifying text translation in a program, the system comprising:
a processor configured for executing instructions to perform a method comprising; obtaining a first program integrated information (PII) file and a second PII file of text in the program from a computer readable medium; executing the program using the first PII file to generate an original page; obtaining document object model (DOM) tree information of the original page; for each text unit in the original page; extracting identification information corresponding to a first text unit in the first PII file from the DOM tree information; looking up in the second PII file, a second text unit corresponding to the first text unit, the second text unit identified in the second PII file using the extracted identification information and a correspondence relationship between the extracted identification information and the second text unit; and replacing the first text unit in the DOM tree information with the second text unit; and generating a new page with each of the text units in the original page replaced by corresponding text units in the second PII file. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
15. A computer program product for verifying text translation in a program, the computer program product comprising:
a non-transitory computer readable storage medium having computer readable program code embodied therewith, the computer readable program code comprising; computer readable program code configured to; obtain a first program integrated information (PII) file and a second PII file of text in the program from the non-transitory computer readable storage medium; execute the program using the first PII file to generate an original page; obtain document object model (DOM) tree information of the original page; for each text unit in the original page; extract identification information corresponding to a first text unit in the first PII file from the DOM tree information; look up in the second PII file, a second text unit corresponding to the first text unit, the second text unit identified in the second PII file using the extracted identification information and a correspondence relationship between the extracted identification information and the second text unit; and replace the first text unit in the DOM tree information with the second text unit; and generate a new page with each of the text units in the original page replaced by corresponding text units in the second PII file. - View Dependent Claims (16, 17, 18, 19, 20)
Specification