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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com