A testing method, terminal and system for scanning code application software
A technology for applying software and testing methods, applied in software testing/debugging, error detection/correction, instruments, etc., can solve problems such as time-consuming and error-prone, reduce testing costs, improve testing 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 test method for code scanning application software, the present embodiment describes the test method from the perspective of a code scanning device running the code scanning application software, including the steps:
[0162] S1. Receive the test command sent by the PC;
[0163] S2, determine the scan code type according to the test instruction;
[0164] Wherein, the scanning type includes a main scanning mode and a scanned mode, the main scanning mode refers to the scanning of the barcode by the scanning device, and the scanned mode refers to the scanning mode by the 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, and if so, the scan code type is the scanned mode, otherwise, the scan code type is the main scan mode, and the barcode includes a one-dimensional code or a two-dimensional code, etc.;
[0166] If...
Embodiment 2
[0172] The difference between this embodiment and the first embodiment is that a 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] Perform steps S1-S3 through the test service;
[0174] Before the step S1, it also includes:
[0175] Receive, through the test service, the instruction sent by the PC to obtain the interface information of the scanning device;
[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 so as to realize the display of interface information;
[0178] In step S3, the test script ...
Embodiment 3
[0180] Please refer to figure 2 , a test method for scanning code application software, the present embodiment relates to the interaction between the PC terminal and the first scanning code device, and specifically includes the steps:
[0181] S1. The PC terminal sends a test command to the first scanning device;
[0182] S2, the first scan code device determines the scan code type according to the test instruction;
[0183] Wherein, the scanning type includes a main scanning mode and a scanned mode, the main scanning mode refers to the scanning of the barcode by the scanning device, and the scanned mode refers to the scanning mode by the 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, and if so, the scan code type is the scanned mode; otherwise, the scan code type is the main scan mode, and the barcode includes a one-dimensional code or a two...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


