Automatic networking product testing system and automatic networking product testing method

A product and network technology, applied in the field of network product automation test system, can solve problems such as delaying the time to market of network products, and achieve the effects of saving time, reducing maintenance costs, and saving time

Active Publication Date: 2012-12-12
TENCENT TECH (SHENZHEN) CO LTD
View PDF2 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The embodiment of the present invention provides an automated test system for network products, aiming to solve the problem that one test case of the existing automated test system can only test the performance of one network product, and cannot test the performance of a newly developed network product in a timely and complete manner The problem caused by the delay in the time to market of the network product

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Automatic networking product testing system and automatic networking product testing method
  • Automatic networking product testing system and automatic networking product testing method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0044] figure 1 It shows an automated test system for network products provided by the first embodiment of the present invention. In this embodiment, the automated test system for network products is mainly described by taking testing online games as an example. In the automated test system for network products, The test case scripts used by the test service team are separated from the game scripts used by each game project team that needs to be tested, so the same test script can be combined with different game scripts to test different online games. The details are as follows:

[0045] The test case script storage unit 11 is used for storing the written test case scripts.

[0046] In this embodiment, test case scripts are written by the test service team. Since online games are often multi-person interactions, for example, team formation, group chat, gangs, etc. in online games involve the interaction of multiple accounts and game clients, so this test case script is mainly...

Embodiment 2

[0073] Suppose the script function to delete the first character in the game is:

[0074] function DeleteFirstRole(clientHandle)

[0075] Send the text BlockBegin(clientHandle) to the client, and the client will execute the script function to delete the role.

[0076] Assuming that the url of the current client is "actorsel", first obtain the url of the current client screen according to the content of the script function, if the obtained screen url is not actorsel, an error will be reported and the test will be terminated. After obtaining the url of the current client, obtain the position of the avatar button "UI.actorsel.character0" of the first character of the current client. Calculate the center position of the button, and call the mouse function or keyboard function to click the center position. After clicking the button of the first character's avatar, the current client script execution jumps out.

[0077] After selecting the avatar button of the character to be dele...

Embodiment 3

[0082] figure 2 The test method flow of the network-based product automation test system provided by the third embodiment of the present invention is shown, and the details are as follows.

[0083] In step S21, the written test case script is stored.

[0084] In this embodiment, the test service team writes test case scripts suitable for testing network products according to the rules for testing network products, and stores the written test case scripts. The test case script is mainly designed for multi-task coordination so that the automated test system for network products can support testing multiple clients at the same time.

[0085] As another embodiment of the present invention, the scripting language of the test case script can adopt lua scripting language. Since Lua is a concise, lightweight, and extensible scripting language, a scripting language using Lua as a test case script can be easily embedded in other languages. Of course, the test case script can also us...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention is applicable to the field of testing, and provides an automatic networking product testing system and an automatic networking product testing method. The system comprises a testing case script storage unit, a testing case script interface, a task scheduling unit, a networking product script storage unit, a networking product script interface and a tested client side; the task scheduling unit is used for scheduling testing tasks according to contents of testing case scripts; and the tested client side is used for executing the testing tasks according to the contents of networking product scripts. In an embodiment of the invention, testing case scripts are not required to be written according to a protocol of the networking product scripts, so that maintenance cost is reduced. The same testing case script can be combined with a plurality of networking product scripts and is used for testing a plurality of networking products, a plurality of testing case scripts are not required to be written, time for writing the testing case scripts is saved, and accordingly required time for testing the networking products is saved.

Description

technical field [0001] The invention belongs to the field of testing, and in particular relates to an automatic testing system and testing method for network products. Background technique [0002] With the rapid development of network technology, there are more and more types of network products. Common network products include online games. A new online game often needs repeated revisions and tests from development to launch. If too much time is spent in the testing stage, the launch of the online game will be delayed, and a large number of users may be lost. [0003] Existing online game testing is usually done on machines using automated testing systems. Commonly used automated testing systems are mainly divided into two categories, one is a protocol-level testing system based on scripts, and the other is a fixed system based on event recording and playback. Process testing system. [0004] The script-based protocol-level test system is a white-box test. It compiles th...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/36
Inventor 王其
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products