Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Automatic testing method and device for POS (Point-Of-Sale) terminal

An automatic testing and terminal technology, applied in software testing/debugging, error detection/correction, instrumentation, etc., can solve problems such as unfavorable test efficiency, and achieve the effect of convenient execution of use cases on demand

Active Publication Date: 2017-11-24
PAX COMP TECH SHENZHEN
View PDF3 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, the embodiment of the present invention provides a POS terminal automatic testing method and device to solve the problem that the existing POS terminal needs to manually fill in the test results on TESTLINK and record the log information, which is not conducive to improving the test efficiency. The problem

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
  • Automatic testing method and device for POS (Point-Of-Sale) terminal
  • Automatic testing method and device for POS (Point-Of-Sale) terminal
  • Automatic testing method and device for POS (Point-Of-Sale) terminal

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0042] refer to figure 1 , figure 1 It is an implementation flowchart of the POS terminal automatic testing method provided by the embodiment of the present invention, and the method is applied to terminal equipment, such as figure 1 Shown POS terminal automatic testing method can comprise the following steps:

[0043] S101, using the remote procedure call XML-RPC protocol to download the use case from the web-based use case management system TESTLINK;

[0044] Among them, S101 is specifically:

[0045] Obtain the server address, user name and key, and connect to the web-based use case management system TESTLINK according to the server address, user name and key;

[0046] According to the selected acquisition project, plan and version, use the remote procedure call XML-RPC protocol to download the specified use case from TESTLINK. The XML-RPC protocol is XML Remote Procedure Call, that is, remote procedure call.

[0047] S102. Obtain the selected test attributes, and filt...

Embodiment approach

[0059] Among them, S104 has two implementation modes, which are described in detail as follows:

[0060] In the first implementation mode, according to the execution sequence, the command to execute the use case is sent to the POS terminal through the serial port communication protocol or the parallel port communication protocol, and after the POS terminal finishes executing the use case to be executed, the test result is obtained and uploaded to the TESTLINK.

[0061] The second implementation mode adopts heartbeat detection to judge whether the communication link between itself and the POS terminal is normally connected;

[0062] After a normal connection, according to the execution sequence, send the command to execute the use case to the POS terminal through the serial port communication protocol, and use the serial port thread to monitor the data of the POS terminal;

[0063] When listening to the POS terminal data arrival, notify the test operation thread to receive and ...

Embodiment 2

[0077] refer to figure 2 , figure 2 It is an implementation flow chart for downloading and displaying use cases from the web-based use case management system TESTLINK using the remote procedure call XML-RPC protocol in the POS terminal automatic test method provided by the embodiment of the present invention. The POS terminal automatic test method is applied to terminal equipment ,Such as figure 2 shown, including the following steps:

[0078] S201, select a project, a plan, and a version;

[0079] S202, click the DownloadCase button;

[0080] S203, check whether the connection is successful;

[0081] S204, start using the remote procedure call XML-RPC protocol to download the use case from the web-based use case management system TESTLINK;

[0082] S205, use the remote procedure call XML-RPC protocol, after downloading the use case from the web-based use case management system TESTLINK, enter the use case display interface, and wait for the download to complete;

[0...

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 is suitable for the technical field of POS (Point-Of-Sale) terminals, and provides an automatic testing method and device for a POS (Point-Of-Sale) terminal. The method comprises the following steps that: using an XML-RPC (Extensive Markup Language-Remote Procedure Call) protocol to download a use case from a use case management system TESTLINK based on web; obtaining a selected test attribute, and screening a use case to be executed from the downloaded use case according to the selected test attribute; in the use case to be executed, selecting and sorting keywords to obtain an execution sequence; and according to the execution sequence, controlling the POS terminal to carry out batch processing or single execution on the use case, and uploading a test result after execution is finished. The embodiment of the invention has the following beneficial effects that: 1) the XML-RPC protocol is used to remotely operate the TESTLINK to realize purposes of downloading the use case and uploading test results; 2) a reliable protocol is used to communicate with the POS terminal to control the execution of the use case on the POS terminal so as to realize a purpose of automatic testing; and 3) the way of filtering, sorting, batch processing or the single execution of use cases is provided so as to greatly bring convenience for testing personnel to execute the use case according to requirements.

Description

technical field [0001] The invention belongs to the technical field of POS terminals, in particular to a POS terminal automatic testing method and device. Background technique [0002] With the development of the economy, the configuration of POS terminals is becoming more and more powerful, and the functions are becoming more and more complete. When users need to complete commodity payment, they can use the POS terminal to swipe the card to enjoy the fast payment experience brought by the POS terminal. In addition, in Before the POS machine is put into use, it is necessary to test the POS machine. [0003] However, existing POS terminals need to manually fill in test results on TESTLINK and record log information when testing cases, which is not conducive to improving test efficiency. The reason is that although the method of manually filling in test results on TESTLINK can Update to TESTLINK, but the process can only be done manually by the user, and the operation steps a...

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 Applications(China)
IPC IPC(8): G06F11/36
CPCG06F11/3684G06F11/3688
Inventor 吕更李健杨维蓝海
Owner PAX COMP TECH SHENZHEN
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Eureka Blog
Learn More
PatSnap group products