Unlock instant, AI-driven research and patent intelligence for your innovation.

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

Active Publication Date: 2019-04-05
FUJIAN LANDI COMML EQUIP CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, for payment terminals installed with the Nucleus embedded operating system, when testing the scanning application software, it is necessary to manually switch between different scanning methods, which is not only error-prone, but also time-consuming.

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
  • Code scanning application software testing method, terminal and system
  • Code scanning application software testing method, terminal and system
  • Code scanning application software testing method, terminal and system

Examples

Experimental program
Comparison scheme
Effect test

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...

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 provides a method for testing code scanning application software. Terminal and system, judging the code scanning type according to the test instruction; and driving code scanning application software to execute a test corresponding to the code scanning type based on the code scanning type, The automatic test of the code scanning application software is realized, manual switching of different code scanning modes is not needed, the test of a main scanning mode and the test of a scanned mode are supported, the problems of insufficient test personnel, high time consumption and high error rate are solved, the test efficiency is improved, and the test cost is saved.

Description

technical field [0001] The invention relates to the field of software testing, in particular to a testing method, terminal and system for scanning code application software. Background technique [0002] Nucleus embedded operating system is a real-time, preemptive, multi-tasking operating system. After the kernel is customized, it is very small, and its real-time performance is relatively high. It is especially suitable for payment scenarios. Therefore, it is widely used in payment terminals. [0003] For a payment terminal, code scanning is a very important function, therefore, the test of the code scanning application software installed on the payment terminal is also a crucial link. Since the code scanning includes both the main scanning mode, that is, the code scanning application software scans the code to be scanned on the PC or other terminals, and also includes the scanned mode, that is, the code scanning application software presents the code to be scanned, and othe...

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
IPC IPC(8): G06F11/36
CPCG06F11/3688
Inventor 陈本锋林晋安
Owner FUJIAN LANDI COMML EQUIP CO LTD