Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method, device and system for testing application program

A test method, application technology

Active Publication Date: 2015-08-26
TENCENT TECH (SHENZHEN) CO LTD
View PDF3 Cites 40 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0013] Embodiments of the present invention provide a testing method, device and system for an application program, to at least solve the technical problem that using the recording and playback method to test software cannot adapt to terminals with different resolutions, resulting in inaccurate software test results

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
  • Method, device and system for testing application program
  • Method, device and system for testing application program
  • Method, device and system for testing application program

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0033]According to an embodiment of the present invention, a method embodiment for implementing a testing method for an application program is provided. It should be noted that the steps shown in the flowcharts of the accompanying drawings can be implemented in a computer system such as a set of computer-executable instructions and, although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that shown or described herein.

[0034] figure 1 It is a flowchart of an application program testing method according to Embodiment 1 of the present invention.

[0035] Such as figure 1 As shown, the method may include the following steps:

[0036] Step S102: Obtain operation information performed on the application under test on the first terminal, where the operation information includes the interface used to perform the test operation on the first terminal, the operation execution coordinates when the tes...

Embodiment 2

[0105] According to an embodiment of the present invention, there is also provided a test device for implementing the application program of the above-mentioned method embodiment, which can be realized by the test method involved in the first embodiment. The implementation process of this application is described in detail from the perspective of the device.

[0106] Figure 6 is a schematic diagram of a test setup for an application implemented in accordance with the present invention.

[0107] Such as Figure 6 As shown, the device may include: an information acquisition module 10 , a first screenshot module 20 , a picture identification module 30 and a test execution module 40 .

[0108] Wherein, the information obtaining module 10 is used to obtain the operation information executed on the application program under test on the first terminal, wherein the operation information includes the interface used to perform the test operation on the first terminal, and the time wh...

Embodiment 3

[0166] In its most basic configuration, the Figure 10 is a schematic structural diagram of a testing system for an application program according to Embodiment 3 of the present invention. The architecture depicted is only one example of a suitable environment for descriptive purposes and is not intended to suggest any limitation as to the scope of use or functionality of the application. Nor should this computing system be construed as a reference to Figure 10 Any one or combination of components shown may have any dependencies or requirements.

[0167] Such as Figure 10 As shown, the system may include: a first terminal 1 , a server 3 and a second terminal 5 .

[0168] Wherein, the first terminal 1 is configured to generate and upload operation information according to the test operation performed on the application program under test, wherein the operation information includes an interface used to perform the test operation on the first terminal, and an interface when t...

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 discloses a method, a device and a system for testing an application program. The method comprises steps as follows: an interface where testing operation of the tested application program is executed, operation execution coordinates during execution of testing operation on the interface and a recorded picture corresponding to the operation execution coordinates are acquired on a first terminal; an interface picture acquired when the interface is operated on a second terminal is intercepted; the interface picture and the recorded picture are subjected to picture recognition, and operation playback coordinates corresponding to the operation execution coordinates in the interface picture are determined according to a picture recognition result; the testing operation is executed on the tested application program on an interface of the second terminal according to the operation playback coordinates. With the adoption of the method, the device and the system for testing the application program, the problem that a software testing result is inaccurate due to the fact that a record and playback method used for testing software in the prior art cannot adapt to terminals with different resolutions is solved, and the operation execution coordinates can be acquired accurately, so that the testing operation can be accurately performed on the second terminal, and an accurate testing result of the application program can be acquired.

Description

technical field [0001] The present invention relates to the field of the Internet, in particular to an application program testing method, device and system. Background technique [0002] Android: Android is a free and open source operating system based on Linux, mainly used in mobile devices (such as smart phones, tablets), led and developed by Google and the Open Handset Alliance. Android does not yet have a unified Chinese name, and more people in mainland China use "Android". [0003] Pattern Recognition: Pattern Recognition refers to the process of processing and analyzing information representing things or phenomena in various forms (such as numerical values, text or logical relations) to describe, identify, classify and explain things or phenomena. , is an important part of information science and artificial intelligence. [0004] OpenCV: OpenCV is a cross-platform computer vision library based on (open source) distributions, which implements many common algorithms ...

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
Inventor 李鸿翔
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products