CN107748714A - Application program compatibility testing method, system, server, client and storage medium - Google Patents

Application program compatibility testing method, system, server, client and storage medium Download PDF

Info

Publication number
CN107748714A
CN107748714A CN201710806225.XA CN201710806225A CN107748714A CN 107748714 A CN107748714 A CN 107748714A CN 201710806225 A CN201710806225 A CN 201710806225A CN 107748714 A CN107748714 A CN 107748714A
Authority
CN
China
Prior art keywords
event information
behavior event
information
client
server
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
CN201710806225.XA
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.)
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics Co Ltd
Original Assignee
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics 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 Guangzhou Shiyuan Electronics Thecnology Co Ltd, Guangzhou Shirui Electronics Co Ltd filed Critical Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority to CN201710806225.XA priority Critical patent/CN107748714A/en
Publication of CN107748714A publication Critical patent/CN107748714A/en
Pending legal-status Critical Current

Links

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/3688Test management for test execution, e.g. scheduling of test suites
    • 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/3696Methods or tools to render software testable

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)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a method, a system, a server, a client and a storage medium for testing the compatibility of an application program, wherein the method is applied to the server, the server is connected with a plurality of clients, and the method comprises the following steps: receiving behavior event information sent by a first client in a plurality of clients, wherein the behavior event information is description information of any operation of a user on an application program of the first client; and sending the behavior event information to other clients so that the other clients can make a response which is the same as the operation contained in the behavior event information after analyzing the behavior event information, wherein the response is used for being provided to a tester to test the compatibility of the application program among the clients. The invention solves the problem of low efficiency in the existing application program compatibility test process.

Description

Application compatibility method of testing, system, server, client and storage medium
Technical field
The present invention relates to using technical field of measurement and test, more particularly to a kind of application compatibility method of testing, system, Server, client and storage medium.
Background technology
In the use operation of smart machine, user can install miscellaneous application program on smart machine, Miscellaneous operation is carried out in the touch interface of application program, smart machine can carry out corresponding operation response without going out The now various problems such as collapse, wherein except developer writes to application program good in itself, the hardware compatibility of smart machine etc. Outside the reason for each side, in addition to tester the compatibility test to application program.
Before a application issued, it usually needs necessary compatibility test is carried out to the application program, to carry Reliability, the stability of high application program are compatible so as to avoid user from running into various problems during application program is used Property test be in order to ensure application program can under a variety of environment normal operation, specifically include detect the application program Can be in normal operation on the different editions of different operating system platforms or same operating system platform;Detect the application program Can in different hardware environment or network environment normal operation;Detect the application program can to related other software or System carries out co-ordination.
But in existing application compatibility method of testing, predominantly tester directly sets in different intelligence Standby middle craft is reruned the application program, is caused the operation of identical operating procedure needs repeatedly, is caused testing efficiency The problem of relatively low, and test operating procedure is easily omitted during manual test.
The content of the invention
Based on this, the embodiment of the present invention proposes a kind of application compatibility method of testing, system, server, client And storage medium, solve the problems, such as less efficient during existing application compatibility test.
The embodiment of the present invention provides a kind of application compatibility method of testing, and concrete technical scheme is as follows:
A kind of application compatibility method of testing, applied to server, built between the server and multiple client Vertical connection, methods described include:
The behavior event information that the first client in the multiple client is sent is received, the behavior event information is User carries out the description information of any operation to an application program of first client;
The behavior event information is sent to other clients, so that other described clients believe the behavior event Breath is made after being parsed to be responded with the operation identical included in the behavior event information, and described respond extremely is surveyed for providing Examination person is to test compatibility of the application program between the multiple client.
The embodiment of the present invention is connected by being established between multiple client, when the behavior for receiving active client transmission During event information, behavior event information is forwarded to other clients, when other clients receive behavior event information, led to Cross parsing behavior event information and trigger the respective response of the behavior event of corresponding control so that tester passes through test one Individual client can other clients responded accordingly, realize the raising of testing efficiency, solve existing application The problem of less efficient during compatibility test.
Further, described send the behavior event information to after the step of other clients includes:
When the abnormal information that the second client received in other described clients is sent, according to the abnormal information Determine the identity information of the client of the currently transmitted abnormal information;
By the abnormal information and the corresponding storage of the identity information into database, so that tester is according to the data Information in storehouse determines the identity information of the client incompatible to the application program.
Another embodiment of the present invention provides a kind of application compatibility method of testing, applied to client, Duo Gesuo State and connection is established between client and server, methods described includes:
Receive the behavior event information that user carries out any operation to application program;
The behavior event information is sent to the server, so that the server receives the behavior event letter The behavior event information is sent to other clients in addition to itself after breath.
Further, when receiving the behavior event information that the server is sent, the behavior event is believed Breath is made after being parsed to be responded with the operation identical included in the behavior event information;
When it is determined that during to the response abnormality of the behavior event information, abnormal information is sent to the server.
Further, it is described the behavior event information is parsed after make with being included in the behavior event information Operation identical response the step of include:
Obtain the event information and identification information in the behavior event information;
Target widget is found according to the identification information;
The target widget is made according to the event information and event information operation identical response.
An alternative embodiment of the invention proposes a kind of server, the company of foundation between the server and multiple client Connect, the server includes:
First receiving module, for receiving the behavior event information of the transmission of the first client in the multiple client, The behavior event information is the description information that user carries out any operation to an application program of first client;
Sending module, for the behavior event information to be sent to other clients, so that other described clients will The behavior event information is made after being parsed to be responded with the operation identical included in the behavior event information, the sound Applied to providing to tester to test compatibility of the application program between the multiple client.
Second receiving module, for the abnormal information sent when the second client received in other described clients When, the identity information of the client of the currently transmitted abnormal information is determined according to the abnormal information;
Memory module, for the abnormal information and the identity information to be corresponded into storage into database, so that test Information of the person in the database determines the identity information of the client incompatible to the application program.
An alternative embodiment of the invention proposes a kind of client, the company of foundation between multiple clients and server Connect, the client includes:
Receiving module, the behavior event information of any operation is carried out to application program for receiving user;
First sending module, for the behavior event information to be sent to the server, so that the server connects The behavior event information is sent to other clients in addition to itself after receiving the behavior event information.
Processing module, for when receiving the behavior event information that the server is sent, by the behavior thing Part information is made after being parsed to be responded with the operation identical included in the behavior event information;
Second sending module, for when it is determined that during to the response abnormality of the behavior event information, abnormal information is sent To the server.
Further, the processing module includes:
Acquiring unit, for obtaining event information and identification information in the behavior event information;
Searching unit, for finding target widget according to the identification information;
Control unit is identical with the event information operation for being made according to the event information to the target widget Response.
An alternative embodiment of the invention proposes a kind of application compatibility test system, and the system includes institute as described above The server stated and client as described above.
An alternative embodiment of the invention proposes a kind of storage medium, is stored thereon with computer program, the program is located The step of reason device realizes the method that an above-mentioned embodiment proposes when performing.
An alternative embodiment of the invention proposes a kind of storage medium, is stored thereon with application program, the program is processed Device realizes the step of method that above-mentioned another embodiment proposes when performing.
Brief description of the drawings
Fig. 1 is the flow chart for the application compatibility method of testing that first embodiment of the invention proposes.
Fig. 2 is the flow chart for the application compatibility method of testing that second embodiment of the invention proposes.
Fig. 3 is the flow chart for the application compatibility method of testing that third embodiment of the invention proposes.
Fig. 4 is the flow chart for the application compatibility method of testing that fourth embodiment of the invention proposes.
Fig. 5 is the flow chart for the application compatibility method of testing that fifth embodiment of the invention proposes.
Fig. 6 is the structured flowchart for the server that sixth embodiment of the invention proposes.
Fig. 7 is the structured flowchart for the client that seventh embodiment of the invention proposes.
Fig. 8 is the structured flowchart for the client that eighth embodiment of the invention proposes.
Embodiment
In order to facilitate the understanding of the purposes, features and advantages of the present invention, below in conjunction with the accompanying drawings to the present invention Embodiment be described in detail.Many details are elaborated in the following description in order to fully understand this hair It is bright.But the invention can be embodied in many other ways as described herein, those skilled in the art can be not Similar improvement is done in the case of running counter to intension of the present invention, therefore the present invention is not limited to the specific embodiments disclosed below.
Fig. 1 is refer to, the flow chart of the application compatibility method of testing proposed for the first embodiment of the present invention should Method is applied to server, wherein, connection is established between the server and multiple client, this method includes:
Step S101, receive the behavior event information that the first client in the multiple client is sent, the behavior Event information is the description information that user carries out any operation to an application program of first client;
Wherein, the problem of in terms of this method is for detecting compatibility of the application program in each electronic equipment, due to existing A large amount of shipment of some smart machines and widely using for consumer, its smart machine include such as intelligent terminal, Intelligent flat And intelligent wearable device etc., it significantly facilitates the daily life of user, and more the using of its smart machine is united One operating system platform, such as widely used Android system and ios system now.Such as Android system, its is wide General use in the various smart machines such as intelligent mobile phone terminal, Intelligent flat, intelligent wearable device, intelligent vehicle-carried platform, User can by the operating system platform using various application program to meet daily life demand, yet with setting The various differences such as standby type, production firm, electronic component specification, cause screen size, the screen resolution of its electronic equipment And process chip platform etc. is different, therefore during application developers a application program of exploitation, it is necessary to using journey Sequence carries out corresponding compatibility test in each different electronic equipment, to realize the application program in each electronic equipment Stable operation.
It is pointed out that in the present embodiment, the application compatibility method of testing is applied under same operating system Distinct device between same application compatibility test, it is mainly used in testing each distinct device for same application The UI interfaces response compatibility of program, network compatibility etc., its different size is detected by tester, different resolution is set Whether standby median surface layout is abnormal, and whether the response of program control is abnormal etc..
Wherein, when carrying out compatibility test, server provided in an embodiment of the present invention is needed between multiple client Connection is established, wherein each client is the electronic equipment of different model, it should be pointed out that built between server and client Vertical connection can be to be connected by network communication or by the wireless telecommunications such as wifi, bluetooth, zigbee connection or wired by USB Connection.
Further, when being connected with multiple client, its server need to record the identity information of each client, wherein body The relevant informations such as production firm of part information including client, unit type, screen size, screen resolution.
Wherein, being tested in client in application program includes a behavior event processing module, behavior event handling mould Block includes behavior event sniffer and behavior Event receiver., wherein it is desired to, it is noted that behavior event be user to using journey The operation behavior of control in sequence, such as the one click to button buttons, that is, it is expressed as the behavior event of one click.Its In, behavior event information carries out the description information of any operation, wherein behavior for the tested application program of user customer Event sniffer can gather id of the various actions events such as click of the user to control, long-press, slip, touch and control etc. Behavior event information, and behavior event information is sent to server.
Wherein, it is button1 when tester clicks on id in the touch screen interface of the first client for example, in the present embodiment Button control when, the behavior event sniffer in tested application program in the first client can record one click behavior thing Part information, and the control id being clicked is button1, now behavior event sniffer sends behavior event information to service In device.
Step S102, the behavior event information is sent to other clients, so that other described clients are by described in Behavior event information is made after being parsed to be responded with the operation identical included in the behavior event information, and the response is used In providing to tester to test compatibility of the application program between the multiple client;
Wherein, when server receives the behavior event information of first client transmission, server is by the behavior Event information is forwarded to other clients, and behavior Event receiver receives the behavior in the tested application program of other clients During event information, its behavior Event receiver is analyzed the data in behavior event information, determines click behavior thing Part and the id of control being clicked be button1, and now behavior Event receiver, which triggers it and is tested id in application program, is The response for the behavior event that button1 button is clicked on, now when tester is operated in any client, lead to Cross server to be forwarded behavior event information so that other clients carry out its corresponding response, now tester The compatibility of tested application program that can be in each client is checked, however, it is determined that individual client be present and responded When collapse or it is various abnormal when, tester can determine between these clients and tested application program exist compatibility The problem of related.
The embodiment of the present invention is connected by being established between multiple client, when the behavior for receiving active client transmission During event information, behavior event information is forwarded to other clients, when other clients receive behavior event information, led to Cross parsing behavior event information and trigger the respective response of the behavior event of corresponding control so that tester passes through test one Individual client may be such that other clients are responded accordingly, realizes the raising of testing efficiency, solves existing application Software compatibility test when each client be required for carry out manual testing caused by it is less efficient the problem of.
Fig. 2 is refer to, the flow chart of the application compatibility method of testing provided in the second embodiment of the present invention should Method is applied to server, wherein, connection is established between the server and multiple client, this method includes:
Step S111, the behavior event information that the first client in the multiple client of real-time reception is sent are described Behavior event information is the description information that user carries out any operation to an application program of first client.
Step S112, the behavior event information is sent to other clients, so that other described clients are by described in Behavior event information is made after being parsed to be responded with the operation identical included in the behavior event information.
Wherein, when server receives the behavior event information of the first client transmission, what its monitoring in real time received Behavior event information, and in real time send behavior event information to other clients, so that other clients can be done in real time Go out the respective response of behavior event information.
For example, test has multiple client, when id is button1 button in tester's the first client of click, By the real-time forwarding of the behavior event information of server, it is button1's that other clients carry out corresponding id in real time The click behavior event of button, after id is button2 button in the subsequent client of long-press second of tester, other clients End carries out the response of the long-press behavior event information for the button that corresponding id is button2 in real time, realizes according to this as described above Related behavior event action.Now server passes through the priority of the behavior event information sent to each client received Order is forwarded to other clients successively.
Step S113, when the abnormal information that the second client received in other described clients is sent, according to institute State the identity information that abnormal information determines the client of the currently transmitted abnormal information;
Wherein, when the second client carries out the response of a behavior event information there occurs exception, such as collapsing for application program Burst, when sudden strain of a muscle is moved back, be stuck etc., now the second client can send abnormal information error log to server.Wherein sent in information When, include destination address and source address in information packet.Now server is according to the source address of the abnormal information received The identity information of second client can be determined.
Step S114, by the abnormal information and the corresponding storage of the identity information into database, so that tester's root The identity information of the client incompatible to the application program is determined according to the information in the database;
Wherein, by the abnormal signal, cause the behavior event information of the abnormal information and produce the of the abnormal information The identity information of two clients is stored into the database of server, and now tester has tested in application compatibility Cheng Hou, tester can determine what client is performing what behavior thing according to the abnormal information stored in the database There occurs what exception during part, now tester can be quickly to progress malfunction elimination and the bug leak reparations extremely.
Fig. 3 is refer to, the flow chart of the application compatibility method of testing provided in the third embodiment of the present invention should Method is applied to server, wherein, connection is established between the server and multiple client, this method includes:
Step S121, the behavior thing that the first client in the multiple client is sent persistently is received in preset time Part information, and sequentially store in database, the behavior event information is that user applies journey to the one of first client Sequence carries out the description information of any operation.
, wherein it is desired to, it is noted that in the present embodiment, when tester carries out compatible response test to client, After selecting the first client to carry out the operation of behavior event to it, server receives the behavior thing of the first client transmission first After part information, it will only record the behavior event information of the first client transmission, the behavior event sent for other clients Information is abandoned and not stored, and now tester no longer should carry out any operation to other clients, now server The behavior event information that the lasting client of reception first is sent in preset time, and sequentially arrive behavior event information storage In database.
Step S122, sequentially the behavior event information stored in the database is sent to other clients, with Other described clients are made to be made after sequentially the behavior event information is parsed with being included in the behavior event information Operation identical response;
Wherein, server received in preset time the first client transmission behavior event information after the completion of, now according to Sequence sends the behavior event information stored in database to other clients, other client received in sequence behavior events letter The relevant response of behavior event information is carried out after breath respectively.Further, tester only need to complete institute in the first client After some testing process, the behavior event information of record storage is forwarded to by other clients by server, other clients It is sequentially received after behavior event information and carries out respective response respectively.Now tester to a client by completing After compatibility test, you can the step of completing corresponding operating needed for the compatibility test of other clients, significantly improve The testing efficiency of tester.
Step S123, when the abnormal information that the second client received in other described clients is sent, according to institute State the identity information that abnormal information determines the client of the currently transmitted abnormal information.
Step S124, by the abnormal information and the corresponding storage of the identity information into database, so that tester's root The identity information of the client incompatible to the application program is determined according to the information in the database.
Fig. 4 is refer to, the flow chart of the application compatibility method of testing provided in the fourth embodiment of the present invention should Method is applied to client, wherein, connection is established between multiple clients and server, this method includes:
Step S131, receive the behavior event information that user carries out any operation to application program;
Step S132, the behavior event information is sent to the server so that the server receive it is described The behavior event information is sent to other clients in addition to itself after behavior event information;
Wherein, being tested in client in application program includes a behavior event processing module, behavior event handling mould Block includes behavior event sniffer and behavior Event receiver.The event sniffer is appointed for monitoring users to application program The behavior event information of one operation, and behavior event information is sent to server.
Step S133, when receiving the behavior event information that the server is sent, the behavior event is believed Breath is made after being parsed to be responded with the operation identical included in the behavior event information;
Wherein, when server receives the behavior event information of active client transmission, server is by the behavior Event information is forwarded to other clients, and behavior Event receiver receives server in the tested application program of other clients During the behavior event information of transmission, its behavior Event receiver is parsed behavior event information, and its behavior event connects Receive to make after device is parsed and responded with the operation identical included in behavior event information, the sound that now other clients are done The operation that the user that should be received with sending the client of behavior event information is carried out to application program is identical.
Step S134, when it is determined that during to the response abnormality of the behavior event information, abnormal information is sent to the clothes Business device;
Wherein, after other clients carry out the response of behavior event information, there occurs response abnormality, such as application program Collapse, when sudden strain of a muscle is moved back, be stuck etc., now other clients can send abnormal information error log to server.And in abnormal information Send simultaneously, include destination address and source address in the information packet of transmission, for making server according to the abnormal information The identity information of the client is can determine, and carries out the storage of abnormal information in its database so that tester is easy to Determining what client according to the abnormal information of database purchase in server, there occurs what when performing what behavior event Abnormal, now tester quickly can carry out malfunction elimination and bug leak reparations extremely to this.
Fig. 5 is refer to, the flow chart of the application compatibility method of testing provided in the fifth embodiment of the present invention should Method is applied to client, wherein, connection is established between multiple clients and server, this method includes:
Step S141, receive the behavior event information that user carries out any operation to application program.
Step S142, the behavior event information is sent to the server so that the server receive it is described The behavior event information is sent to other clients in addition to itself after behavior event information;
Wherein, being tested in client in application program includes a behavior event processing module, behavior event handling mould Block includes behavior event sniffer and behavior Event receiver., wherein it is desired to, it is noted that behavior event be user to using journey The operation behavior of control in sequence, such as the one click to button buttons, that is, it is expressed as the behavior event of one click.OK The description information of any operation, wherein behavior event sniffer energy are carried out for the application program that event information is user customer The behavior event informations such as the various event informations and identification information such as click of the user to control, long-press, slip, touch are enough gathered, And behavior event information is sent to server.Wherein, the identification information is the id information of control.
For example, in the present embodiment, when tester clicks on the button that id in the touch screen interface of active client is button1 During control, the behavior event sniffer in tested application program in active client can record one click event information, and Identification information is the control id information being clicked, i.e. button1, and now behavior event sniffer sends behavior event information Into server.
Step S143, when receiving the behavior event information that the server is sent, obtain the behavior event Event information and identification information in information;
Wherein, when server receives the behavior event information of active client transmission, server is by the behavior Event information is forwarded to other clients, and now behavior Event receiver receives this in the tested application program of other clients During behavior event information, its behavior Event receiver is analyzed the data in behavior event information, and acquisition determines this The id information that event information in behavior event information is click behavior event information and identification information is the control being clicked, That is button1.
Step S144, target widget is found according to the identification information;
Wherein, the behavior Event receiver in the tested application program of other clients receives behavior event information, And the identification information in behavior event information finds the target widget that control id is button1.
Step S145, the target widget is made according to the event information and being rung with event information operation identical Should;
Wherein, the behavior Event receiver in the tested application program of other clients is pressing for button1 in control id On button, clicking operation, i.e. other clients are carried out to the button that control id is button1 according to the event information got Tested application program in Event receiver realize the operation identical response of its behavior event information, now other clients The response done is identical with sending the operation that the user that the client of behavior event information receives is carried out to application program.
Step S146, when it is determined that during to the response abnormality of the behavior event information, abnormal information is sent to the clothes Business device.
Refer to Fig. 6, be the structured flowchart of server provided in the sixth embodiment of the present invention, the server 100 with Connection is established between multiple client, the server 100 includes:
First receiving module 101, for receiving the behavior event letter of the transmission of the first client in the multiple client Breath, the behavior event information are the description information that user carries out any operation to an application program of first client.
Sending module 102, the behavior event information for first receiving module 101 to be received are sent to it His client, so that other described clients are made and the behavior event information after the behavior event information is parsed In include operation identical response, it is described respond for provide to tester with to the application program in the multiple client Compatibility between end is tested.
Second receiving module 103, for the exception letter sent when the second client received in other described clients During breath, the identity information of the client of the currently transmitted abnormal information is determined according to the abnormal information.
Memory module 104, for the abnormal information and the identity information to be corresponded into storage into database, so as to survey Information of the examination person in the database determines the identity information of the client incompatible to the application program.
Fig. 7 is refer to, for the structured flowchart of the client provided in the seventh embodiment of the present invention, plurality of client Connection is established between server, the client 200 includes:
Receiving module 201, the behavior event information of any operation is carried out to application program for receiving user.
First sending module 202, for the behavior event information to be sent to the server, so that the server The behavior event information is sent to other clients in addition to itself after receiving the behavior event information.
Processing module 203, for when receiving the behavior event information that the server is sent, by the behavior Event information is made after being parsed to be responded with the operation identical included in the behavior event information.
Second sending module 204, for when it is determined that during to the response abnormality of the behavior event information, abnormal information is sent out Deliver to the server.
Fig. 8 is refer to, for the structured flowchart of the client provided in the eighth embodiment of the present invention, plurality of client Connection is established between server, the client 300 includes:
Receiving module 301, the behavior event information of any operation is carried out to application program for receiving user.
First sending module 302, for the behavior event information to be sent to the server, so that the server The behavior event information is sent to other clients in addition to itself after receiving the behavior event information.
Processing module 303, for when receiving the behavior event information that the server is sent, by the behavior Event information is made after being parsed to be responded with the operation identical included in the behavior event information.
Second sending module 304, for when it is determined that during to the response abnormality of the behavior event information, abnormal information is sent out Deliver to the server.
Wherein, processing module 303 includes:
Acquiring unit 3031, for obtaining event information and identification information in the behavior event information.
Searching unit 3032, the identification information for being got according to the acquiring unit 3031 find target control Part.
Control unit 3033, operated for being made according to the event information to the target widget with the event information Identical responds.
The server and the technical characteristic and technique effect of client that the embodiment of the present invention proposes carry with the embodiment of the present invention The method gone out is identical, will not be described here.
The embodiment of the present invention additionally provides a kind of application compatibility test system, and the system is included as in embodiment 6 Described server, and such as client any one of in embodiment 7 and 8.
The embodiment of the present invention additionally provides a kind of storage medium, is stored thereon with computer program, and the program is by processor The step of any one method in above-described embodiment 1,2 and 3 is realized during execution,
The embodiment of the present invention additionally provides a kind of storage medium, is stored thereon with application program, and the program is held by processor The step of any one method in above-described embodiment 4,5 is realized during row.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for Instruction execution system, device or equipment (such as computer based system including the system of processor or other can be held from instruction The system of row system, device or equipment instruction fetch and execute instruction) use, or combine these instruction execution systems, device or set It is standby and use.For the purpose of this specification, " computer-readable medium " can any can be included, store, communicate, propagate or pass Defeated program is for instruction execution system, device or equipment or the dress used with reference to these instruction execution systems, device or equipment Put.
The more specifically example (non-exhaustive list) of computer-readable medium includes following:Connected up with one or more Electrical connection section (electronic installation), portable computer diskette box (magnetic device), random access memory (RAM), read-only storage (ROM), erasable edit read-only storage (EPROM or flash memory), fiber device, and portable optic disk is read-only deposits Reservoir (CDROM).In addition, computer-readable medium, which can even is that, to print the paper of described program thereon or other are suitable Medium, because can then enter edlin, interpretation or if necessary with it for example by carrying out optical scanner to paper or other media His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each several part of the present invention can be realized with hardware, software, firmware or combinations thereof.Above-mentioned In embodiment, software that multiple steps or method can be performed in memory and by suitable instruction execution system with storage Or firmware is realized.If, and in another embodiment, can be with well known in the art for example, realized with hardware Any one of row technology or their combination are realized:With the logic gates for realizing logic function to data-signal Discrete logic, have suitable combinational logic gate circuit application specific integrated circuit, programmable gate array (PGA), scene Programmable gate array (FPGA) etc..
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means specific features, structure, material or the spy for combining the embodiment or example description Point is contained at least one embodiment or example of the present invention.In this manual, to the schematic representation of above-mentioned term not Necessarily refer to identical embodiment or example.Moreover, specific features, structure, material or the feature of description can be any One or more embodiments or example in combine in an appropriate manner.
Embodiment described above only expresses the several embodiments of the present invention, and its description is more specific and detailed, but simultaneously Therefore the limitation to the scope of the claims of the present invention can not be interpreted as.It should be pointed out that for one of ordinary skill in the art For, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to the guarantor of the present invention Protect scope.Therefore, the protection domain of patent of the present invention should be determined by the appended claims.

Claims (11)

1. a kind of application compatibility method of testing, applied to server, it is characterised in that the server and multiple clients Connection is established between end, methods described includes:
The behavior event information that the first client in the multiple client is sent is received, the behavior event information is user The description information of any operation is carried out to an application program of first client;
The behavior event information is sent to other clients, so that other described clients enter the behavior event information Make after row parsing and being responded with the operation identical included in the behavior event information, it is described to respond for providing to tester To test compatibility of the application program between the multiple client.
2. application compatibility method of testing according to claim 1, it is characterised in that described by the behavior event Information, which is sent to after the step of other clients, to be included:
When the abnormal information that the second client received in other described clients is sent, determined according to the abnormal information The identity information of the client of the currently transmitted abnormal information;
By the abnormal information and the corresponding storage of the identity information into database, so that tester is according in the database Information determine the identity information of the client incompatible to the application program.
3. a kind of application compatibility method of testing, applied to client, it is characterised in that multiple clients and service Connection is established between device, methods described includes:
Receive the behavior event information that user carries out any operation to application program;
The behavior event information is sent to the server, so that after the server receives the behavior event information The behavior event information is sent to other clients in addition to itself.
4. application compatibility method of testing according to claim 3, it is characterised in that methods described also includes:
When receiving the behavior event information that the server is sent, done after the behavior event information is parsed Go out and responded with the operation identical included in the behavior event information;
When it is determined that during to the response abnormality of the behavior event information, abnormal information is sent to the server.
5. application compatibility method of testing according to claim 4, it is characterised in that described by the behavior event Information makes the step of being responded with the operation identical included in the behavior event information after being parsed include:
Obtain the event information and identification information in the behavior event information;
Target widget is found according to the identification information;
The target widget is made according to the event information and event information operation identical response.
6. a kind of server, it is characterised in that connection, the server bag are established between the server and multiple client Include:
First receiving module, it is described for receiving the behavior event information of the transmission of the first client in the multiple client Behavior event information is the description information that user carries out any operation to an application program of first client;
Sending module, for the behavior event information to be sent to other clients, so that other described clients are by described in Behavior event information is made after being parsed to be responded with the operation identical included in the behavior event information, and the response is used In providing to tester to test compatibility of the application program between the multiple client.
Second receiving module, for when receiving the abnormal information that the second client in other described clients is sent, root The identity information of the client of the currently transmitted abnormal information is determined according to the abnormal information;
Memory module, for the abnormal information and the identity information to be corresponded into storage into database, so that tester's root The identity information of the client incompatible to the application program is determined according to the information in the database.
7. a kind of client, it is characterised in that connection, the client bag are established between multiple clients and server Include:
Receiving module, the behavior event information of any operation is carried out to application program for receiving user;
First sending module, for the behavior event information to be sent to the server, so that the server receives The behavior event information is sent to other clients in addition to itself after the behavior event information.
Processing module, for when receiving the behavior event information that the server is sent, the behavior event to be believed Breath is made after being parsed to be responded with the operation identical included in the behavior event information;
Second sending module, for when it is determined that during to the response abnormality of the behavior event information, abnormal information is sent to institute State server.
8. client according to claim 7, it is characterised in that the processing module includes:
Acquiring unit, for obtaining event information and identification information in the behavior event information;
Searching unit, for finding target widget according to the identification information;
Control unit, rung for being made according to the event information to the target widget with event information operation identical Should.
9. a kind of application compatibility test system, it is characterised in that the system includes service as claimed in claim 6 Device and the client as described in any one in claim 7-8.
10. a kind of storage medium, is stored thereon with computer program, it is characterised in that the program is realized when being executed by processor The step of method as described in any one in claim 1-2.
11. a kind of storage medium, is stored thereon with application program, it is characterised in that is realized such as when the program is executed by processor In claim 3-5 the step of method described in any one.
CN201710806225.XA 2017-09-08 2017-09-08 Application program compatibility testing method, system, server, client and storage medium Pending CN107748714A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710806225.XA CN107748714A (en) 2017-09-08 2017-09-08 Application program compatibility testing method, system, server, client and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710806225.XA CN107748714A (en) 2017-09-08 2017-09-08 Application program compatibility testing method, system, server, client and storage medium

Publications (1)

Publication Number Publication Date
CN107748714A true CN107748714A (en) 2018-03-02

Family

ID=61254859

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710806225.XA Pending CN107748714A (en) 2017-09-08 2017-09-08 Application program compatibility testing method, system, server, client and storage medium

Country Status (1)

Country Link
CN (1) CN107748714A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110515854A (en) * 2019-08-30 2019-11-29 网易(杭州)网络有限公司 Reproducing method, device and the electronic equipment of application exception

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005234987A (en) * 2004-02-20 2005-09-02 Toshiba Microelectronics Corp Development source server, software trouble responding system and software trouble responding method
CN104050076A (en) * 2013-03-12 2014-09-17 阿里巴巴集团控股有限公司 Testing method, device and system of application software on mobile terminal
CN104156304A (en) * 2013-05-14 2014-11-19 腾讯科技(深圳)有限公司 Method and device for obtaining terminal application software for compatibility testing
CN105335292A (en) * 2015-11-12 2016-02-17 广州华多网络科技有限公司 Application compatibility testing method and system
CN105446868A (en) * 2014-08-25 2016-03-30 阿里巴巴集团控股有限公司 System compatibility testing method, test case management method and related devices
CN105573905A (en) * 2014-10-11 2016-05-11 航天信息股份有限公司 Software compatibility testing method and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005234987A (en) * 2004-02-20 2005-09-02 Toshiba Microelectronics Corp Development source server, software trouble responding system and software trouble responding method
CN104050076A (en) * 2013-03-12 2014-09-17 阿里巴巴集团控股有限公司 Testing method, device and system of application software on mobile terminal
CN104156304A (en) * 2013-05-14 2014-11-19 腾讯科技(深圳)有限公司 Method and device for obtaining terminal application software for compatibility testing
CN105446868A (en) * 2014-08-25 2016-03-30 阿里巴巴集团控股有限公司 System compatibility testing method, test case management method and related devices
CN105573905A (en) * 2014-10-11 2016-05-11 航天信息股份有限公司 Software compatibility testing method and system
CN105335292A (en) * 2015-11-12 2016-02-17 广州华多网络科技有限公司 Application compatibility testing method and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110515854A (en) * 2019-08-30 2019-11-29 网易(杭州)网络有限公司 Reproducing method, device and the electronic equipment of application exception
CN110515854B (en) * 2019-08-30 2023-08-11 网易(杭州)网络有限公司 Application program abnormality reproduction method and device and electronic equipment

Similar Documents

Publication Publication Date Title
CN109189665B (en) Method and device for recording, replaying and automatically testing data
CN109361562B (en) Automatic testing method based on associated network equipment access
CN109960642B (en) Automatic test method and device
CN109101381A (en) Configuration file update method, system, electronic equipment and storage medium
CN106874187B (en) Code coverage rate collection method and device
CN108959059B (en) Test method and test platform
CN104461903B (en) The method and apparatus of test client based on browser
CN106951364A (en) Method of testing and device
CN103530221B (en) A kind of android system Program behavior and interface operation mapping method
CN105787364B (en) Automatic testing method, device and system for tasks
CN107688530A (en) Method for testing software and device
CN102244594A (en) Network emulation in manual and automated testing tools
CN104050076A (en) Testing method, device and system of application software on mobile terminal
CN113672441B (en) Method and device for testing intelligent equipment
CN108459964A (en) Test cases selection method, apparatus, equipment and computer readable storage medium
EP3961404A1 (en) Method, system, and apparatus for monitoring blockchain smart contract
CN105917314A (en) Application error detection method for cloud streaming service, and apparatus and system therefor
CN110147317A (en) Code test method and device, electronic equipment and storage medium
CN102148844A (en) Memory leak positioning method, server, client and system
CN109800119A (en) A kind of product function test method and device
CN104125218B (en) A kind of device identification method, device and system
CN108111367A (en) Performance test methods and device
CN103353858A (en) Automatic testing method and device based on action touch simulation
CN106294114A (en) A kind of code coverage acquisition methods, server and application apparatus to be measured
CN112737856A (en) Link tracking method and device, storage medium and electronic device

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180302

RJ01 Rejection of invention patent application after publication