Language verification testing method, and computer readable storage medium

A test method and language technology, applied in the field of data detection, can solve the problems that manual coverage cannot be guaranteed, the application program has huge functions, and multi-time cost, etc., so as to improve test efficiency and test accuracy, improve test coverage, and reduce The effect of potential risks

Inactive Publication Date: 2018-11-09
FUJIAN TIANQUAN EDUCATION TECH LTD
View PDF6 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] 1. The functions of the application are huge, and manual testing and verification of all interface translations requires a lot of time and cost;
[0005] 2. In the case of many application functions, manual operation may not be able to ensure that all application interfaces are covered;
[0006] 3. When the application product is relatively large in scale and has many language types, there may be many hidden risks in unstandardized test methods

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Language verification testing method, and computer readable storage medium
  • Language verification testing method, and computer readable storage medium
  • Language verification testing method, and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0060] Please refer to figure 2 , Embodiment 1 of the present invention is: a language verification test method, which can be applied to the language test of internationalized application products, comprising the following steps:

[0061] S1: Obtain the base language pack, target language pack and standard translation file; wherein, the base language is the language to be translated, the target language is the translated language, and the correct translation content is stored in the standard translation file.

[0062]Specifically, for the base language pack and the target language pack, firstly compress them respectively to obtain two compressed files; then upload the two compressed files to the server through http, and generate corresponding downloadable url addresses (uniform resource locator); the server downloads two compressed files according to the url address, and decompresses the two compressed files respectively to obtain a reference language pack and a target langua...

Embodiment 2

[0082] This embodiment is a specific application scenario of the foregoing embodiments.

[0083] Through the format analysis of all language packs, all language packs are composed of key-value (key-value) structures, but the file formats in different application bodies are different, such as xml, json, strings, xlsx etc. The test method of this embodiment is aimed at the current mainstream application multilingual solution, through the generalized language package processing and parsing process, to perform batch automated content verification and translation verification on the international multilingual package of the application, And output a detailed language pack test report. The specific process is as follows:

[0084] 1. First compress the base language pack to be translated and verified and the target language pack to be verified into .zip files, upload the language pack in zip format to the server via http, and generate a downloadable url address.

[0085] 2. The se...

Embodiment 3

[0111]This embodiment is a computer-readable storage medium corresponding to the above-mentioned embodiments, on which a computer program is stored, and when the program is executed by a processor, the following steps are implemented:

[0112] Obtain the base language pack, target language pack and standard translation files;

[0113] Respectively parsing the data in the reference language pack, the target language pack and the standard translation file into data in the form of key-value pairs to obtain a first set of key-value pairs, a second set of key-value pairs, and a third set of key-value pairs;

[0114] Perform a verification test of whether to translate according to the first key-value pair set and the second key-value pair set;

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a language verification testing method, and a computer readable storage medium. The method includes the following steps: obtaining a reference language package, a target language package, and a standard translation file; respectively analyzing data of the reference language package, the target language package, and the standard translation file into the data in a form of akey value pair, and obtaining a first key value pair set, a second key value pair set, and a third key value pair set; performing a verification test of whether to translate according to the first keyvalue pair set and the second key value pair set; and performing a verification test of whether translation is correct according to the second key value pair set and the third key value pair. According to the method, the test efficiency and test accuracy of a language translation test can be improved, and a test process can be standardized.

Description

technical field [0001] The invention relates to the technical field of data detection, in particular to a language verification test method and a computer-readable storage medium. Background technique [0002] With the continuous development of the Internet, many application products are becoming internationalized one after another, and all application products need to have different language expressions in different internationalized system language environments. Then, when the application product version is iterated, it is necessary to verify the translation content of all supported languages, but when the application has enough functions and the project is large enough, this becomes a very laborious test project. [0003] In the current testing process, manual testing is often used for multi-language testing. Check the user interface after switching languages ​​to confirm whether the translation has been performed, and check the documents provided by the translator to con...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/36G06F17/28
CPCG06F11/3688G06F40/51
Inventor 刘德建魏春旺张婷阎飞曾捷
Owner FUJIAN TIANQUAN EDUCATION TECH LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products