CN112433953A - Embedded automatic testing method, device, equipment and medium based on network game client - Google Patents

Embedded automatic testing method, device, equipment and medium based on network game client Download PDF

Info

Publication number
CN112433953A
CN112433953A CN202011459099.3A CN202011459099A CN112433953A CN 112433953 A CN112433953 A CN 112433953A CN 202011459099 A CN202011459099 A CN 202011459099A CN 112433953 A CN112433953 A CN 112433953A
Authority
CN
China
Prior art keywords
automatic
logic
executing
embedded
test
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
CN202011459099.3A
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.)
Hangzhou Electronic Soul Network Technology Co Ltd
Original Assignee
Hangzhou Electronic Soul Network 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 Hangzhou Electronic Soul Network Technology Co Ltd filed Critical Hangzhou Electronic Soul Network Technology Co Ltd
Priority to CN202011459099.3A priority Critical patent/CN112433953A/en
Publication of CN112433953A publication Critical patent/CN112433953A/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/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/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/3692Test management for test results analysis

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 an embedded automatic testing method and device based on a network game client, electronic equipment and a computer storage medium, relates to the technical field of software testing, and aims to solve the problems that a testing process is complicated and only automatic testing can be performed on a specific module. The method comprises the following steps: dynamically reading an automated testing process tree in an automated process configuration file; analyzing the automatic test flow tree; and automatically executing each node of the automatic test flow tree and continuously outputting the test result.

Description

Embedded automatic testing method, device, equipment and medium based on network game client
Technical Field
The invention relates to the technical field of software testing, in particular to an embedded automatic testing method, device, equipment and medium based on a network game client.
Background
Nowadays, the development cycle of online games is shorter and shorter, the iteration speed is faster and faster, and a development team cannot rapidly and completely test each system module in the games in a short time. The problem that how to ensure the quality of game products is always solved while versions are continuously changed is that the problem can only be repaired by quickly updating after version updating intervals are prolonged or versions are released in a hurry.
Currently, commonly used test protocols generally fall into two broad categories: manual black box testing and automated white box testing. The manual black box testing efficiency is low, a large amount of labor cost and time cost are consumed, and the requirement of game testing is difficult to meet. The automatic test can only aim at a specific module or a specific scene, and under the conditions of fast product content iteration and large updating amplitude, the automatic test logic needs to be continuously modified according to product changes, so that the whole test process is very complicated. For example, by using a set of automated testing schemes that identify game interface elements and simulate player operation by interacting with the game interface elements, when the game interface changes significantly during the iterative development process, the testing engineer needs to continuously modify the testing script to meet the testing requirements. In addition, in a common automatic test scheme, a typical common test scheme which can only test specific modules or specific scenes exists, namely, an automatic robot is used for sending a simulation client instruction to a network game server to test the functions of each system module of the server, the realization of the scheme requires that the modules of the server are known, the development difficulty is high, and the client cannot be tested.
Aiming at the problems that the whole testing process is complicated and can only carry out automatic testing on a specific module, an effective solution is not provided at present.
Disclosure of Invention
The embodiment of the invention provides an embedded automatic testing method, device, equipment and medium based on a network game client, which at least solve the problems that the testing process is complicated and only automatic testing can be carried out on a specific module.
In a first aspect, an embodiment of the present invention provides an embedded automatic testing method based on a network game client, which is applied to a game client and includes the following steps:
dynamically reading an automated testing process tree in an automated process configuration file;
analyzing the automatic test flow tree;
and automatically executing each node of the automatic test flow tree and continuously outputting the test result.
In some embodiments, the automatically executing each node of the automated test flow tree and continuously outputting the test result includes:
traversing each node of the automatic test flow tree in a depth traversal mode, and sequentially executing the traversed nodes through the following steps:
inquiring game interface elements required by executing the current node and triggering interface element interaction events;
responding the interface element interaction event and executing corresponding logic, and updating the current game state;
checking whether the current game state is consistent with the state required by the current node;
if not, outputting a verification result as the test result;
and the current node is the traversed node.
In some embodiments, prior to dynamically reading the automated test flow tree in the automated flow configuration file, pre-configuring the automated flow configuration file includes:
analyzing game logic according to a preset test frame, and extracting an atomic interface of a game flow;
and configuring the automatic test flow tree by combining the atomic interface according to the test requirement to form the automatic flow configuration file.
In some embodiments, the querying executes the game interface elements required by the current node and triggers an interface element interaction event, including:
sequentially disassembling the execution logic corresponding to the current node according to the atomic interface;
and inquiring interface elements required by executing the current node according to the corresponding execution logic, and triggering the interface element interaction event.
In some embodiments, said updating the current game state in response to said interface element interaction event and executing corresponding logic comprises:
if the interface element interaction event needs to execute the server logic, sending an uplink request to a server, and updating the current game state after receiving an execution result sent by the server;
and if the interface element interaction event does not need to execute server logic, executing client logic corresponding to the interface element interaction event, and updating the current game state.
In some embodiments, the updating the current game state in response to the interface element interaction event and executing the corresponding logic further comprises:
and if the interface element interaction event needs to execute the server logic and the client logic at the same time, sending an uplink request to the server, receiving an execution result sent by the server, executing the corresponding client logic, and updating the current game state.
In some embodiments, after sending the uplink request to the server, the method includes:
and the server executes the corresponding service logic according to the uplink request and issues an execution result.
In a second aspect, an embodiment of the present invention provides an embedded automatic testing apparatus based on a network game client, including:
the configuration reading module is used for dynamically reading the automatic test flow tree in the automatic flow configuration file;
the logic analysis module is used for analyzing the automatic test flow tree;
and the automatic test module is used for automatically executing each node of the automatic test flow tree and continuously outputting the test result.
In a third aspect, an embodiment of the present invention provides a computer device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor, when executing the computer program, implements the embedded automatic testing method based on the network game client according to the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the method for embedded automation test based on a network game client according to the first aspect.
Compared with the prior art, the embodiment of the invention provides an embedded automatic testing method, device, equipment and medium based on the network game client, automatic testing is carried out through the automatic testing flow tree which is configured in advance, the testing script does not need to be modified continuously, and the problem that the testing flow is complicated is solved. And the automatic testing process tree is executed at the client, so that the operation of a player can be simulated to the maximum extent, all the service modules of the client and the server are tested by simulating the operation of the player, and the reliability of a testing result is improved.
The details of one or more embodiments of the invention are set forth in the accompanying drawings and the description below to provide a more thorough understanding of the invention.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention and not to limit the invention. In the drawings:
FIG. 1 is a flow chart of the embedded automatic testing method based on the network game client terminal of the invention;
FIG. 2 is a block diagram of an embedded automatic testing device based on a network game client according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the purpose and technical solution of the present invention more apparent, the present invention will be described and illustrated with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments provided by the present invention, belong to the protection scope of the present application.
It is obvious that the drawings in the following description are only examples or embodiments of the present application, and that it is also possible for a person skilled in the art to apply the present application to other similar contexts on the basis of these drawings without inventive effort. Moreover, it should be appreciated that in the development of any such actual implementation, as in any engineering or design project, numerous implementation-specific decisions must be made to achieve the developers' specific goals, such as compliance with system-related and business-related constraints, which may vary from one implementation to another.
Reference in the specification to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the specification. Those of ordinary skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments without conflict.
Example 1
Based on the above principle, this embodiment provides an embedded automatic testing method based on a network game client, fig. 1 is a flowchart of the embedded automatic testing method based on the network game client of the present invention, as shown in fig. 1, the embedded automatic testing method based on the network game client is applied to a game client, and includes the following steps:
s101, dynamically reading an automatic test flow tree in an automatic flow configuration file.
After the client is started, according to the test requirement, the client can dynamically read the automatic process configuration file, wherein the automatic process configuration file contains the configuration information of an automatic test process tree, and the automatic test process tree contains all business logics based on the operation of the client, so that the test environment in the test process is consistent with the production environment, and the reliability of the test result can be improved.
And S102, analyzing the automatic test flow tree.
And analyzing the automatic flow tree to disassemble the business logic corresponding to each node of the automatic flow tree.
And S103, automatically executing each node of the automatic test flow tree and continuously outputting the test result.
And automatically executing each node of the automatic flow tree from top to bottom and from left to right from the root node of the automatic test flow tree, namely executing the business logic corresponding to each node so as to realize the comprehensive test of the product. It should be noted that the automated flow test tree may be executed in a loop to achieve multiple tests on a product.
When the method provided by the embodiment is executed at the client, the method is suitable for a development environment with a short development period and rapid iteration, and continuous and reliable automatic testing can be performed by the method provided by the embodiment. Aiming at a product, only an automatic test flow tree needs to be configured, no matter whether the version is updated or not in the later stage, relevant test scripts do not need to be modified or test tools adapted to the new version do not need to be developed again in the follow-up stage, and complexity of executing the automatic test flow and workload of test development can be reduced. Because the user depends on the client to use the product, each service module of the product is executed from the client, the user operation can be simulated to the maximum extent, so that the test range can cover all the service modules of the client and the server which can be involved in the user use, and the problem that the prior art can only carry out automatic test on a specific module is solved. Therefore, the embedded automatic testing method based on the network client can guarantee the online quality of products.
Preferably, before dynamically reading the automated test flow tree in the automated flow configuration file, pre-configuring the automated flow configuration file includes:
analyzing game logic according to a preset test frame, and extracting an atomic interface of a game flow;
and configuring the automatic test flow tree by combining an atomic interface according to the test requirement to form the automatic flow configuration file.
In order to implement the embedded automatic testing method based on the network client according to this embodiment, an automatic testing flow tree needs to be configured first. Under a preset test framework, the atomic interface of the game process is extracted by analyzing the business logic of the game (product) to obtain the atomic interface of each business logic, and each business logic is configured into each node of the tree by combining the atomic interface of each business logic to construct an automatic test process tree to be provided for the client to run, so that the automatic test process is executed based on the game client.
In the embodiment, the automatic test flow tree is configured by combining the atomic interface, so that the automatic test flow tree does not need to be adjusted or the test flow configuration does not need to be carried out again even if the internal logic and the interface layout are iterated and modified under the condition that the surface layer interface of the functional module is kept unchanged, the workload of test development is reduced, and the method is suitable for products with frequent iteration.
Preferably, automatically executing each node of the automated test flow tree, and continuously outputting the test result, including:
traversing each node of the automatic test flow tree in a depth traversal mode, and sequentially executing the traversed nodes through the following steps:
inquiring game interface elements required by executing the current node and triggering interface element interaction events;
responding the interface element interaction event and executing corresponding logic, and updating the current game state;
checking whether the current game state is consistent with the state required by the current node;
if not, outputting a verification result as the test result;
and the current node is the traversed node.
Preferably, the querying of the game interface elements required for executing the current node and the triggering of the interface element interaction event includes:
sequentially disassembling execution logics corresponding to the current node according to the atomic interface;
and inquiring interface elements required by executing the current node according to the corresponding execution logic, and triggering the interface element interaction event.
Executing the automatic test flow tree in a deep traversal mode, taking a traversed node as a current node every time a node is traversed, and executing the current node by adopting the following steps: inquiring game interface elements required by executing the service logic of the current node according to the service logic of the current node, triggering related interface element interaction events (interaction events of the game interface elements are inquired), responding the interface element interaction events by the system, executing the logic corresponding to the interface element interaction events, and updating the current game state according to an execution result; after the game state is updated, checking whether the current game state is consistent with the state required by the current node, and if so, continuously traversing the next node; otherwise, after the verification result is output as the test result, the next node is continuously traversed. And each node of the automatic test flow tree is executed in sequence, so that the test result can be continuously output.
In other embodiments, if the current game state is inconsistent with the state required by the current node, the next node can be stopped from being executed after the verification result is output as the test result, and the automated test flow tree is executed again after the BUG in the result to be tested is repaired.
Preferably, updating the current game state in response to the interface element interaction event and executing the corresponding logic comprises:
if the interface element interaction event needs to execute the server logic, sending an uplink request to the server, and updating the current game state after receiving an execution result sent by the server;
if the interface element interaction event does not need to execute the server logic, executing the client logic corresponding to the interface element interaction event, and updating the current game state;
and if the interface element interaction event needs to execute the server logic and the client logic at the same time, sending an uplink request to the server, receiving an execution result sent by the server, executing the corresponding client logic, and updating the current game state.
When the system responds to the interface interaction event, the logic realized by relying on the client, the logic realized by relying on the server and the client simultaneously are included, so that different operation flows are required to be executed when the logic corresponding to each interface interaction event is executed aiming at different interface interaction events so as to update the current game state.
Therefore, the embedded automatic testing method based on the game client executes each business process from bottom to top when the client executes so as to perform the automatic testing process, can fully cover all the business modules of the client and the server, and has wide testing range and reliable testing result.
Preferably, after sending the uplink request to the server, the method includes:
and the server executes the corresponding service logic according to the uplink request and issues an execution result.
The client sends an uplink request to the server to request the server to execute the business process required to be executed by the current node, and the server sends an execution result to the client in a downlink message form after executing the corresponding business process.
Example 2
The present embodiment provides an embedded automatic testing apparatus based on a network game client, which is used to implement the foregoing embodiments and preferred embodiment modes, and the description of the embedded automatic testing apparatus is omitted, and the terms "module", "unit", "subunit", and the like used below may be a combination of software and/or hardware that can implement predetermined functions. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware or a combination of software and hardware is also possible and contemplated.
Fig. 2 is a block diagram of an embedded automatic testing apparatus based on a network game client according to an embodiment of the present invention, and as shown in fig. 2, the apparatus includes:
a configuration reading module 21, configured to dynamically read an automated testing process tree in an automated process configuration file;
a logic analysis module 22, configured to analyze the automated testing flow tree;
and the automatic test module 23 is configured to automatically execute each node of the automatic test flow tree and continuously output a test result.
The embedded automatic testing device based on the network game client of the embodiment is a testing program running on the game client.
The above modules may be functional modules or program modules, and may be implemented by software or hardware. For a module implemented by hardware, the modules may be located in the same processor; or the modules can be respectively positioned in different processors in any combination.
Example 3
Fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, and as shown in fig. 3, an electronic device is provided, where the electronic device may be a PC or a mobile terminal, and an internal structural diagram of the electronic device may be as shown in fig. 3. The electronic device comprises a processor, a memory, an input device and an output device; wherein the number of processors in the electronic device may be one or more, and one processor is taken as an example in fig. 3; the processor, memory, input devices and output devices in the electronic apparatus may be connected by a bus or other means, and fig. 3 illustrates the connection by a bus as an example.
The memory, which is a computer-readable storage medium, may include a high-speed random access memory, a non-volatile memory, and the like, and may be used to store an operating system, a software program, a computer-executable program, and a database, such as program instructions/modules corresponding to the network game client-based embedded automation testing method according to embodiment 1 of the present invention, and may further include a memory, which may be used to provide an operating environment for the operating system and the computer program. In some examples, the memory may further include memory located remotely from the processor, and these remote memories may be connected to the electronic device through a network.
The processor, which is used to provide computing and control capabilities, may include a Central Processing Unit (CPU), or A Specific Integrated Circuit (ASIC), or may be configured to implement one or more Integrated circuits of embodiments of the present Application. The processor executes various functional applications and data processing of the electronic device by running the computer-executable program, software program, instructions and modules stored in the memory, that is, the embedded automatic testing method based on the network game client of embodiment 1 is realized.
The output device of the electronic equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the electronic equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on a shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
The electronic device may further include a network interface/communication interface, the network interface of the electronic device being for communicating with an external terminal through a network connection. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
Those skilled in the art will appreciate that the architecture shown in fig. 3 is a block diagram of only a portion of the architecture associated with the subject application, and does not constitute a limitation on the electronic devices to which the subject application is applied, as a particular electronic device may include more or less components than those shown, or combine certain components, or have a different arrangement of components.
It will be understood by those skilled in the art that all or part of the processes in the embedded automatic testing method based on the network game client according to embodiment 1 may be implemented by a computer program, which may be stored in a non-volatile computer-readable storage medium, and when executed, may include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
Example 4
An embodiment of the present invention provides a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to implement an embedded automation testing method based on a network game client, where the method includes:
dynamically reading an automated testing process tree in an automated process configuration file;
analyzing the automatic test flow tree;
and automatically executing each node of the automatic test flow tree and continuously outputting the test result.
Of course, the storage medium provided by the embodiment of the present invention contains computer-executable instructions, and the computer-executable instructions are not limited to the operations of the embedded automatic testing method based on the network game client according to the above-mentioned embodiments, and may also perform related operations in the embedded automatic testing method based on the network game client according to any embodiment of the present invention.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solution of the present invention or portions thereof that contribute to the prior art may be embodied in the form of a software product, where the computer software product may be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions to enable an electronic device (which may be a mobile phone, a personal computer, a server, or a network device) to execute the embedded automatic testing method based on the network game client according to the embodiments of the present invention.
It should be noted that, in the embodiment of the embedded automatic testing method based on the network game client, each included unit and module are only divided according to functional logic, but are not limited to the above division, as long as corresponding functions can be realized; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
Unless defined otherwise, technical or scientific terms referred to herein shall have the ordinary meaning as understood by those of ordinary skill in the art to which this application belongs. Reference to "a," "an," "the," and similar words throughout this application are not to be construed as limiting in number, and may refer to the singular or the plural. The present application is directed to the use of the terms "including," "comprising," "having," and any variations thereof, which are intended to cover non-exclusive inclusions; for example, a process, method, system, article, or apparatus that comprises a list of steps or modules (elements) is not limited to the listed steps or elements, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus. Reference to "connected," "coupled," and the like in this application is not intended to be limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. The term "plurality" as referred to herein means two or more. "and/or" describes an association relationship of associated objects, meaning that three relationships may exist, for example, "A and/or B" may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. Reference herein to the terms "first," "second," "third," and the like, are merely to distinguish similar objects and do not denote a particular ordering for the objects.
Various other modifications and changes may be made by those skilled in the art based on the above-described technical solutions and concepts, and all such modifications and changes should fall within the scope of the claims of the present invention.

Claims (10)

1. An embedded automatic testing method based on a network game client is characterized in that the embedded automatic testing method is applied to the game client and comprises the following steps:
dynamically reading an automated testing process tree in an automated process configuration file;
analyzing the automatic test flow tree;
and automatically executing each node of the automatic test flow tree and continuously outputting the test result.
2. The embedded automatic testing method based on the network game client side as claimed in claim 1, wherein the automatically executing each node of the automatic testing flow tree and continuously outputting the testing result comprises:
traversing each node of the automatic test flow tree in a depth traversal mode, and sequentially executing the traversed nodes through the following steps:
inquiring game interface elements required by executing the current node and triggering interface element interaction events;
responding the interface element interaction event and executing corresponding logic, and updating the current game state;
checking whether the current game state is consistent with the state required by the current node;
if not, outputting a verification result as the test result;
and the current node is the traversed node.
3. The embedded automatic testing method based on the network game client side as claimed in claim 2, wherein the pre-configuring the automatic flow configuration file before dynamically reading the automatic testing flow tree in the automatic flow configuration file comprises:
analyzing game logic according to a preset test frame, and extracting an atomic interface of a game flow;
and configuring the automatic test flow tree by combining the atomic interface according to the test requirement to form the automatic flow configuration file.
4. The embedded automatic test method based on the network game client side according to the claim 3, wherein the query executes the game interface elements required by the current node and triggers the interface element interaction event, and comprises the following steps:
sequentially disassembling the execution logic corresponding to the current node according to the atomic interface;
and inquiring interface elements required by executing the current node according to the corresponding execution logic, and triggering the interface element interaction event.
5. The embedded automatic testing method based on the network game client side according to claim 2, wherein the responding to the interface element interaction event and executing the corresponding logic to update the current game state comprises:
if the interface element interaction event needs to execute the server logic, sending an uplink request to a server, and updating the current game state after receiving an execution result sent by the server;
and if the interface element interaction event does not need to execute server logic, executing client logic corresponding to the interface element interaction event, and updating the current game state.
6. The embedded automation test method based on the network game client side as claimed in claim 5, wherein the responding to the interface element interaction event and executing the corresponding logic, updating the current game state, further comprises:
and if the interface element interaction event needs to execute the server logic and the client logic at the same time, sending an uplink request to the server, receiving an execution result sent by the server, executing the corresponding client logic, and updating the current game state.
7. The embedded automatic testing method based on the network game client side as claimed in claim 5 or 6, wherein after sending the uplink request to the server, the method comprises:
and the server executes the corresponding service logic according to the uplink request and issues an execution result.
8. An embedded automatic testing device based on a network game client is characterized by comprising:
the configuration reading module is used for dynamically reading the automatic test flow tree in the automatic flow configuration file;
the logic analysis module is used for analyzing the automatic test flow tree;
and the automatic test module is used for automatically executing each node of the automatic test flow tree and continuously outputting the test result.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the network game client based embedded automated testing method of any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored, wherein the computer program, when executed by a processor, implements the network game client-based embedded automation testing method of any one of claims 1 to 7.
CN202011459099.3A 2020-12-11 2020-12-11 Embedded automatic testing method, device, equipment and medium based on network game client Pending CN112433953A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011459099.3A CN112433953A (en) 2020-12-11 2020-12-11 Embedded automatic testing method, device, equipment and medium based on network game client

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011459099.3A CN112433953A (en) 2020-12-11 2020-12-11 Embedded automatic testing method, device, equipment and medium based on network game client

Publications (1)

Publication Number Publication Date
CN112433953A true CN112433953A (en) 2021-03-02

Family

ID=74691766

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011459099.3A Pending CN112433953A (en) 2020-12-11 2020-12-11 Embedded automatic testing method, device, equipment and medium based on network game client

Country Status (1)

Country Link
CN (1) CN112433953A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113377682A (en) * 2021-07-29 2021-09-10 中国工商银行股份有限公司 Service testing method and device
CN114201149A (en) * 2022-02-18 2022-03-18 北京阿丘科技有限公司 Operation flow generation method, device and system and computer readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170189805A1 (en) * 2015-12-31 2017-07-06 Nhn Entertainment Corporation Method and system for processing module modulization of server-side logic
CN108052451A (en) * 2017-12-26 2018-05-18 网易(杭州)网络有限公司 Test method, system, test server, test terminal and storage medium
CN110013672A (en) * 2019-04-19 2019-07-16 腾讯科技(成都)有限公司 Method, unit and the computer readable storage medium of the automatic test of game for machine operation
CN110083541A (en) * 2019-04-30 2019-08-02 网易(杭州)网络有限公司 Game test method, device, computer storage medium and electronic equipment
CN111813686A (en) * 2020-07-20 2020-10-23 腾讯科技(深圳)有限公司 Game testing method and device, testing terminal and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170189805A1 (en) * 2015-12-31 2017-07-06 Nhn Entertainment Corporation Method and system for processing module modulization of server-side logic
CN108052451A (en) * 2017-12-26 2018-05-18 网易(杭州)网络有限公司 Test method, system, test server, test terminal and storage medium
CN110013672A (en) * 2019-04-19 2019-07-16 腾讯科技(成都)有限公司 Method, unit and the computer readable storage medium of the automatic test of game for machine operation
CN110083541A (en) * 2019-04-30 2019-08-02 网易(杭州)网络有限公司 Game test method, device, computer storage medium and electronic equipment
CN111813686A (en) * 2020-07-20 2020-10-23 腾讯科技(深圳)有限公司 Game testing method and device, testing terminal and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113377682A (en) * 2021-07-29 2021-09-10 中国工商银行股份有限公司 Service testing method and device
CN114201149A (en) * 2022-02-18 2022-03-18 北京阿丘科技有限公司 Operation flow generation method, device and system and computer readable storage medium

Similar Documents

Publication Publication Date Title
US11755919B2 (en) Analytics for an automated application testing platform
CN107861862A (en) UI automated testing methods, device and computer-readable recording medium
US20140040667A1 (en) Enhancing test scripts
US9262311B1 (en) Network page test system and methods
US20220029888A1 (en) Detect impact of network maintenance in software defined infrastructure
CN108563579B (en) White box testing method, device and system and storage medium
CN108228444B (en) Test method and device
CN107276842B (en) Interface test method and device and electronic equipment
CN110750458A (en) Big data platform testing method and device, readable storage medium and electronic equipment
US10803166B1 (en) Automated determination of application privileges
CN112433953A (en) Embedded automatic testing method, device, equipment and medium based on network game client
CN110727575B (en) Information processing method, system, device and storage medium
CN113722020A (en) Interface calling method, device and computer readable storage medium
CN113590454A (en) Test method, test device, computer equipment and storage medium
CN108427639B (en) Automated testing method, application server and computer readable storage medium
US20180210819A1 (en) System and method of controlling a web browser plug-in for testing analytics
CN114461533A (en) Method, system, electronic device and storage medium for automatic testing of Web page
CN112559525B (en) Data checking system, method, device and server
US10310962B2 (en) Infrastructure rule generation
CN114546814A (en) Recording playback method, recording playback device and storage medium
US10055516B1 (en) Testing open mobile alliance server payload on an open mobile alliance client simulator
CN113610242A (en) Data processing method and device and server
CN114466000A (en) CDN gateway source returning method and device
CN113127369A (en) Processing method and device for execution script
CN114253814A (en) Game server pressure testing method and 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