Code scanning application software testing method, terminal and system
A technology of application software and test methods, applied in software testing/debugging, error detection/correction, instruments, etc., can solve problems such as error-prone and time-consuming, reduce test costs, improve test efficiency, and realize automated testing Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0161] Please refer to figure 1 , a method for testing code-scanning application software. This embodiment describes the testing method from the perspective of a code-scanning device running the code-scanning application software, including steps:
[0162] S1. Receive the test instruction sent by the PC;
[0163] S2. Judging the code scanning type according to the test instruction;
[0164] Wherein, the code scanning type includes a main scanning mode and a scanned mode, the main scanning mode refers to the barcode scanning performed by the code scanning device, and the scanned code refers to the code scanning performed by the code scanning device Display the barcode, and scan the displayed barcode by other scanning devices;
[0165] Specifically, it is judged whether the test instruction includes a barcode, if so, the code scanning type is the scanned mode, otherwise, the code scanning type is the main scanning mode, and the bar code includes a one-dimensional code or a two...
Embodiment 2
[0172] The difference between this embodiment and Embodiment 1 is that the test service is installed on the code scanning device running on the Nucleus operating system, and the test service is specifically the test service of the device OS layer;
[0173] Executing steps S1-S3 through the test service;
[0174] Also include before the step S1:
[0175] receiving an instruction to acquire interface information of the code scanning device sent by the PC through the test service;
[0176]calling the display driver to display interface information, and sending the interface information to the PC through the test service, so that the PC determines a corresponding test script based on the interface information and generates a corresponding test instruction;
[0177] Wherein, the display driver is additionally developed on the scanning device running on the Nucleus operating system in order to realize the display of interface information;
[0178] In step S3, the test script on th...
Embodiment 3
[0180] Please refer to figure 2 , a method for testing code-scanning application software, this embodiment relates to the interaction between a PC terminal and a first code-scanning device, specifically including steps:
[0181] S1. The PC sends a test command to the first code scanning device;
[0182] S2. The first code scanning device judges the code scanning type according to the test instruction;
[0183] Wherein, the code scanning type includes a main scanning mode and a scanned mode, the main scanning mode refers to the barcode scanning performed by the code scanning device, and the scanned code refers to the code scanning performed by the code scanning device Display the barcode, and scan the displayed barcode by other scanning devices;
[0184] Specifically, it is judged whether the test instruction includes a barcode, if so, the code scanning type is the scanned mode, otherwise, the code scanning type is the main scanning mode, and the bar code includes a one-dime...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


