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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com