Beijing Information Science and Technology University, Beijing 100101, China
This work is supported by the Key Discipline Construction Foundation of Beijing (No.PXM2011-014224-113530), Discipline and Graduate Education Foundation of Beijing (No.PXM2012-014224-000038), Foundation of Beijing Information Science and Technology University (No.5028223400).
UOF is the office document standard of China, and ISO29500 is the office document standard of Microsoft. These two standards occupy a very important position in the domestic office document. In order to achieve translation between these two standards, project team has conducted four periods of development and manual test work which is not only inefficient, but also brings difficulty because current office software cannot support the UOF standard well. So it is necessary to research automatic test tool to improve test efficiency and accuracy. Analyze the underlying XML code of the two standard documents, extract the test function attributes, conduct the information pre-treatment, and verify whether the translation is correct or not. Result shows that automatic test of translator can break away the constraints of office software, achieve automatic execution of test cases, reduce manual errors and improve test efficiency.