Webgame test script generation method and device

A web game and test script technology, applied in the field of web game test script generation, can solve the problems of unable to provide test results, unable to record user operations, unable to play back tests, etc., to improve version iteration speed, save labor costs, and ensure quality Effect

Inactive Publication Date: 2016-07-06
北京白鹭时代信息技术有限公司
View PDF9 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] The purpose of the present invention is to provide a method and device for generating web game test scripts, which solves the problems in the prior art that the user's operations cannot be recorded in the game, the playback test cannot be played back, and the test results cannot be provided.

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
  • Webgame test script generation method and device
  • Webgame test script generation method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] The preferred embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described below are only used to illustrate and explain the present invention, and are not intended to limit the present invention.

[0039] figure 1 It is a flow chart of a webpage game test script generation method provided by an embodiment of the present invention, such as figure 1 shown, including the following steps:

[0040] Step S101: Select the addresses of one or more web games to be tested;

[0041] Step S102: using the test software and the address of the one or more web games to open the one or more web games, and start the test script recording function of the test software;

[0042] Step S103: During the user's operation of the one or more web games, record the user's operation actions into the test script through the test software, and obtain one or more initial test sc...

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 discloses a webgame test script generation method and device. The method comprises the steps of selecting addresses of one or more webgames need to be tested; one or more webgames are opened by means of test software and the addresses of the one or more webgames, and the recording function of the test script of the test software is enabled; when a user operates the one or more webgames, operation actions of the user are recorded into the test script through the test software, and initial test scripts of the one or more webgames are obtained; the initial test scripts of the webgames are replayed, the initial test scripts of the webgames are modified in the replaying process, and the test scripts of the one or more webgames for testing the webgames in real time are obtained. According to the webgame test script generation method and device, the test result can be provided, the test scripts can be automatically executed according to user settings, and user experience is improved.

Description

technical field [0001] The invention relates to the technical field of game testing, in particular to a method and device for generating web game testing scripts. Background technique [0002] HTML5 (HyperTextMarkupLanguage, hypertext markup language) game is a kind of game type that is emerging. It does not require players to install the game client, just click a link in the mobile phone or desktop browser, and they can immediately start entering the game. Most HTML5 games use the Canvas (canvas) in the browser to present the game screen, and use the JavaScript language to execute the logic control of the game. Since most HTML5 games use Canvas instead of ordinary DOM (DocumentObjectModel, Document Object Model) elements to present the game interface. This makes traditional HTML testing tools and testing methods no longer suitable for HTML5 games. [0003] Since HTML5 games are just emerging, there is no relatively mature testing solution on the market. Here are some exi...

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
CPCG06F11/3684
Inventor 张晨
Owner 北京白鹭时代信息技术有限公司
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