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

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

Active Publication Date: 2022-06-21
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
  • A testing method, terminal and system for scanning code application software
  • A testing method, terminal and system for scanning code application software
  • A testing method, terminal and system for scanning code application software

Examples

Experimental program
Comparison scheme
Effect test

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

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 present invention provides a test method, terminal and system for code scanning application software, which judges the code scanning type according to the test instruction, and drives the code scanning application software to execute the test corresponding to the code scanning type based on the code scanning type, thereby realizing the code scanning application The automated testing of the software does not require manual switching between different scanning methods. It supports both the main scanning method and the scanned method, which solves the problems of insufficient testers, time-consuming and error-prone problems, and improves the test Efficiency, saving testing cost.

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. The kernel is very small after customization, and the 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, scanning a code is a very important function, and therefore, testing the code scanning application software installed on the payment terminal is also a crucial step. Since the scan code includes both the main scan mode, that is, the code to be scanned displayed on the PC or other terminals by the code scanning application software, and the scanned mode, that is, the code scanning application software displays the code to be scanned, and the code is scanned b...

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