CN112416741A - Application program compatibility testing method and device - Google Patents

Application program compatibility testing method and device Download PDF

Info

Publication number
CN112416741A
CN112416741A CN201911366668.7A CN201911366668A CN112416741A CN 112416741 A CN112416741 A CN 112416741A CN 201911366668 A CN201911366668 A CN 201911366668A CN 112416741 A CN112416741 A CN 112416741A
Authority
CN
China
Prior art keywords
tested
application program
control event
terminal
control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911366668.7A
Other languages
Chinese (zh)
Inventor
张�杰
曲涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Bilibili Technology Co Ltd
Original Assignee
Shanghai Bilibili Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Bilibili Technology Co Ltd filed Critical Shanghai Bilibili Technology Co Ltd
Priority to CN201911366668.7A priority Critical patent/CN112416741A/en
Publication of CN112416741A publication Critical patent/CN112416741A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Debugging And Monitoring (AREA)
  • Telephone Function (AREA)

Abstract

The invention relates to the technical field of computers, and discloses a method and a device for testing application program compatibility, which are used for solving the problems that a webpage end browser cannot realize multi-point operation and the utilization rate of a cloud mobile phone is low. The method comprises the following steps: the method comprises the steps that a main terminal obtains a first control event set executed by a user on an application program to be tested, and determines a corresponding control command set based on the first control event set; then sending the control command set to the subordinate terminal to be tested to trigger the subordinate terminal to be tested to execute a second control event set on the application program to be tested based on the control command set; and finally, the master terminal receives a second control event set returned by the slave terminal to be tested, and determines a compatible result of the application program to be tested on the slave terminal to be tested based on the second control event set. The main terminal can realize the multi-point operation of the application program to be tested so as to detect the compatibility of the application program of the multi-point operation class on the subordinate mobile phone to be tested and improve the utilization rate of the subordinate terminal to be tested.

Description

Application program compatibility testing method and device
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method and an apparatus for testing application compatibility.
Background
With the development of science and technology, a user can obtain corresponding Application services through Application programs (APPs) installed on the intelligent device. For example, a user chats with friends using a social APP on a cell phone; as another example, a user plays a game using a computer. Due to the diversity and the difference of the intelligent equipment, once the APP is not normally compatible with the intelligent equipment of a certain model, a large number of users can be lost, and therefore, after the development work of the APP is completed, the compatibility test of the APP is required to be carried out.
Because APP compatibility needs to be tested on intelligent devices of different models, if each intelligent device is purchased, the compatibility cost is greatly increased, and therefore a cloud real machine testing platform is adopted for compatibility testing in the prior art. Specifically, a connection is established between a browser of a network (Web) end and a cloud mobile phone, and an application program is controlled by the browser to execute corresponding operations on the cloud mobile phone.
By adopting the method, only single-point operation can be executed on the cloud mobile phone, multi-point operation cannot be realized, and the utilization rate of the cloud mobile phone is reduced.
Disclosure of Invention
The embodiment of the invention provides a method and a device for testing application program compatibility, which are used for solving the problems that a webpage end browser cannot realize multi-point operation and the utilization rate of a cloud mobile phone is low.
The embodiment of the invention provides the following specific technical scheme:
in a first aspect, an embodiment of the present invention provides a method for testing application compatibility, where the method is applied to a master terminal, and the method includes:
acquiring a first control event set executed by a user on an application program to be tested, and determining a corresponding control command set based on the first control event set;
sending the control command set to a subordinate terminal to be tested to trigger the subordinate terminal to be tested to execute a second control event set on the application program to be tested based on the control command set;
and receiving the second control event set returned by the slave terminal to be tested, and determining a compatible result of the application program to be tested on the slave terminal to be tested based on the second control event set.
Optionally, before obtaining the first set of control events executed by the user on the application program to be tested, the method further includes:
and establishing a command channel between the slave terminal to be tested and the slave terminal to be tested based on a transmission control protocol, wherein the command channel is used for sending the control command set to the slave terminal to be tested.
Optionally, determining a corresponding set of steering commands based on the first set of steering events includes:
analyzing each first control event respectively, and determining corresponding operation points, wherein one operation point represents one first control event executed by the user on the main terminal for the application program to be tested;
respectively analyzing each operation point, and determining an operation command identifier corresponding to each operation point and a coordinate position corresponding to each operation point;
and packaging each operation command identifier and each coordinate position into the control command set.
Optionally, determining a compatible result of the application program to be tested on the slave terminal to be tested based on the second control event set includes:
when the first control event set is judged to be the same as the second control event set, determining that the application program to be tested is compatible successfully on the slave terminal to be tested;
and when the first control event set is judged to be different from the second control event set, determining that the compatibility of the application program to be tested on the slave terminal to be tested is unsuccessful.
In a second aspect, an embodiment of the present invention further provides a method for testing application compatibility, where the method is applied to a slave terminal to be tested, and the method includes:
receiving a control command set sent by a main terminal;
executing a second control event set on the application program to be tested based on the control command set;
and sending the second control event set to the master terminal so as to trigger the master terminal to determine a compatible result of the application program to be tested on the slave terminal to be tested based on the second control event set.
Optionally, based on the control command set, executing a second control event set on the application program to be tested, where the second control event set includes:
analyzing the control command set, and determining operation command identifications corresponding to the operation points and coordinate positions corresponding to the operation points;
and executing a second control event on the application program to be tested on the corresponding operating point based on each operating command identifier and each coordinate position.
In a third aspect, an embodiment of the present invention further provides a device for testing application compatibility, where the device is applied to a main terminal, and the device includes:
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring a first control event set executed by a user on an application program to be tested and determining a corresponding control command set based on the first control event set;
the sending unit is used for sending the control command set to a subordinate terminal to be tested so as to trigger the subordinate terminal to be tested to execute a second control event set on the application program to be tested based on the control command set;
and the judging unit is used for receiving the second control event set returned by the slave terminal to be tested and determining a compatible result of the application program to be tested on the slave terminal to be tested based on the second control event set.
Optionally, before the obtaining of the first set of control events executed by the user on the application program to be tested, the obtaining unit is further configured to:
and establishing a command channel between the slave terminal to be tested and the slave terminal to be tested based on a transmission control protocol, wherein the command channel is used for sending the control command set to the slave terminal to be tested.
Optionally, based on the first manipulation event set, a corresponding manipulation command set is determined, and the obtaining unit is configured to:
analyzing each first control event respectively, and determining corresponding operation points, wherein one operation point represents one first control event executed by the user on the main terminal for the application program to be tested;
respectively analyzing each operation point, and determining an operation command identifier corresponding to each operation point and a coordinate position corresponding to each operation point;
and packaging each operation command identifier and each coordinate position into the control command set.
Optionally, based on the second control event set, a compatible result of the application to be tested on the slave terminal to be tested is determined, and the determining unit is configured to:
when the first control event set is judged to be the same as the second control event set, determining that the application program to be tested is compatible successfully on the slave terminal to be tested;
and when the first control event set is judged to be different from the second control event set, determining that the compatibility of the application program to be tested on the slave terminal to be tested is unsuccessful.
In a fourth aspect, an embodiment of the present invention further provides a device for testing application compatibility, where the device is applied to a slave terminal to be tested, and the device includes:
the receiving unit is used for receiving the control command set sent by the main terminal;
the execution unit is used for executing a second control event set on the application program to be tested based on the control command set;
and the return unit is used for sending the second control event set to the master terminal so as to trigger the master terminal to determine a compatible result of the application program to be tested on the slave terminal to be tested based on the second control event set.
Optionally, based on the control command set, a second control event set is executed on the application program to be tested, and the execution unit is configured to:
analyzing the control command set, and determining operation command identifications corresponding to the operation points and coordinate positions corresponding to the operation points;
and executing a second control event on the application program to be tested on the corresponding operating point based on each operating command identifier and each coordinate position.
In a fifth aspect, an embodiment of the present invention further provides a computing device, including:
a memory for storing program instructions;
and the processor is used for calling the program instructions stored in the memory and executing any one of the test methods for the application program compatibility applied to the master terminal or any one of the test methods for the application program compatibility applied to the slave terminal to be tested according to the obtained program.
In a sixth aspect, an embodiment of the present invention further provides a storage medium, which includes computer readable instructions, and when the computer reads and executes the computer readable instructions, the computer is caused to execute any one of the above methods for testing application compatibility.
The invention has the following beneficial effects:
in the embodiment of the invention, a main terminal firstly acquires a first control event set executed by a user on an application program to be tested, and determines a corresponding control command set based on the first control event set; then sending the control command set to the subordinate terminal to be tested to trigger the subordinate terminal to be tested to execute a second control event set on the application program to be tested based on the control command set; and finally, the master terminal receives a second control event set returned by the slave terminal to be tested, and determines a compatible result of the application program to be tested on the slave terminal to be tested based on the second control event set. The master terminal can realize multi-point operation on the application program to be tested so as to detect the compatibility of the application program of a multi-point operation class on the slave terminal to be tested and improve the utilization rate of the slave terminal to be tested and the testing efficiency of the application program on the slave terminal to be tested.
Drawings
Fig. 1 is a schematic flowchart of a method for testing application compatibility according to an embodiment of the present invention;
fig. 2a is a schematic diagram illustrating an operation performed by a slave terminal to be tested on a game application to be tested according to an embodiment of the present invention;
fig. 2b is a schematic diagram illustrating an operation performed by a slave terminal to be tested on a video stream application to be tested according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of a process of testing compatibility of a game APP on a mobile phone B according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a device for testing application compatibility of a host terminal according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a testing apparatus for application compatibility applied to a slave terminal under test according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a computing device according to an embodiment of the present invention.
Detailed Description
The embodiment of the invention provides a new solution for solving the problems that a webpage end browser cannot realize multi-point operation and the utilization rate of a cloud mobile phone is low. The scheme is as follows: the method comprises the steps that a main terminal firstly obtains a first control event set executed by a user on an application program to be tested, and determines a corresponding control command set based on the first control event set; then sending the control command set to the subordinate terminal to be tested to trigger the subordinate terminal to be tested to execute a second control event set on the application program to be tested based on the control command set; and finally, the master terminal receives a second control event set returned by the slave terminal to be tested, and determines a compatible result of the application program to be tested on the slave terminal to be tested based on the second control event set.
Preferred embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
Specifically, an embodiment of the present invention provides a test system for application compatibility, where the test system includes a master terminal and a slave terminal to be tested. Referring to fig. 1, the process of testing the compatibility of the application program in the embodiment of the present invention is as follows:
s101: the method comprises the steps that a main terminal obtains a first control event set executed by a user on an application program to be tested, and determines a corresponding control command set based on the first control event set.
Before step 101 is executed, the master terminal establishes an image channel and a command channel with the slave terminal to be tested respectively based on a Transmission Control Protocol (TCP), where the image channel is used for the master terminal to receive a real-time screen of the slave terminal to be tested, and the command channel is used for the master terminal to send a Control command set to the slave terminal to be tested. Through the established image channel and the command channel, a real-time screen picture of the slave terminal to be tested can be displayed on the master terminal, and the control command set of the master terminal is transmitted to the slave terminal to be tested in real time, so that the master terminal remotely controls the slave terminal to be tested, and the test on the compatibility of the application program is completed.
Optionally, based on the first control event set, the main terminal determines the corresponding control command set as follows:
a1, the main terminal respectively analyzes each first control event, and determines corresponding operation points, wherein one operation point represents one first control event executed by the user on the main terminal for the application program to be tested.
A2, the main terminal respectively analyzes each operation point, and determines the operation command identification corresponding to each operation point and the coordinate position corresponding to each operation point. Wherein, the control command identification at least comprises any one or combination of the following contents: clicking the screen by a finger, moving a screen picture by the finger, pressing the screen by the finger for a long time, leaving the screen by the finger, operating a power key, operating a return key, and operating a volume up key or a volume down key.
And A3, packaging each operation command identification and each coordinate position into a control command set by the master terminal.
The method comprises the steps that multipoint operation can be achieved on an application program to be tested on a main terminal, coordinate positions and operation command identifications of operation points executed by the application program to be tested by a user are determined by analyzing a plurality of first operation events input by the user, so that a corresponding operation command set is sent to a subordinate terminal to be tested through a pre-established command channel, and compatibility of the application program of a multipoint operation class on the subordinate terminal to be tested is detected.
S102: and the master terminal sends the control command set to the slave terminal to be tested.
And the master terminal sends the control command set to the slave terminal to be tested through the command channel.
S103: and the slave terminal to be tested receives the control command set sent by the master terminal.
S104: and the slave terminal to be tested executes a second control event set on the application program to be tested based on the control command set.
Optionally, based on the control command set, the process of executing the second control event set on the application program to be tested by the slave terminal to be tested is as follows:
b1, the slave terminal to be tested analyzes the control command set, and determines the operation command identification of the corresponding point of each operation point and the coordinate position of the corresponding point of each operation point.
And B2, the slave terminal to be tested executes a second control event on the corresponding operation point for the application program to be tested based on each operation command identifier and each coordinate position.
The slave terminal to be tested receives the control command set sent by the master terminal through the command channel, and determines the coordinate position and the operation command identification of each operation point executed by the user on the application program to be tested by analyzing the control command set, so that the corresponding control command is executed on the operation point corresponding to the same coordinate position on the slave terminal to be tested, and the compatibility of the application program of the multi-point operation class on the slave terminal to be tested is detected.
For example, the manipulation command set includes { operation point a (2, 3), finger click screen }, { operation point b (3, 1), finger movement screen picture }, { volume up key, and volume up key }, so, referring to fig. 2a, the slave terminal under test performs a finger click screen operation on the operation point a in row 2 and column 3, performs a finger movement screen picture operation on the operation point b in row 3 and column 1, and presses the volume up key in the game application under test.
For another example, the manipulation command set includes { operation point c (3,3), finger short-press screen & finger moving screen }, { operation point d (9,3), finger short-press screen & finger moving screen }, { operation point e (14,6), and finger click screen & finger moving screen }, so, as shown in fig. 2b, in the video application to be tested, the operation points c to e execute the operation of finger click screen first and then execute the operation of finger moving screen at the same time, thereby implementing the function of enlarging the video screen in the operation area.
S105: and the slave terminal to be tested sends the second control event set to the master terminal.
And the slave terminal to be tested sends the log recorded with the second control event set to the master terminal.
S106: and the master terminal receives a second control event set returned by the slave terminal to be tested, and determines a compatible result of the application program to be tested on the slave terminal to be tested based on the second control event set.
Optionally, based on the second control event set, the process of determining the compatible result of the application to be tested on the slave terminal to be tested by the master terminal is as follows:
the master terminal calls logs recording the first control event set, compares the two logs, and determines that the application program to be tested is successfully compatible on the slave terminal to be tested when the first control event set is judged to be the same as the second control event set; and when the first control event set and the second control event set are judged, determining that the compatibility of the application program to be tested on the slave terminal to be tested is unsuccessful.
Based on the above embodiment, a specific application scenario is adopted for further detailed description below, where the mobile phone a is a master terminal, the mobile phone B is a slave terminal to be tested, and the game APP is an application program to be tested. The specific flow chart is shown in fig. 3.
S301: the mobile phone A establishes TCP connection with the mobile phone B through a locally installed mobile phone controller and scanning a two-dimensional code of the mobile phone B on a cloud-real machine platform;
s302: the mobile phone A receives and presents the screen picture of the mobile phone B through the image channel;
s303: the mobile phone A opens a game APP installed on the mobile phone B;
s304: the mobile phone A simultaneously executes the following two first operation events: performing operation of clicking the screen by fingers on the operation points f (7,14) to control the game character to realize a jumping function; executing the operation of long-time pressing the screen by fingers on the operation points g (26,26) to control the game character to realize the function of advancing all the time;
s305: the mobile phone A sends a control command set to the mobile phone B through a command channel;
s306: the mobile phone B analyzes the control command set to obtain a corresponding coordinate position of the operation point and an operation command identifier;
s307: the mobile phone B simultaneously executes the following two second operation events: performing operation of clicking the screen by fingers on the operation points f (7,14) to control the game character to realize a jumping function; executing the operation of long-time pressing the screen by fingers on the operation points g (26,26) to control the game character to realize the function of advancing all the time;
s308: the mobile phone B returns the log recording the second operation event set to the mobile phone A;
s309: the mobile phone A calls a log recording a first operation event set, and when the first operation event set is judged to be the same as a second operation event set, the game APP is determined to be successfully compatible on the mobile phone B; and when the first control event set is judged to be different from the second control event set, determining that the game APP is not compatible and successful on the mobile phone B.
Based on the same inventive concept, in the embodiment of the present invention, a device for testing application compatibility applied to a host terminal is provided, as shown in fig. 4, the device at least includes an obtaining unit 401, a sending unit 402 and a judging unit 403, wherein,
an obtaining unit 401, configured to obtain a first control event set executed by a user on an application program to be tested, and determine a corresponding control command set according to the first control event set;
a sending unit 402, configured to send the control command set to a slave terminal to be tested, so as to trigger the slave terminal to be tested to execute a second control event set on the application program to be tested based on the control command set;
the determining unit 403 is configured to receive the second control event set returned by the slave terminal to be tested, and determine a compatible result of the application to be tested on the slave terminal to be tested based on the second control event set.
Optionally, before acquiring the first set of control events executed by the user on the application program to be tested, the acquiring unit 401 is further configured to:
and establishing a command channel between the slave terminal to be tested and the slave terminal to be tested based on a transmission control protocol, wherein the command channel is used for sending the control command set to the slave terminal to be tested.
Optionally, based on the first set of control events, a corresponding set of control commands is determined, and the obtaining unit 401 is configured to:
analyzing each first control event respectively, and determining corresponding operation points, wherein one operation point represents one first control event executed by the user on the main terminal for the application program to be tested;
respectively analyzing each operation point, and determining an operation command identifier corresponding to each operation point and a coordinate position corresponding to each operation point;
and packaging each operation command identifier and each coordinate position into the control command set.
Optionally, based on the second control event set, a compatible result of the application to be tested on the slave terminal to be tested is determined, and the determining unit 403 is configured to:
when the first control event set is judged to be the same as the second control event set, determining that the application program to be tested is compatible successfully on the slave terminal to be tested;
and when the first control event set is judged to be different from the second control event set, determining that the compatibility of the application program to be tested on the slave terminal to be tested is unsuccessful.
Based on the same inventive concept, in the embodiment of the present invention, a device for testing application compatibility of a slave terminal to be tested is provided, as shown in fig. 5, the device at least includes a receiving unit 501, an executing unit 502 and a returning unit 503, wherein,
a receiving unit 501, configured to receive a control command set sent by a master terminal;
an execution unit 502, configured to execute a second control event set on the application program to be tested based on the control command set;
a returning unit 503, configured to send the second control event set to the master terminal, so as to trigger the master terminal to determine a compatible result of the application to be tested on the slave terminal to be tested based on the second control event set.
Optionally, based on the control command set, a second control event set is executed on the application program to be tested, and the execution unit 502 is configured to:
analyzing the control command set, and determining operation command identifications corresponding to the operation points and coordinate positions corresponding to the operation points;
and executing a second control event on the application program to be tested on the corresponding operating point based on each operating command identifier and each coordinate position.
Based on the same inventive concept, in the embodiment of the present invention, a computing device is provided, as shown in fig. 6, which at least includes a memory 601 and a processor 602, where the memory 601 and the processor 602 complete communication with each other through a communication bus;
a memory 601 for storing program instructions;
the processor 602 is configured to obtain a first control event set executed by a user on an application program to be tested, and determine a corresponding control command set based on the first control event set;
sending the control command set to a subordinate terminal to be tested to trigger the subordinate terminal to be tested to execute a second control event set on the application program to be tested based on the control command set;
receiving the second control event set returned by the slave terminal to be tested, and determining a compatible result of the application program to be tested on the slave terminal to be tested based on the second control event set; alternatively, the first and second electrodes may be,
receiving a control command set sent by a main terminal;
executing a second control event set on the application program to be tested based on the control command set;
and sending the second control event set to the master terminal so as to trigger the master terminal to determine a compatible result of the application program to be tested on the slave terminal to be tested based on the second control event set.
Based on the same inventive concept, in an embodiment of the present invention, a storage medium is provided, which at least includes:
acquiring a first control event set executed by a user on an application program to be tested, and determining a corresponding control command set based on the first control event set;
sending the control command set to a subordinate terminal to be tested to trigger the subordinate terminal to be tested to execute a second control event set on the application program to be tested based on the control command set;
receiving the second control event set returned by the slave terminal to be tested, and determining a compatible result of the application program to be tested on the slave terminal to be tested based on the second control event set; alternatively, the first and second electrodes may be,
receiving a control command set sent by a main terminal;
executing a second control event set on the application program to be tested based on the control command set;
and sending the second control event set to the master terminal so as to trigger the master terminal to determine a compatible result of the application program to be tested on the slave terminal to be tested based on the second control event set.
In summary, in the embodiment of the present invention, the main terminal first obtains a first control event set executed by the user on the application program to be tested, and determines a corresponding control command set based on the first control event set; then sending the control command set to the subordinate terminal to be tested to trigger the subordinate terminal to be tested to execute a second control event set on the application program to be tested based on the control command set; and finally, the master terminal receives a second control event set returned by the slave terminal to be tested, and determines a compatible result of the application program to be tested on the slave terminal to be tested based on the second control event set.
The master terminal in the embodiment of the invention can realize multi-point operation on the application program to be tested so as to detect the compatibility of the application program of a multi-point operation class on the subordinate mobile phone to be tested and improve the utilization rate of the subordinate terminal to be tested.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (10)

1. A method for testing application program compatibility is applied to a main terminal, and comprises the following steps:
acquiring a first control event set executed by a user on an application program to be tested, and determining a corresponding control command set based on the first control event set;
sending the control command set to a subordinate terminal to be tested to trigger the subordinate terminal to be tested to execute a second control event set on the application program to be tested based on the control command set;
and receiving the second control event set returned by the slave terminal to be tested, and determining a compatible result of the application program to be tested on the slave terminal to be tested based on the second control event set.
2. The method of claim 1, prior to obtaining the first set of manipulation events performed by the user on the application under test, further comprising:
and establishing a command channel between the slave terminal to be tested and the slave terminal to be tested based on a transmission control protocol, wherein the command channel is used for sending the control command set to the slave terminal to be tested.
3. The method of claim 1, wherein determining a corresponding set of maneuver commands based on the first set of maneuver events comprises:
analyzing each first control event respectively, and determining corresponding operation points, wherein one operation point represents one first control event executed by the user on the main terminal for the application program to be tested;
respectively analyzing each operation point, and determining an operation command identifier corresponding to each operation point and a coordinate position corresponding to each operation point;
and packaging each operation command identifier and each coordinate position into the control command set.
4. The method of any of claims 1 to 3, wherein determining the compatibility result of the application under test on the slave terminal under test based on the second set of handling events comprises:
when the first control event set is judged to be the same as the second control event set, determining that the application program to be tested is compatible successfully on the slave terminal to be tested;
and when the first control event set is judged to be different from the second control event set, determining that the compatibility of the application program to be tested on the slave terminal to be tested is unsuccessful.
5. A method for testing application program compatibility is applied to a slave terminal to be tested, and comprises the following steps:
receiving a control command set sent by a main terminal;
executing a second control event set on the application program to be tested based on the control command set;
and sending the second control event set to the master terminal so as to trigger the master terminal to determine a compatible result of the application program to be tested on the slave terminal to be tested based on the second control event set.
6. The method of claim 4, wherein executing a second set of manipulation events for the application under test based on the set of manipulation commands comprises:
analyzing the control command set, and determining operation command identifications corresponding to the operation points and coordinate positions corresponding to the operation points;
and executing a second control event on the application program to be tested on the corresponding operating point based on each operating command identifier and each coordinate position.
7. A testing device for application compatibility is applied to a main terminal, and comprises:
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring a first control event set executed by a user on an application program to be tested and determining a corresponding control command set based on the first control event set;
the sending unit is used for sending the control command set to a subordinate terminal to be tested so as to trigger the subordinate terminal to be tested to execute a second control event set on the application program to be tested based on the control command set;
and the judging unit is used for receiving the second control event set returned by the slave terminal to be tested and determining a compatible result of the application program to be tested on the slave terminal to be tested based on the second control event set.
8. An apparatus for testing application compatibility, applied to a slave terminal under test, the apparatus comprising:
the receiving unit is used for receiving the control command set sent by the main terminal;
the execution unit is used for executing a second control event set on the application program to be tested based on the control command set;
and the return unit is used for sending the second control event set to the master terminal so as to trigger the master terminal to determine a compatible result of the application program to be tested on the slave terminal to be tested based on the second control event set.
9. A computing device, comprising:
a memory for storing program instructions;
a processor for calling the program instructions stored in the memory, and executing the method of any one of claims 1 to 4 or executing the method of any one of claims 5 to 6 according to the obtained program.
10. A storage medium comprising computer readable instructions which, when read and executed by a computer, cause the computer to perform the method of any of claims 1 to 4 or 5 to 6.
CN201911366668.7A 2019-12-26 2019-12-26 Application program compatibility testing method and device Pending CN112416741A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911366668.7A CN112416741A (en) 2019-12-26 2019-12-26 Application program compatibility testing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911366668.7A CN112416741A (en) 2019-12-26 2019-12-26 Application program compatibility testing method and device

Publications (1)

Publication Number Publication Date
CN112416741A true CN112416741A (en) 2021-02-26

Family

ID=74844021

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911366668.7A Pending CN112416741A (en) 2019-12-26 2019-12-26 Application program compatibility testing method and device

Country Status (1)

Country Link
CN (1) CN112416741A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104717337A (en) * 2015-04-03 2015-06-17 杭州昕云信息科技有限公司 Method for testing mobile application in batch and equipment used in method
KR20150077211A (en) * 2013-12-27 2015-07-07 주식회사 인프라웨어테크놀러지 Method and appratus for remote management of terminal's application on android paltform
KR20150127505A (en) * 2014-05-07 2015-11-17 어니컴 주식회사 Device and method for managing application test
CN105335292A (en) * 2015-11-12 2016-02-17 广州华多网络科技有限公司 Application compatibility testing method and system
CN107193729A (en) * 2017-04-19 2017-09-22 北京云测信息技术有限公司 A kind of application compatibility method of testing and device
CN108307021A (en) * 2018-01-18 2018-07-20 中国工商银行股份有限公司 Mobile terminal parallel to follow test equipment, cloud prototype and method
CN109144840A (en) * 2017-06-16 2019-01-04 阿里巴巴集团控股有限公司 A kind of test method, device and its equipment
CN109684218A (en) * 2018-12-26 2019-04-26 世纪龙信息网络有限责任公司 Test macro and test method based on cloud prototype
CN109960642A (en) * 2017-12-22 2019-07-02 百度在线网络技术(北京)有限公司 Automatic test approach and device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20150077211A (en) * 2013-12-27 2015-07-07 주식회사 인프라웨어테크놀러지 Method and appratus for remote management of terminal's application on android paltform
KR20150127505A (en) * 2014-05-07 2015-11-17 어니컴 주식회사 Device and method for managing application test
CN104717337A (en) * 2015-04-03 2015-06-17 杭州昕云信息科技有限公司 Method for testing mobile application in batch and equipment used in method
CN105335292A (en) * 2015-11-12 2016-02-17 广州华多网络科技有限公司 Application compatibility testing method and system
CN107193729A (en) * 2017-04-19 2017-09-22 北京云测信息技术有限公司 A kind of application compatibility method of testing and device
CN109144840A (en) * 2017-06-16 2019-01-04 阿里巴巴集团控股有限公司 A kind of test method, device and its equipment
CN109960642A (en) * 2017-12-22 2019-07-02 百度在线网络技术(北京)有限公司 Automatic test approach and device
CN108307021A (en) * 2018-01-18 2018-07-20 中国工商银行股份有限公司 Mobile terminal parallel to follow test equipment, cloud prototype and method
CN109684218A (en) * 2018-12-26 2019-04-26 世纪龙信息网络有限责任公司 Test macro and test method based on cloud prototype

Similar Documents

Publication Publication Date Title
US10853232B2 (en) Adaptive system for mobile device testing
CN104394191B (en) The method of remote control mobile terminal, control terminal and system
CN106326104B (en) Terminal control testing method and device
CN110559651A (en) Control method and device of cloud game, computer storage medium and electronic equipment
CN105975367B (en) Test method and device for mobile equipment
CN103473027A (en) Split-screen multi-task interaction method for communication terminal and communication terminal
CN107185232B (en) Virtual object motion control method and device, electronic equipment and storage medium
CN110032507A (en) Applied program testing method, device, system, electronic equipment and storage medium
EP3343337A1 (en) Method and device for controlling screen between terminals, and storage medium
CN101853157A (en) Automatic identification method for application software GUI object
CN104536776A (en) Method and device for running plug-in application in plug-in running environment at host end
CN102664921A (en) Method and system for remote assistance
CN104102578A (en) Test method and system and operation terminal
CN113434101A (en) Device control method, device, storage medium, and electronic apparatus
CN105872767A (en) Method and apparatus for guiding sharing based on user behaviors
CN108654088B (en) Program debugging method and device, storage medium and electronic device
CN112306363B (en) Mouse simulation method and device, display equipment and storage medium
CN112131112B (en) Operation information acquisition method and device, storage medium and electronic equipment
CN103729258A (en) Automatic testing method, terminal and system
CN111831991A (en) Input operation detection method, device, computing equipment and medium
CN112416741A (en) Application program compatibility testing method and device
KR102106618B1 (en) System, terminal device, verification apparatus, method and computer-readable medium for testing application performance
CN114443753B (en) Map data display method and device for cleaning robot, robot and medium
CN108737337B (en) Equipment processing method, device, server and system
CN110825713B (en) Information processing method and related product

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination