Non-native Android game UI automation test method and system

A technology for automated testing and game systems, applied in the field of automated testing of non-native Android game UI, can solve problems such as the inability to obtain engine control information, and achieve the effects of improving testing efficiency and saving costs

Inactive Publication Date: 2018-03-27
BOYAA ONLINE GAME DEV SHENZHEN
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The main purpose of the present invention is to provide a non-native Android game UI automation testing method and system, aiming to solve the problem that the game interface is drawn and rendered in the engine in real time, and the information of the engine control cannot be obtained from the outside at all

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
  • Non-native Android game UI automation test method and system
  • Non-native Android game UI automation test method and system
  • Non-native Android game UI automation test method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0047] The main purpose of the present invention is to provide a non-native Android game UI automated testing method, in order to achieve the above purpose, the present invention provides a non-native Android game UI automated testing method.

[0048] refer to figure 1 , figure 1 It is a schematic flow chart of the first embodiment of the non-native Android game UI automation testing method of the present invention; in the first embodiment, the present invention discloses a non-native Android game UI automation testing method, which mainly includes 9 steps as follows,

[0049] S10: start the automated test script;

[0050] S11: Call the automated test framework interface that has undergone secondary development;

[0051] S20: initialize the automated test script;

[0052] S30: Send the test script request to TestB...

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 non-native Android game UI automatic testing method and system. The method includes starting an automatic testing script; calling a secondary developed automatic testing framework interface; initializing the automatic testing script; The request of the test script is sent to TestBundle; TestBundle receives and parses the request, obtains the content of the control to be queried, and sends it to the ElementProvider; ElementProvider receives and parses the request for the content of the control to be queried, and sends it to the engine plug-in; The engine plug-in receives and obtains UI controls and returns the information to the ElementProvider; the ElementProvider receives and returns the information of the UI control to the TestBundle; the TestBundle obtains the information of the UI control and operates the game under test. The present invention obtains the attributes of the UI controls of the game interface, and realizes the automatic testing of the non-native Android game UI.

Description

technical field [0001] The present invention relates to the field of mobile communication, in particular, the present invention relates to a non-native Android game UI automation testing method and system. Background technique [0002] Applications currently running on the Android platform are mainly divided into common applications and game applications. For ordinary applications, the native controls provided by Android are generally used to draw the interface. Android officially also provides mechanisms and frameworks for UI automation testing of native controls, such as Instrumentation, UIAutomator, and Espresso, while other mainstream test frameworks on the market are based on Android's official test framework is encapsulated and extended, and cannot identify and control UIs other than native controls; in addition, for game applications developed based on game engines, there is no ready-made UI automation test solution. At present, most game companies in the industry us...

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/3688G06F11/3696
Inventor 刘丽艳陈胜
Owner BOYAA ONLINE GAME DEV SHENZHEN
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