CN109542768A - A kind of multi-lingual automatic testing method based on Labview - Google Patents
A kind of multi-lingual automatic testing method based on Labview Download PDFInfo
- Publication number
- CN109542768A CN109542768A CN201811250122.0A CN201811250122A CN109542768A CN 109542768 A CN109542768 A CN 109542768A CN 201811250122 A CN201811250122 A CN 201811250122A CN 109542768 A CN109542768 A CN 109542768A
- Authority
- CN
- China
- Prior art keywords
- lingual
- file
- labview
- excel file
- method based
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3688—Test management for test execution, e.g. scheduling of test suites
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
Abstract
The present invention relates to electronic system language testing technical fields, specifically disclose a kind of multi-lingual automatic testing method based on Labview, comprising steps of the multi-lingual file to be detected of input to be automatically translated into the first Excel file of fixed format;The multi-lingual sound code file of storage is translated into the second Excel file with the fixed format same format;First Excel file and second Excel file are compared, tests and passes through if comparison is consistent, otherwise test does not pass through;The discrepancy for testing obstructed out-of-date first Excel file and second Excel file is obtained, and is stored in test report.The present invention uses Labview programming tool, will compare the whether correct detection process of multi-lingual display and be realized by programming automation, and avoid human error, promote the accuracy of test;Manpower is saved, working efficiency is promoted, reduces testing cost;Discrepancy monitoring is carried out to test file, when having differences state, intelligence obtains abnormal point and forms test report, improves convenient for the later period.
Description
Technical field
The present invention relates to electronic system language testing technical fields more particularly to a kind of based on the multi-lingual of Labview
Automatic testing method.
Background technique
With the raising of research and development technology and the development of economic globalization, more and more products are meeting local market needs
Except, also it is evolving overseas trade.To guarantee outgoing quality, software product must be surveyed during R & D design
Examination, by taking automobile audio navigation product as an example, it is necessary first to check whether spoken speech is wrong, and the method generallyd use is by machine
On language and requirement documents carry out artificial contrast.
In fact, International Language is many kinds of, and individual can not know comprehensively multilingual, and causing can not in comparison process
Rapid identification correctness, and testing efficiency is low;Code update iteration speed is fast in software development process, needs repeatedly to compare,
Labor intensive, it is at high cost;Product Interface and a variety of styles of text, test process are easy to omit, and manual testing is difficult to ensure test
Accuracy.
Summary of the invention
The technical issues of present invention provides a kind of multi-lingual automatic testing method based on Labview, solution is, existing
The whether correct mode of the multi-lingual output of manual testing, during the comparison process manually can not rapid identification correctness, test
Low efficiency;Code update iteration speed is fast in software development process, needs repeatedly to compare, labor intensive is at high cost;Product Interface
With a variety of styles of text, test process is easy to omit, and manual testing is difficult to ensure the accuracy of test.
In order to solve the above technical problems, the present invention provides a kind of multi-lingual automatic testing method based on Labview, and one
Multi-lingual automatic testing method of the kind based on Labview, comprising steps of
S1., the multi-lingual file to be detected of input is automatically translated into the first Excel file of fixed format;
S2. the multi-lingual sound code file of storage is translated into and the 2nd Excel of fixed format same format text
Part;
S3. first Excel file and second Excel file are compared, is tested if comparison is consistent logical
It crosses, otherwise test does not pass through;
S4. the discrepancy for testing obstructed out-of-date first Excel file and second Excel file is obtained, and
It is stored in test report.
Further, it before the step S1, further comprises the steps of:
S0. judge with the presence or absence of first Excel file in database, if otherwise entering the step S1, if otherwise
Jump to the step S2.
Further, the step S1 is specifically included:
S11. multi-lingual file to be detected is imported;
S12., the multi-lingual file to be detected is automatically translated into the institute of the fixed format by Labview program
State the first Excel file.
Further, the step S2 is specifically included:
S21. the multi-lingual sound code file is imported;
S22. the multi-lingual sound code file is automatically translated by Labview program identical as the fixed format
Second Excel file of format.
Further, in the step S3, it is described by first Excel file and second Excel file into
The detailed process of row comparison are as follows:
Whether the discrepancy sum for judging first Excel file and second Excel file is 0, if then generation
Comparison described in table is consistent.
Further, after the step S4 further include:
S5. by the fixed storage path of test report deposit database.
Further, before the step S0 further include: Labview program executes initialization.
Further, the Labview program executes initialization specifically, the multi-lingual file to be detected is arranged
To acquisite approachs, and report head and the storage path of the setting test report.
A kind of multi-lingual automatic testing method based on Labview provided by the invention programs work using Labview
The previous whether correct detection process of the multi-lingual display of manually comparison is realized by programming automation, is avoided artificial by tool
Fault, promotes the accuracy of test;Manpower is saved, working efficiency is promoted, reduces testing cost;Discrepancy is carried out to test file
Monitoring, when having differences state, intelligence obtains abnormal point and forms test report, improves convenient for the later period.
Detailed description of the invention
Fig. 1 is that a kind of work of multi-lingual automatic testing method based on Labview provided in an embodiment of the present invention is former
Reason figure;
Fig. 2 is a kind of detailed work of multi-lingual automatic testing method based on Labview provided in an embodiment of the present invention
Make flow chart.
Specific embodiment
Embodiments of the present invention are specifically illustrated with reference to the accompanying drawing, embodiment is only given for illustrative purposes,
It can not be interpreted as limitation of the invention, including attached drawing is only for reference and illustrates use, not constitute and the invention patent is protected
The limitation of range, because on the basis of not departing from spirit and scope of the invention many changes can be carried out to the present invention.
A kind of multi-lingual automatic testing method based on Labview provided in an embodiment of the present invention, working principle is such as
Shown in Fig. 1, detailed operation process is as shown in Figure 2.In the present embodiment, described a kind of based on the multi-lingual of Labview
Automatic testing method, comprising steps of
S1., the multi-lingual file (demand file) to be detected of input is automatically translated into the first Excel of fixed format
File (Excel1);
S2. the multi-lingual sound code file of storage is translated into and the 2nd Excel of fixed format same format text
Part (Excel2);
S3. first Excel file (Excel1) and second Excel file (Excel2) are compared, if
The consistent then test of comparison passes through, otherwise test does not pass through;
S4. it obtains and tests obstructed out-of-date first Excel file (Excel1) and second Excel file
(Excel2) discrepancy, and it is stored in test report.
As the preferred embodiment of the present invention, it should be noted that:
Before the step S1, further comprise the steps of:
S0. judge with the presence or absence of first Excel file (Excel1) in database, if otherwise entering the step
S1, if otherwise jumping to the step S2.
Before the step S0 further include: Labview program executes initialization, specifically, is arranged multi-lingual to be detected
The to acquisite approachs of file (demand file), and report head and the storage path of setting test report.
After the step S4 further include:
S5. by the fixed storage path of test report deposit database.
Further, the step S1 is specifically included:
S11. multi-lingual file to be detected (demand file) is imported;
S12. the multi-lingual file (demand file) to be detected is automatically translated by Labview program described solid
First Excel file (Excel1) for the formula that fixes.
Further, the step S2 is specifically included:
S21. the multi-lingual sound code file (source code) is imported;
S22. the multi-lingual sound code file is automatically translated by Labview program identical as the fixed format
The second Excel file (Excel2) of format.
Further, in the step S3, described by first Excel file (Excel1) and described second
The detailed process that Excel file (Excel2) compares are as follows:
Judge the discrepancy sum m of first Excel file (Excel1) Yu second Excel file (Excel2)
Whether being 0, (under different requirements, 0) the discrepancy sum m is not strictly limited to, if then representing the comparison one
Cause exports " test passes through " and test result is simultaneously stored in the test report, if otherwise exporting " test does not pass through " and will test
As a result it is stored in the test report.
A kind of multi-lingual automatic testing method based on Labview provided in an embodiment of the present invention, is compiled using Labview
The previous whether correct detection process of the multi-lingual display of manually comparison is realized by programming automation, is avoided by journey tool
Human error promotes the accuracy of test;Manpower is saved, working efficiency is promoted, reduces testing cost;It is poor to carry out to test file
Dissimilarity monitoring, when having differences state, intelligence obtains abnormal point and forms test report, improves convenient for the later period.
The above embodiment is a preferred embodiment of the present invention, but embodiments of the present invention are not by above-described embodiment
Limitation, other any changes, modifications, substitutions, combinations, simplifications made without departing from the spirit and principles of the present invention,
It should be equivalent substitute mode, be included within the scope of the present invention.
Claims (8)
1. a kind of multi-lingual automatic testing method based on Labview, which is characterized in that comprising steps of
S1., the multi-lingual file to be detected of input is automatically translated into the first Excel file of fixed format;
S2., the multi-lingual sound code file of storage is translated into the second Excel file with the fixed format same format;
S3. first Excel file and second Excel file are compared, tests and pass through if comparison is consistent, instead
Test do not pass through;
S4. the discrepancy for testing obstructed out-of-date first Excel file and second Excel file is obtained, and is stored in
Test report.
2. a kind of multi-lingual automatic testing method based on Labview as described in claim 1, which is characterized in that in institute
Before stating step S1, further comprise the steps of:
S0. judge with the presence or absence of first Excel file in database, if otherwise entering the step S1, if otherwise jumping
To the step S2.
3. a kind of multi-lingual automatic testing method based on Labview as claimed in claim 2, which is characterized in that described
Step S1 is specifically included:
S11. multi-lingual file to be detected is imported;
S12. the multi-lingual file to be detected is automatically translated into described the of the fixed format by Labview program
One Excel file.
4. a kind of multi-lingual automatic testing method based on Labview as claimed in claim 2, which is characterized in that described
Step S2 is specifically included:
S21. the multi-lingual sound code file is imported;
S22. the multi-lingual sound code file is automatically translated into and the fixed format same format by Labview program
The second Excel file.
5. a kind of multi-lingual automatic testing method based on Labview as described in claim 3 or 4, which is characterized in that
In the step S3, the detailed process that first Excel file and second Excel file are compared are as follows:
Whether the discrepancy sum for judging first Excel file and second Excel file is 0, if then representing institute
It is consistent to state comparison.
6. a kind of multi-lingual automatic testing method based on Labview as claimed in claim 5, which is characterized in that in institute
After stating step S4 further include:
S5. by the fixed storage path of test report deposit database.
7. a kind of multi-lingual automatic testing method based on Labview as claimed in claim 6, which is characterized in that in institute
Before stating step S0 further include: Labview program executes initialization.
8. a kind of multi-lingual automatic testing method based on Labview as claimed in claim 7, it is characterised in that: described
Labview program executes initialization specifically, the to acquisite approachs of the multi-lingual file to be detected is arranged, and described in setting
The report head of test report and the storage path.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811250122.0A CN109542768A (en) | 2018-10-25 | 2018-10-25 | A kind of multi-lingual automatic testing method based on Labview |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811250122.0A CN109542768A (en) | 2018-10-25 | 2018-10-25 | A kind of multi-lingual automatic testing method based on Labview |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109542768A true CN109542768A (en) | 2019-03-29 |
Family
ID=65845416
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811250122.0A Pending CN109542768A (en) | 2018-10-25 | 2018-10-25 | A kind of multi-lingual automatic testing method based on Labview |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109542768A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113515443A (en) * | 2021-04-21 | 2021-10-19 | 深圳市康冠商用科技有限公司 | Multi-language automatic checking method, device, computer equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1466058A (en) * | 2002-06-24 | 2004-01-07 | 华为技术有限公司 | Method for readlizing universal test report |
US20080120129A1 (en) * | 2006-05-13 | 2008-05-22 | Michael Seubert | Consistent set of interfaces derived from a business object model |
CN103942138A (en) * | 2013-01-23 | 2014-07-23 | 纽海信息技术(上海)有限公司 | Testing method and device |
CN104765635A (en) * | 2015-04-09 | 2015-07-08 | 上海斐讯数据通信技术有限公司 | Method and system for checking multiple languages in APK |
-
2018
- 2018-10-25 CN CN201811250122.0A patent/CN109542768A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1466058A (en) * | 2002-06-24 | 2004-01-07 | 华为技术有限公司 | Method for readlizing universal test report |
US20080120129A1 (en) * | 2006-05-13 | 2008-05-22 | Michael Seubert | Consistent set of interfaces derived from a business object model |
CN103942138A (en) * | 2013-01-23 | 2014-07-23 | 纽海信息技术(上海)有限公司 | Testing method and device |
CN104765635A (en) * | 2015-04-09 | 2015-07-08 | 上海斐讯数据通信技术有限公司 | Method and system for checking multiple languages in APK |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113515443A (en) * | 2021-04-21 | 2021-10-19 | 深圳市康冠商用科技有限公司 | Multi-language automatic checking method, device, computer equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2960799A1 (en) | Defect localization in software integration tests | |
CN104516818B (en) | The automatization test system and its method of compiler a kind of software suitable for Logical Configuration | |
CN105022691B (en) | A kind of increasingly automated method for testing software based on uml diagram | |
CN104462981B (en) | leak detection method and device | |
CN109800156B (en) | Subway signal system automatic test method based on configuration file command | |
CN110389898A (en) | Acquisition methods, device, terminal and the computer readable storage medium of Test Strategy | |
US10598722B1 (en) | Automated waveform analysis methods using a parallel automated development system | |
CN108595336A (en) | A kind of computer software testing system based on Ethernet | |
US7475016B2 (en) | Speech segment clustering and ranking | |
CN109828917A (en) | A kind of the continuous integrating management method and system of whole process automation | |
CN109408379A (en) | One kind is based on promotion jmeter interface automatic test data matching method | |
CN105574178B (en) | Satellite test basic database and batch satellite test device and method | |
CN109542768A (en) | A kind of multi-lingual automatic testing method based on Labview | |
CN109032941A (en) | The sustainable integrated interface automated testing method and system of test case driving | |
CN109508204B (en) | Front-end code quality detection method and device | |
CN115794639B (en) | Visual test based on flow and visual simulation test system and method | |
CN111078526A (en) | Test case generation method and device and storage medium | |
CN114661615B (en) | FPGA software testing method and device | |
CN107391377B (en) | Method for testing software integration based on combined flow chart | |
CN106095663B (en) | Program based on hierarchical model returns location of mistake method | |
CN102521124B (en) | Method and system for outputting failure reasons | |
CN113608089B (en) | SOA test method, system and device for switching power supply MOS tube and readable storage medium | |
CN114942890A (en) | User interface testing method, device, equipment and medium | |
CN109471637A (en) | The examination script debugging method of circuit diagram | |
CN110704252A (en) | Automatic testing device and testing method based on cloud dynamic management |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190329 |