CN106095666A - Game automated testing method and relevant apparatus - Google Patents
Game automated testing method and relevant apparatus Download PDFInfo
- Publication number
- CN106095666A CN106095666A CN201610388475.1A CN201610388475A CN106095666A CN 106095666 A CN106095666 A CN 106095666A CN 201610388475 A CN201610388475 A CN 201610388475A CN 106095666 A CN106095666 A CN 106095666A
- Authority
- CN
- China
- Prior art keywords
- control
- game
- target
- server
- automatic 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3688—Test management for test execution, e.g. scheduling of test suites
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)
- User Interface Of Digital Computer (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Pinball Game Machines (AREA)
Abstract
The embodiment of the present invention provides game automated testing method and relevant apparatus.The method includes: searches target UI control, determines target UI control overlay area on terminal display screen and current vertex position;According to current vertex position and overlay area, determine the Action Events for target UI control;Action Events at least includes mode of operation and the operating position on terminal display screen;Notice terminal performs Action Events, to realize the target UI control corresponding with operating position, to use mode of operation to operate.Game automated testing method and relevant apparatus in the embodiment of the present invention can simulate people's touching operation to game UI control, and then realize operation game in terminal, and game is carried out automatic test.
Description
Technical field
The present invention relates to Computer Applied Technology field, be specifically related to play automated testing method and relevant apparatus.
Background technology
The kind of terminal (such as PC, intelligent terminal) is many, to be provided with Android operation system in the market
Smart mobile phone as a example by, the most thousands of money of its type, due to different type of machines use hardware and software the most different, so game
On stream and it is required in mainstream model carrying out compatibility test, to verify that can it normally transport before listing
OK.
Conventional test methodologies is tester's manually operation game, this test mode labor intensive in different terminals
And the time.
Summary of the invention
In view of this, the embodiment of the present invention provides one game automated testing method and relevant apparatus, to realize game
Automatic test, save manpower and time.
For achieving the above object, the following technical scheme of embodiment of the present invention offer:
A kind of game automated testing method, described game automated testing method includes:
Search target UI control;
Determine target UI control overlay area on described terminal display screen and current vertex position;
According to described current vertex position and overlay area, determine the Action Events for described target UI control;Described
Action Events at least includes mode of operation and the operating position on described terminal display screen;
Notify described terminal perform described Action Events, with realize to the target UI control corresponding with described operating position,
Described mode of operation is used to operate.
A kind of game automatic test device, described game automatic test device includes automatic test module, described
Automatic test module includes:
Search unit, be used for searching target user interface UI control;
First determines unit, for determining that described target UI control overlay area on described terminal display screen is with current
Vertex position;
Action Events determines unit, for according to described current vertex position and overlay area, determines for described target
The Action Events of UI control;Described Action Events at least includes mode of operation and the operating position on described terminal display screen;
Communication unit, is used for notifying that described terminal performs described Action Events, to realize corresponding with described operating position
Target UI control, use described mode of operation to operate.
A kind of server, for carrying out automatic test to the game of terminal;Described server at least includes processor, deposits
Reservoir, wherein, in described memorizer, storage has automatic test script;
Described processor, by running described automatic test script, at least performs operations described below:
Determine target UI control overlay area on described terminal display screen and current vertex position;
According to described current vertex position and overlay area, determine the Action Events for described target UI control;Described
Action Events at least includes mode of operation and the operating position on described terminal display screen;
Notify described terminal perform described Action Events, with realize to the target UI control corresponding with described operating position,
Described mode of operation is used to operate.
A kind of game automated testing method, is applied to terminal, and described game automated testing method includes:
Receive from server or game automatic test device, the notice of instruction execution Action Events;Described operation
Event at least includes mode of operation and the operating position on described terminal display screen;Described mode of operation and operating position be by
Described server or game automatic test device determine according to the current vertex position of described UI control and overlay area;
According to described notice, perform described Action Events, to realize the UI control corresponding with described operating position, employing
The mode of operation determined operates.
A kind of terminal, it is characterised in that including:
Communication unit, for receiving from server or game automatic test device, instruction execution Action Events
Notice;Described Action Events at least includes mode of operation and the operating position on described terminal display screen;Wherein, described operation
Mode and operating position are by described server or the automatic test device current vertex position according to described UI control of playing
Determine with overlay area;
Performance element, for according to described notice, performs described Action Events, to realize corresponding with described operating position
UI control, use the mode of operation determined to operate.
A kind of game automatization test system, including above-mentioned terminal, and, above-mentioned server, or above-mentioned game
Automatic test device.
Owing to people is to the touching operation of UI control, the really behaviour to the coordinate points (position) on terminal display screen in game
Make, such as, click on certain UI control, be in fact click on the coordinate points corresponding with this UI control.And in the embodiment of the present invention
Game automated testing method and relevant apparatus, obtain UI control (target UI control) the covering on terminal display screen to be operated
Cover region territory and current vertex position, and determine therefrom that out the Action Events for target UI control.Subsequently, notice terminal performs behaviour
Make event.
Comprise mode of operation and the operating position on terminal display screen due in the Action Events determined, therefore may be used
The simulation people operation to game UI control, and then realize operation game in terminal, game is carried out automatic test.In this mistake
Cheng Zhong, is not required to artificial operation game in different terminals, therefore can save manpower and time.
Meanwhile, the game automated testing method in the embodiment of the present invention and relevant apparatus, be to be right with target UI control
As, determine target UI control overlay area on terminal display screen and current vertex position, that is, obtain is the control of target UI
The vertex position that part is real-time, in conjunction with overlay area, can the real place, position of real-time positioning target UI control, and not by random
The dispar impact of pop-up window, resolution, it is achieved automatization is adaptive.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
In having technology to describe, the required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is only this
Inventive embodiment, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to according to
The accompanying drawing provided obtains other accompanying drawing.
Server that Fig. 1 provides for the embodiment of the present invention or the computer architecture exemplary plot of terminal;
The server that Fig. 2 provides for the embodiment of the present invention and terminal interaction schematic diagram;
Game current interface that Fig. 3 provides for the embodiment of the present invention and UI control tree schematic diagram;
Fig. 4 a, 4b, the game automated testing method exemplary process diagram that 5-10 provides for the embodiment of the present invention;
Figure 11, the 12 game automatic test device provided for the embodiment of the present invention or the exemplary block diagram of server;
The exemplary knot of the terminal (or the game automatic test device in terminal) that Figure 13 provides for the embodiment of the present invention
Composition.
Detailed description of the invention
The present invention may use technical term, write a Chinese character in simplified form or abridge as follows:
Hands is swum: mobile phone games, for the game operated on PC, is primarily referred to as operating on terminal and platform
Game;
Game compatibility test: owing on market, the kind of terminal is many, to be provided with the intelligence of Android operation system
As a example by energy mobile phone, the most thousands of money of its type, the hardware and software used due to different type of machines is the most different, so game is being opened
It is required in mainstream model carrying out compatibility test during Faing and before listing, to verify that can it properly functioning, this
It it is game compatibility test;
Unity engine: Unity engine is for creating putting down of the type interaction content such as 3d gaming, building visualization more
The comprehensive development of games instrument of platform, is the professional game engine of a comprehensive integration.The game of 100% uses the most on the market
Unity engine makes;
UI: user interface;
UI control: user interface controls, such as, refers to Fig. 3, is an interface, has two on the surface on the left of Fig. 3
Individual UI control, i.e. " plays " button and " playing with QQ good friend " button with wechat good friend.It practice, UI control is and the UI shown in the figure right side
A certain GameObject (node) in control tree is corresponding.A node in each UI control correspondence UI control tree.UI is controlled
The title of the GameObject that part is corresponding is the control title of UI control.
Such as, the path " playing " node that button is corresponding with QQ good friend is: "/BootObj/CUIManager/Form_
Login/LoginContainer/pnlMobileLogin/btnGroup/btnQQ"。
Wherein, the control title of " playing with QQ good friend " is tnQQ, and its father's nodename is btnGroup, and btnGroup
Father's node be pnlMobileLogin, by that analogy.
NGUI:Next-Gen UI kit, NGUI are a set of powerful UI and event transmission frameworks on Unity engine;
UGUI: similar with NGUI, UGUI are a set of UI and the event transmission frameworks of Unity official product.Can be used for creating
The UI controls such as button, slip hurdle, the click event etc. that treatment button is corresponding;
WeTest platform: high in the clouds cell phone managing system, hundreds of of management misconduct room mobile phone.Can be obtained by WeTest platform
Take the services such as the screen shift of a certain portion mobile phone, length and width, sectional drawing;WeTest platform can include multiple cloud server.
SDK: software development kit;
ADB:Android Debug Bridge, Google provide, one of android developing instrument.Main effect is,
Interactive service between computer and intelligent terminal is provided.By USB line, the software on computer can directly access intelligent terminal, even
Meet intelligent terminal.
The game automatization survey that the present invention provides the game automated testing method being applied to server, is applied to server
Electricity testing device, be applied to terminal game automated testing method, be applied to the game automatic test device of terminal, server,
Terminal and game automatization test system.
Game automatization test system can include server and terminal, server concretely home server or high in the clouds clothes
Business device.Home server can connect a station terminal, and cloud server then can connect many station terminals, is provided with to be tested in terminal
Game.
Above-mentioned terminal can be PC end, it is possible to for intelligent terminal, such as mobile phone, ipad etc..
Fig. 1 shows a kind of general-purpose computing system structure of above-mentioned server or terminal.
Above computer system can include bus, processor 101, memorizer 102, communication interface 103, input equipment 104
With outut device 105.Processor 101, memorizer 102, communication interface 103, input equipment 104 and outut device 105 are by total
Line is connected with each other.Wherein:
Bus can include a path, transmits information between computer system all parts.
Processor 101 can be general processor, such as general central processor (CPU), network processing unit (Network
Processor, is called for short NP), microprocessor etc., it is also possible to be ASIC (application-specific
Integrated circuit, ASIC), or one or more for controlling the integrated circuit that the present invention program program performs.Also
Can be digital signal processor (DSP), special IC (ASIC), ready-made programmable gate array (FPGA) or other can
Programmed logic device, discrete gate or transistor logic, discrete hardware components.
Processor 101 can include primary processor, may also include baseband chip, modem etc..
Memorizer 102 is preserved program or the script performing technical solution of the present invention, it is also possible to preserve operating system
With other key businesses.Specifically, program can include program code, and program code includes computer-managed instruction.Script is then
Generally preserve with text (such as ASCII), only explain when called or compile.
More specifically, memorizer 102 can include read only memory (read-only memory, ROM), can store static state
Information and the other kinds of static storage device of instruction, random access memory (random access memory, RAM),
Information and the other kinds of dynamic memory of instruction, disk memory, flash etc. can be stored.
Input equipment 104 can include receive user input data and the device of information, such as keyboard, mouse, photographic head,
Scanner, light pen, speech input device, touch screen, pedometer or gravity sensor etc..
Outut device 105 can include allow output information to the device of user, such as display screen, printer, speaker etc..
Communication interface 103 can include the device using any transceiver one class, in order to leads to other equipment or communication network
Letter, such as Ethernet, wireless access network (RAN), WLAN (WLAN) etc..
Fig. 2 shows a kind of example arrangement of game automatization test system, including server and terminal.
It should be noted that the game automatization test system shown in Fig. 2 only contains a station terminal and playscript with stage directions ground
The example of server, should not be construed as game automatization test system and is only limitted to comprise a station terminal and a station server.
Game automatization test system can comprise multiple cloud server, and each cloud server can connect many station terminals.
Server comprises automatic test device/module, automatic test device/module performs game automatization and survey
Method for testing.
In one example, in server, storage has python script (game automatic test script), by running
Python script, can realize the function of automatic test device/module, performs above-mentioned game automated testing method.
Additionally, server also can comprise UI control check module.In one example, UI control checks the function of module
Can be realized by editor's locator of the CPU run memory storage in server.
Being provided with game in terminal, in order to coordinate server to complete automatic test of playing, above-mentioned game embedded in
WeTest SDK。
Wherein:
WeTest SDK can be considered the assembly of game, it is possible to provide gaming controls (particularly UI control) ID inquiry, control position
Put inquiry, interactive operation etc. (such as click on, long press, slip etc.).When game starts, WeTest SDK starts therewith, and meeting
Open a socket service, monitor the request from Python script.
Certainly, WeTest SDK installs in gaming in automatic test course.The game version of real distribution
In do not comprise WeTest SDK.
Python script: can be communicated by ADB with WeTest SDK.Its function can comprise inspection game current interface, certainly
Determine operation behavior, it is determined that perform result.
UI control checks module: similar with UI Automator function in Fig. 2, except for the difference that, UI Automator can look into
See Android system standard UI control, and UI control checks that module can be used for checking the UI in the game using the exploitation of Unity engine
Control, and the association attributes of each GameObject can be checked.At exploitation Python script, use is checked to UI control
Module.
For cloud server, foregoing description can connect many station terminals.The corresponding wetest of one station terminal service into
Journey, script of corresponding operation.Such as, cloud server connects 10 station terminals, then have 10 wetest service processes, script meeting
Run 10 times.
The general character aspect that will relate to based on invention described above below, to the embodiment of the present invention the most specifically
Bright.
First introduce the exploitation of automatic test script.
Automatic test script in the embodiment of the present invention can include that multiple class realizes object and automatic test logic;
Any sort realizes the operation of a kind of basic test of object definition, such as click on, long press, slide, sectional drawing, on sectional drawing
Labelling click location, performance data collection, terminal log collection or crash (collapse or dodge and move back) detection etc..
And the execution sequence of automatic test logical definition above-mentioned one or more basic tests operation, operation object and
Execution condition.
The aforementioned processor mentioned runs described automatic test script, is suitable according to performing by automatic test logic
Sequence, operation object and execution condition are called corresponding class and are realized object implementatio8.
Basic test operation be similar to cutting, sew, stitch a button, the operation such as buttonhole.And automatic test logic is similar to
In defining when (under what conditions) cutting, cutting is any fabric, when (under what conditions) sewing, sewing
Where position is, when (under what conditions) stitches a button, and at what position stitches a button, when (under what conditions) snap close
Eye, at what position buttonhole.
For different game, automatic test logic is different, and basic test operation is the most constant.Basic test
Operation typically need not exploitation, for different game, automatic test logic can be developed design.
In the present invention, automatic test logical AND implement (class realizes object) be separated.So developer can
It is concerned only with automatic test logic, and need not pay close attention to and specifically how realize.Such as, clicking on this fundamental operation, tester can
When design is clicked on, and what the specific implementation that need not pay close attention to click is.
Referring to Fig. 4 a and Fig. 4 b, the flow process of exploitation automatic test script comprises the steps that
401 parts: the UI control in server checks that module obtains the current interface of game and the UI that current interface is corresponding
Control tree, and show on the display screen of server.
In the present embodiment, the game that game is concretely developed by unity, such as mobile phone games, or can run on
The game of PC end.
This part may be implemented in the mesh of the upper UI control tree synchronizing game current picture and current interface of PC (server)
's.
Can provide lockage button on the interface that server shows, developer clicks on lockage button, can realize synchronizing trip
Play current picture and the purpose of UI control tree, check going game control state.
More specifically, refer to Fig. 4 b, be to be checked module WeTest SDK in game by the UI control in server
Send synchronization request, the mode of WeTest SDK Resume Mission current picture and UI control tree obtain game current interface and
UI control tree.
402 parts: UI control checks that module obtains the positional information of the input equipment input of server.
Above-mentioned input equipment is generally mouse or keyboard.In practical operation, in terms of developer's angle, it is to use Mus
Mark or keyboard choose the UI control in server current interface (Tong Bu with game current picture), then UI control checks that module can
Get the positional information of mouse or input through keyboard.
Such as, refer to Fig. 3, developer click " with QQ good friend play " this button, actual development personnel be click on
" play with QQ good friend that " coordinate points (x1, y1) corresponding to this button, then UI control checks that module has got position letter
Breath coordinate points (x1, y1).
403 parts: UI control checks that module searches corresponding UI control according to above-mentioned positional information, obtain searching knot
Really.
In one example, refer to Fig. 4 b, UI control and check that module can send inquiry to the WeTest SDK in game
Request (can comprise positional information), WeTest SDK returns lookup result.
More specifically, above-mentioned lookup result (alternatively referred to as UI control information) can include the title of UI control, path, current
Vertex position and UI control overlay area on terminal display screen.
The top left co-ordinate of above-mentioned vertex position actually control, and overlay area is specially length and the width of UI control.
It is it should be noted that although UI control can be rendered into variously-shaped on foreground, the most circular, oval etc..But
Backstage, UI control be shaped as rectangle.So each UI control all has the upper left corner.And for a rectangle it is known that its upper left corner
Coordinate, knows again its overlay area, then can uniquely determine the position at this rectangle place.
Current vertex position and UI control overlay area on terminal display screen can be calculated by WeTest SDK.
Owing to when exploitation, developer is not aware that the relevant information of UI control, can only position UI by location lookup
Control node in UI control tree, obtains UI control information.
404 parts: UI control checks that module, according to above-mentioned lookup result, is worked as in the game shown by the display screen of server
Highlight the UI control found on front interface, meanwhile, highlight the UI control found correspondence in UI control tree
Node.
More specifically, UI control checks the current vertex position of UI control that module can feed back according to SDK and at end
Overlay area on end display screen, highlights UI control in the game current interface shown by the display screen of server.Example
As, refer to Fig. 3, highlight with thick line square frame and " play " this button with QQ good friend.Certainly, it is also possible to redness encloses.
Those skilled in the art can use various ways to highlight, and therefore not to repeat here.
Meanwhile, UI control checks the title of UI control, the path that module can feed back according to SDK, determines that UI control exists
Node corresponding in UI control tree, thus on the display screen of server, highlight this node.Such as, refer to Fig. 3, use
Dash box is highlighted node.Those skilled in the art can use various ways to highlight, and therefore not to repeat here.
Owing to when exploitation, developer is not aware that the title of clicked on UI control, and highlighting is to develop
Personnel very clear can see the UI control chosen, and sees its position in UI control tree.So, exploit person is contributed to
Member is so more efficient that to write automatic test script.
405 parts: server obtains the edit instruction of input equipment input.
In one example, server can dispose editor module, to perform 405 parts and 406 parts.
Above-mentioned edit instruction for edit the execution sequence of the operation of basic test in automatic test logic, operation object and
Any one or combination in any of execution condition.
Edit instruction can generate based on described second lookup result.
In practice, after 404 parts get the title/path of UI control, developer can by the title of UI control/
Path is programmed in automatic test script as operation object, to edit automatic test logic.
It practice, for any operation of python script and input, can be assumed that and assigned edit instruction.
406 parts: server is according to edit instruction editor's automatic test logic.
Referring to Fig. 5, example below will be discussed in detail and how to search corresponding according to positional information as a example by hands is swum
UI control, obtains lookup result (UI control information).
500 parts: developer clicks on the lockage button on server interface.
501 parts: UI control checks that module is set up socket with WeTest SDK and is connected, obtain hands trip current interface and
Corresponding UI control tree.
In one example, it is to be checked that module WeTest SDK in hands is swum sends by the UI control in server to synchronize
Request, WeTest SDK returns hands trip current picture and the mode of UI control tree, obtains current interface and the UI control of hands trip
Tree.
502 parts: UI control checks that the hands trip current interface obtained and UI control tree are exported showing to server by module
Display screen, to show hands trip current interface and UI control tree.
503 parts: developer clicks on the hands that server shows and swims the UI control on interface face to face, and UI control checks module
Obtain the coordinate position clicked on;
Such as, refer to Fig. 3, developer click " with QQ good friend play " this button, actual development personnel click
Coordinate points (x1, y1) in server display, then UI control check the positional information that module gets include coordinate points (x1,
y1)。
504 parts: UI control checks that the screen size of module acquisition intelligent terminal (can be by sending to andord mobile phone
Adb shell-command row obtains screen size), above-mentioned positional information is converted to the positional information of intelligent terminal's display screen.
As a example by Android phone, 504 parts are accomplished that and the coordinate points on PC end (server) are converted to
The coordinate points of Android phone.
505 parts: UI control checks that the positional information of intelligent terminal's display screen is transferred to WeTest SDK by module.
In one example, UI control checks that module can send query messages to WeTest SDK, takes in this query messages
Positional information with intelligent terminal's display screen.
506 parts: the positional information of the intelligent terminal's display screen received is converted into unity coordinate system by WeTest SDK
Under positional information.
As a example by Android system, android coordinate system is different from unity coordinate system, and android coordinate system is with screen
The upper left corner is zero, and unity coordinate system is with the screen lower right corner as zero.
Due to WeTest SDK receive be Android screen coordinate system under positional information (coordinate), it is therefore desirable to
The positional information (coordinate) this positional information being converted under the screen coordinate system of Unity.
507 parts: WeTest SDK searches UI control corresponding to the coordinate position under unity coordinate system (or UI control tree
On node), return UI control information (title, path, current vertex position and the area of coverage on intelligent terminal's display screen
Territory).
It should be noted that the UI control of hands trip can be developed by NGUI or UGUI of Unity engine.
For the control of NGUI exploitation, UICamera.Raycast method can be called by reflection, obtain under changing coordinates
Corresponding GameObject.
For UGUI exploitation, EventSystem.current.RaycastAll () method can be passed through, get current
All controls under coordinate.If RaycastAll returns multiple controls, then return the information of first control.
Therefore, WeTest SDK can have two versions, one for NGUI, one for UGUI.
508 parts: UI control checks that module, according to above-mentioned lookup result, is swum at the hands shown by the display screen of server and worked as
Highlight the UI control found on front interface, meanwhile, highlight the UI control found correspondence in UI control tree
Node.
508 parts are similar with 404 parts, and therefore not to repeat here.
509 parts: server obtains the edit instruction of input equipment input.
510 parts: server is according to edit instruction editor's automatic test logic.
509 and 510 parts are similar with aforesaid 405 and 406 parts respectively, and therefore not to repeat here.
Start below to introduce game automatic testing process.Game automatic test simulation is the people behaviour to UI control
Make.
Referring to Fig. 6, game automatic testing process comprises the steps that
600 parts: whois lookup target UI control.
In one example, 600 parts can be performed by the automatic test module in server.
Further, the function of automatic test module can be run automatic test script by the processor in server
Realize.
601 parts: server determines target UI control overlay area on terminal display screen and current vertex position.
In one example, 601 parts can be performed by the automatic test module in server.
Further, the function of automatic test module can be run automatic test script by the processor in server
Realize.
It should be noted that on script, general three row perform an operation, the operation object of operation can a UI control
Part, then this UI control is exactly target UI control.
Certainly, aforementioned being referred to, automatic test script can perform the operation of multiple basic test, such as, click on, long press, sliding
Dynamic, sectional drawing, labelling click location, performance data collection, terminal log collection or crash detection etc. on sectional drawing.
For sectional drawing, labelling click location, performance data collection, terminal log collection or crash detection etc. on sectional drawing
The operation object of operation is not likely to be UI control, then can be without carrying out 601 parts.
Additionally, the overlay area in the present embodiment specifically can include length and the width of UI control.
Its vertex position refers to UI control upper left corner coordinate on terminal display screen.
In one example, above-mentioned overlay area and current vertex position can be true according to unique mark of target UI control
Fixed.The most in other embodiments of the present invention, before 601 parts, can also carry out lookup target UI control right in UI control tree
The node answered, obtains comprising target UI control uniquely identified step.
602 parts: server, according to the current vertex position got and overlay area, determines for target UI control
Action Events.
Wherein, Action Events at least can include mode of operation and the operating position on terminal display screen.
In one example, the mode of operation for target UI control is concretely clicked on, is grown by or slide.
Certainly, those skilled in the art can carry out flexible design according to the mode of operation of terminal support, and therefore not to repeat here.
And operating position (coordinate), along with the difference of mode of operation, can be single operation position, it is possible to for multiple continuous print
Operating position.Such as, click on, grow and press, generally be directed to the operation of a single point, corresponding single operation position, and slide, then can be right
Should multiple continuous print operating positions.
In one example, operating position can be calculated according to the current vertex position got and overlay area.Need
Illustrating, game automatic test simulation is people's operation to UI control.
By people carry out clicking on or grow by as a example by, people usually can click on or long by the centre of UI control.For sliding
UI control is also such.And get in 601 parts is the coordinate in the UI control upper left corner, accordingly, it would be desirable to calculate operating position.
In one example, 602 parts can be performed by the automatic test module in server.Further, automatization
The function of test module can be run automatic test script by the processor in server and realize.
603 parts: server notice terminal performs Action Events.
In one example, 603 parts can be performed by the automatic test module in server.Further, automatization
The function of test module can be run automatic test script by the processor in server and realize.
The most referring also to Fig. 2, in one example, can be passed through ADB to trip by automatic test script (python script)
WeTest SDK in play sends notice.
Then terminal is according to notice, performs aforesaid operations event, to realize the UI control corresponding with operating position, to use really
The mode of operation made operates.
Visible, in embodiments of the present invention, the UI control (target UI control) to be operated can be obtained on terminal display screen
Overlay area and current vertex position, and determine therefrom that out the Action Events for target UI control.Afterwards, notice terminal is held
Row Action Events.
On PC, people can carry out clicking on by the input equipment such as mouse, keyboard, long by or the operation such as slip, if certainly
Screen on PC is touch screen, it is possible to carry out clicking on by touch screen, long by or the operation such as slip.
And in mobile device (intelligent terminal), people typically carries out clicking on by touch screen, long by or the operation such as slip.
Owing to people is to the operation of UI control in game, the really operation to the coordinate points (position) on terminal display screen,
Such as, click on certain UI control, be in fact click on the coordinate points corresponding with this UI control.And the embodiment of the present invention is determined
Action Events in, comprise mode of operation and the operating position on terminal display screen.Therefore, the embodiment of the present invention is provided
Scheme, can simulate people's touching operation to game UI control, it is achieved operation game in terminal, game is carried out automatization's survey
Examination.
Operate it should be noted that then existing game automatization testing technique is mainly played back by recording coordinate sequence
Game, to reach the purpose of automatic test.Its way is: tester plays game in terminal, during playing game,
Application program can record which position in terminal to be touched or slides, and records the resolution of coordinate position and current phone
Rate, generates operation note.
Afterwards, main frame presses the coordinate information simulated touch in operation note or the operation of slip the most successively,
Reach the purpose of the whole testing process of simulation test personnel.But its shortcoming it is apparent that
Shortcoming one, in existing automatic test course, because application program is the most successively by operation note
In coordinate information simulated touch or the operation of slip, can't remove to identify the UI control of current interface, but mechanically press
The coordinate points of operation note in operation note, therefore, if unexpected interface (the most random pop-up window) occurs, follow-up
Operation may entanglement completely.
Shortcoming two: account state is different may impact test.Because the account of different conditions, enter UI circle in game
Face layout and flow process are probably different, may cause operating complete entanglement, it is impossible to the most intended testing process.
Shortcoming three: may be affected by resolution, the different coordinate points corresponding to the most same UI control of resolution can be different, machine
Tool ground, may impact test effect by the coordinate points of operation note in operation note.
The automatic test mode that the present embodiment is provided then can solve the problems referred to above.Therefore, in the present embodiment, first
Before this with target UI control as object, determine target UI control overlay area on terminal display screen and current vertex position,
That is, obtain is real-time vertex position, in conjunction with overlay area, the place, position that target UI control is real-time, real can be positioned.
The Action Events determined therefrom that out, can realize the operation to the target UI control on terminal game really.
Therefore, the most random pop-up window, or account state, or resolution, all do not interfere with target UI
The operation of control, really realizes automatization adaptive.
Fig. 7 shows a kind of interactive flow process of game automatic test, and it comprises the steps that
700 parts: server initiation python script;
After Ben Wen, how extended meeting introduction initializes python script.
701 parts: server sends the inquiry request of target UI control to terminal, to determine that target UI control is worked as in game
Whether front interface exists.
In one example, the inquiry that can be sent target UI control by python script to the WeTest SDK of terminal is asked
Ask.
In view of in an interface, it is understood that there may be the GameObject that multiple titles are identical, therefore, fuzzy looking into can be carried out
Look for.The most above-mentioned inquiry request can comprise the relevant information of target UI control as search criterion, such as, and the name of target UI control
Claim, the word in target UI control, the picture name in target UI control, and node corresponding to target UI control is relative to father
Any one or combination in any in the position of node.
Such as, with the picture name in the word in target UI control, target UI control, and target UI control is corresponding
Node is search criterion relative to the position etc. of father node, makes WeTest SDK carry out fuzzy search, finds out and look into all meeting
Look for the UI control of condition.
Such as, expression formula/BootObj/ScrollRect [0]/Content/*{txt=hands Q Android great Qu, img are searched
=11203}.Wherein, "/" represents one layer in GameObject structure tree, and txt=represents the word content in UI, img=table
Showing the picture name in UI, [] represents that present node position in father node is from the beginning of 0.
702 parts: terminal searches the node that target UI control is corresponding in the UI control tree of game current interface, is wrapped
Uniquely identified lookup result containing target UI control also returns.
Unique mark can be InstanceID (object oriented), and inside an interface, InstanceID can uniquely identify
One node.But InstanceID is temporary.
Certainly, if target UI control does not exists in the current interface of game, then unique mark can be NULL, or other
Can represent unique and identify non-existent numerical value.
In one example, 702 parts can be performed by the WeTest SDK played.
First SDK can obtain all effective GameObject in going game, then Ergodic judgement node whether with target
The relevant information of UI control matches, and after all searching, returns the node of all couplings.
And server can be using the node of all couplings as target UI control.
701 and 702 parts are the refinements of aforementioned 600 parts.
703 parts: server, according to unique mark of target UI control, obtains target UI control at described terminal display screen
On overlay area and current vertex position.
In one example, position enquiring request can be sent by python script to the WeTest SDK of terminal.Position is looked into
Ask and request comprises unique mark that 702 parts get.
Then WeTest SDK uniquely identifies according to this and determines above-mentioned overlay area and current vertex position and return.
The related content of overlay area and current vertex position can be found in 601 parts, and therefore not to repeat here.
704 parts: server, according to the current vertex position got and overlay area, determines for target UI control
Action Events.
704 parts are similar with 602 parts, and therefore not to repeat here.
705 parts: server notice terminal performs Action Events.
705 parts are similar with 603 parts, and therefore not to repeat here.
706 parts: terminal according to notice, performs aforesaid operations event, with realize to the UI control corresponding with operating position,
The mode of operation determined is used to operate.
In one example, 706 parts can be performed by the performance element in terminal.
Concrete, the function of performance element can be realized by the WeTest SDK of game in terminal.
It is assumed that the mode of operation in Action Events is for clicking on, operating position is coordinate points (x1, y1), then WeTest SDK
Coordinate points (x1, y1) on terminal display screen is performed click.
In the present embodiment, to how to determine target UI control overlay area on described terminal display screen and work as sinciput
Point position has carried out more detailed description, it is ensured that the execution of game automatic test.
Fig. 8 shows a kind of interactive flow process of game automatic test, and it comprises the steps that
801 parts: connect WeTest SDK.
Specifically can be found in the introduction of following 1012 or 1021 parts.
After connection, python script can communicate with the WeTest SDK of terminal, mentions by completing previous embodiment alternately
Acquisition game work at present interface and UI control tree, the unique mark of inquiry, notice perform the actions such as Action Events.
802 parts: judge to test whether to terminate, if so, enter 808 parts, otherwise enter 802 parts;
803 parts: search target UI control, obtain lookup result.
In one example, server sends the inquiry request of target UI control to terminal.Terminal searches target UI control
Node corresponding in the UI control tree of game current interface, the uniquely identified lookup result obtaining comprising target UI control is also
Return.
Detail refers to aforementioned 701 and 702 parts, and therefore not to repeat here.
804 parts: judge whether target UI control exists in game current interface, if existing, enter 805 parts, no
Then enter 807 parts;
805 parts: server, according to unique mark of target UI control, obtains target UI control at described terminal display screen
On overlay area and current vertex position.
805 parts are similar with 703 parts, and therefore not to repeat here.
806 parts: server, according to the current vertex position got and overlay area, determines for target UI control
Action Events, notice terminal performs Action Events.
Details can be found in 602 and 603 parts, and therefore not to repeat here.
807 parts: trigger and perform to there is not process logic.
Flexible design can there is not process logic as required in those skilled in the art.Such as, can design and there is not process
Logic is for exiting, or collecting performance data etc..
808 parts: terminate.
Python script will be introduced below initialize.Can initialize when performing game automatic test.
Referring to Fig. 9, initialization procedure can comprise the steps:
901 parts: determine current running environment by the presence or absence of environmental variable.
Before address, server can be home server and cloud server.The running environment that home server is corresponding is
Home environment;The running environment that server is surveyed corresponding in high in the clouds is high in the clouds environment.
Server storage has environmental variable WPYSCRIPTS_MODE beyond the clouds, and its content can be " Cloud ", for high in the clouds
Environment.And home server has not stored environmental variable.
In order to cater to two kinds of running environment, automatic test script includes realizing class for different running environment.
902 parts: set up the mapping relations of the network port of this locality or cloud server and the network monitoring port of terminal.
Local or cloud server carries out communication by the network monitoring port of the network port Yu terminal.Aforementioned mention
Python script and the communication of WeTest SDK, need to be carried out with network monitoring port by the network port.
903 parts: select to realize class accordingly according to current running environment, create corresponding class and realize object.
Concrete, if running environment is high in the clouds environment, then from selecting automatic test script for high in the clouds running environment
Realize class, create corresponding class and realize object.Otherwise, for the reality of local operating conditions from selection automatic test script
Existing class, creates corresponding class and realizes object.
Figure 10 shows initialized one more specifically implementation.Embodiment illustrated in fig. 10 as a example by intelligent terminal,
The network port setting up local or the cloud server mapping relations with the network monitoring port of intelligent terminal are mainly refined
Operation.Including:
1000 parts: whether environmental variable exists, if it is, enter 1011 parts, enter 9021 parts if not;
Particular content about environmental variable can be found in 901 parts, and therefore not to repeat here.
1011 parts: phthon script is set up with the wetest service processes of wetest platform and is connected.
Aforementioned it is referred to, operates in the corresponding terminal of a wetest service processes of cloud server.Wetest takes
Business process is binding with mobile phone.Script is by connecting wetest service processes, and available wetest service processes goes to play games
Automatic test.
1012 parts: python script sets up first network port and the intelligence of cloud server to wetest platform request
Mapping relations between the first network listening port (SDK port) of terminal, after mapping relations set up by wetest platform, first
The port numbers of the network port returns to python script.
It should be noted that either server, or intelligent terminal, port number is up to tens thousand of.And port numbers 6000 with
On port, typically will not be used to.
Then can dynamically randomly choose port numbers 1024-65535 being of little use as SDK port, such as 27018.
Certainly, 27018 port numbers of intelligent terminal also can be editing into by developer as the port numbers of SDK port
Python script.
After setting up mapping relations, python script can pass through first network port and first network listening port, with intelligence
The WeTest SDK communication of terminal, by complete alternately acquisition game (hands trip) work at present interface that previous embodiment mentions with
UI control tree, the unique mark of inquiry, notice perform the actions such as Action Events.
1013 parts: python script sets up second network port and the intelligence of cloud server to wetest platform request
Mapping relations between the second network monitoring port (UIAutomator port) of terminal, mapping relations set up by wetest platform
After, the port numbers of second network port is returned to python script.
After setting up mapping relations, python script can pass through second network port and the second network monitoring port, with intelligence
The UIAutomator servicing communications of terminal, the acquisition screen size etc. mentioned by completing previous embodiment alternately operates, it is possible to
By UIAutomator query criteria UI control.
First, second is served only for distinguishing.
1014 parts: Python script creates the class in high in the clouds and realizes object.
It is emphasized that this part is transparent for test logic development person.It is supplied to test logic development person
Python script inside contained the class in high in the clouds and realized object.
1021 parts: python script is serviced by ADB, by the first network port of home server with intelligent terminal's
Mapping relations between first network listening port (SDK port).
After setting up mapping relations, python script can pass through first network port and first network listening port, with intelligence
The WeTest SDK communication of terminal, by completing acquisition game work at present interface and the UI control that previous embodiment is mentioned alternately
Tree, the unique mark of inquiry, notice perform the actions such as Action Events.
Owing to being local operating conditions, the port numbers of the first network port of server can be fixed as 40018, by intelligence
27018 port numbers of terminal are editing into python script as SDK port numbers.
Certainly, it is possible to select port numbers 1024-65535 being of little use as SDK port at dynamic random.
1022 parts: Python script is serviced by ADB, are installed to UIAutomator service on intelligent terminal, and open
Dynamic UIAutomator service.
1023 parts: serviced by ADB, second network port and the intelligent terminal of home server set up by python script
The second network monitoring port (UIAutomator port) between mapping relations.
Owing to being local operating conditions, the port numbers of second network port of server can be fixed as 19008, by intelligence
9008 port numbers of terminal are editing into python script as the port numbers of UIAutomator port.
1024 parts: create local class and realize object.
It should be noted that under home environment, typically need not to support sectional drawing, on sectional drawing labelling click location, property
Energy data acquisition, terminal log collection or crash detection, and environment beyond the clouds, then need to support aforesaid operations.Therefore, this reality
Execute regular meeting based on different running environment, create different classes and realize object.
Owing to supporting to run in local or high in the clouds simultaneously, after exploitation tester has write python script, can be in this locality
Realize playback.Local playback is debugged successfully, can directly be uploaded to platform, runs at platform.
Figure 11 show in above-described embodiment involved game automatic test device 1100 (being applied to server) or
A kind of possible structural representation of server, including game automatic test module 1, wherein:
Automatic test module 1 comprises the steps that
First determines unit 1101, for determining target UI control overlay area on terminal display screen and current vertex
Position;
Action Events determines unit 1102, for according to described current vertex position and overlay area, determines for described
The Action Events of target UI control;Described Action Events at least includes mode of operation and the operative position on described terminal display screen
Put;
Communication unit 1103, is used for notifying that described terminal performs described Action Events, with realize to described operating position
Corresponding target UI control, described mode of operation is used to operate.
Search unit 1104, for determining that unit 1101 determines that target UI control is at described terminal display screen described first
On overlay area and current vertex position before, search described target UI control.
More specifically, search unit 1104 and can search the user interface UI control at described game picture face to face of the target UI control
The upper corresponding node of part tree, obtains the first lookup result.
Described first lookup result comprises the unique mark corresponding with described target UI control;Wherein, described UI control tree
Comprise multiple node, a node in each UI control correspondence UI control tree, the corresponding unique mark of described node.Relevant
Details refers to record described previously herein, and therefore not to repeat here.
In other embodiments of the present invention, referring to Figure 12 a, above-mentioned game automatic test device 1100 may also include UI
Control checks module 2 and editor module 3.
When developing automatic test module 1, UI control checks that module 2 can be used for:
Obtain current interface and the UI control tree of described game current interface of described game, and show at described server
Display screen on;Obtain the positional information of the input equipment input of described server;Search corresponding according to described positional information
UI control, obtain the second lookup result, the title of UI control that described second lookup result includes finding, path, current
Vertex position and the overlay area on described terminal display screen;According to described second lookup result, showing at described server
The UI control found described in highlighting in current interface shown by display screen, meanwhile, highlight described in the UI that finds
The node that control is corresponding in described UI control tree;
Editor module 3 can be used for: obtains the edit instruction of the input equipment input of described server;Described edit instruction is
Generate based on described second lookup result;According to automatic test module 1 described in described edit instruction editor.
Wherein, first determines that unit 1101 can be used for performing the 700-703 part shown in 601 parts shown in Fig. 6, Fig. 7.
Action Events determines that unit 1102 can be used for performing 704 parts shown in 602 parts shown in Fig. 6, Fig. 7, Fig. 8 institute
806 parts shown.
Communication unit 1103 can be used for performing 801 shown in 705 parts shown in 603 parts shown in Fig. 6, Fig. 7, Fig. 8
Part.
Search unit 1104 to can be used for performing 701 parts shown in 600 parts shown in Fig. 6, Fig. 7.
From whole automatic test die angle, automatic test module 1 can be used for the 600-603 portion shown in Fig. 6 that performs
Point, the 801-807 part shown in the 700-705 part shown in Fig. 7, Fig. 8.
UI control check module 2 can be used for perform the 401-404 part shown in Fig. 4, the 501-505 shown in Fig. 5,508
Point.
Editor module 3 can be used for performing 509-510 part shown in the 405-406 part shown in Fig. 4 a, Fig. 5.
In other embodiments of the present invention, Figure 12 b is referred to, at the beginning of above-mentioned game automatic test device 1100 may also include
Beginningization module 4, is used for initializing.
Initialization module 4 can be used for performing 1000-1024 part shown in the 901-903 part shown in Fig. 9, Figure 10.
Figure 13 shows terminal (or the game automatic test device in terminal) 1300 involved in above-described embodiment
A kind of possible structural representation.It comprises the steps that
Communication unit 1301, for receiving from server or game automatic test device, instruction execution operation thing
The notice of part;Described Action Events at least includes mode of operation and the operating position on described terminal display screen;Wherein, described
Mode of operation and operating position are by described server or the automatic test device current vertex according to described UI control of playing
Position and overlay area determine;
Performance element 1302, for according to described notice, performs described Action Events, with realize to described operating position
The mode of operation that the UI control of correspondence, employing are determined operates.
Wherein, communication unit 1301 can be used for supporting that terminal (or the game automatic test device in terminal) fills with other
Put and communicate.Such as, it is used for supporting terminal (or the game automatic test device in terminal) and Fig. 4 b, shown in 5-7
Other devices communicate.
Performance element 1302 can be used for performing 706 parts shown in Fig. 7, additionally, performance element 1302 can also carry out Fig. 7 institute
506-507 part shown in 702,703 parts shown, Fig. 5, and the operation of the WeTest SDK shown in Fig. 4 b.
Alternatively possible stupefied Fig. 1 that sees of structural representation of server/terminal involved by above-mentioned all embodiments, bag
Include:
Bus, processor 101, memorizer 102, communication interface 103, input equipment 104 and outut device 105.Processor
101, memorizer 102, communication interface 103, input equipment 104 and outut device 105 are connected with each other by bus.Wherein:
Bus can include a path, transmits information between computer system all parts.
Processor 101 can be general processor, such as general central processor (CPU), network processing unit (Network
Processor, is called for short NP), microprocessor etc., it is also possible to be ASIC (application-specific
Integrated circuit, ASIC), or one or more for controlling the integrated circuit that the present invention program program performs.Also
Can be digital signal processor (DSP), special IC (ASIC), ready-made programmable gate array (FPGA) or other can
Programmed logic device, discrete gate or transistor logic, discrete hardware components.
Processor 101 can include primary processor, and the processor of terminal may also include baseband chip, modem etc..
Memorizer 102 is preserved program or the script performing technical solution of the present invention, it is also possible to preserve operating system
With other key businesses.Specifically, program can include program code, and program code includes computer-managed instruction.Script is then
Generally preserve with text (such as ASCII), only explain when called or compile.
More specifically, memorizer 102 can include read only memory (read-only memory, ROM), can store static state
Information and the other kinds of static storage device of instruction, random access memory (random access memory, RAM),
Information and the other kinds of dynamic memory of instruction, disk memory, flash etc. can be stored.
Input equipment 104 can include receive user input data and the device of information, such as keyboard, mouse, photographic head,
Scanner, light pen, speech input device, touch screen, pedometer or gravity sensor etc..
Outut device 105 can include allow output information to the device of user, such as display screen, printer, speaker etc..
Communication interface 103 can include the device using any transceiver one class, in order to leads to other equipment or communication network
Letter, such as Ethernet, wireless access network (RAN), WLAN (WLAN) etc..
Controller/the processor of server can be used for perform Fig. 4 a, 4b, 5-8 relates to server processing procedure and/or
Other processes for technology described herein.Controller/processor can also be used for realizing aforementioned automatic test module
1, UI control checks module 2, editor module 3 and the function of initialization module 4.
The communication interface of server then communicates with other devices for back-level server.Such as, it is used for supporting service
Device and Fig. 4 a, 4b, other devices shown in 5-8 communicate.
Controller/the processor of terminal can be used for perform Fig. 4 a, 4b, 5-8 relates to terminal processing procedure and/or for
Other processes of technology described herein.Controller/processor can also be used for realizing the function of aforementioned performance element 1302.
The communication interface of server is then used for supporting that terminal communicates with other devices.Such as, for back-level server
With Fig. 4 a, 4b, other devices shown in 5-8 communicate.
It is understood that Fig. 1 illustrate only the simplification design of server/terminal.In actual applications, server/
Terminal can comprise any number of emitter, receptor, processor, controller, memorizer, communication interface etc., and all can
To realize the server/terminal of the present invention all within protection scope of the present invention.
The embodiment of the present invention is also claimed game automatization test system, and it can include the end in above-mentioned all embodiments
End and above-mentioned server, or include the terminal in above-mentioned all embodiments and game automatic test device.
Step in conjunction with the method described by the disclosure of invention or algorithm can realize in the way of hardware, it is possible to
Realize in the way of being to be performed software instruction by processor.Software instruction can be made up of corresponding software module, software mould
Block can be stored on RAM memory, flash memory, ROM memory, eprom memory, eeprom memory, depositor, hard disk,
In the storage medium of portable hard drive, CD-ROM or other form any well known in the art.A kind of exemplary storage medium
It coupled to processor, thus enable a processor to from this read information, and information can be write to this storage medium.When
So, storage medium can also be the ingredient of processor.Processor and storage medium may be located in ASIC.It addition, should
ASIC may be located in subscriber equipment.Certainly, processor and storage medium can also be present in subscriber equipment as discrete assembly
In.
Those skilled in the art it will be appreciated that in said one or multiple example, merit described in the invention
Can be able to realize by hardware, software, firmware or their combination in any.When implemented in software, can be by these functions
It is stored in computer-readable medium or is transmitted as the one or more instructions on computer-readable medium or code.
Computer-readable medium includes computer-readable storage medium and communication media, and wherein communication media includes being easy to from a place to separately
One local any medium transmitting computer program.Storage medium can be universal or special computer can access any
Usable medium.
Above-described detailed description of the invention, has been carried out the purpose of the present invention, technical scheme and beneficial effect further
Describe in detail, be it should be understood that the detailed description of the invention that the foregoing is only the present invention, be not intended to limit the present invention
Protection domain, all on the basis of technical scheme, any modification, equivalent substitution and improvement etc. done, all should
Within being included in protection scope of the present invention.
Claims (25)
1. a game automated testing method, it is characterised in that described game automated testing method includes:
Search target UI control;
Determine described target UI control overlay area on terminal display screen and current vertex position;
According to described current vertex position and overlay area, determine the Action Events for described target UI control;Described operation
Event at least includes mode of operation and the operating position on described terminal display screen;
Notify that described terminal performs described Action Events, to realize the target UI control corresponding with described operating position, employing
Described mode of operation operates.
2. the method for claim 1, it is characterised in that described lookup target UI control includes:
Search the node that described target UI control is corresponding in the user interface UI control tree of described game picture face to face, obtain the
One lookup result;Described first lookup result comprises the unique mark corresponding with described target UI control;
Wherein, described UI control tree comprises multiple node, and the corresponding described UI of each UI control during described game is drawn a picture face to face is controlled
A node on part tree, the corresponding unique mark of described node.
3. method as claimed in claim 2, it is characterised in that described lookup described target UI control is at described game picture face to face
UI control tree on corresponding node include:
According to the relevant information of described target UI control, search for the joint that described target UI control is corresponding in described UI control tree
Point;
Wherein, the word during described relevant information includes the title of described target UI control, described target UI control, described target
Picture name in UI control, and node corresponding to described target UI control is relative to any one in the position of father node
Or combination in any.
4. method as claimed in claim 2, it is characterised in that described determine that target UI control is on described terminal display screen
Overlay area and current vertex position include:
According to unique mark that described target UI control is corresponding, obtain described target UI control covering on described terminal display screen
Cover region territory and current vertex position.
5. the method as described in any one of claim 1-4, it is characterised in that on described server, storage has automatic test foot
This, each step in described game automated testing method, is that the processor by described server is described automatically by operation
Change what test script performed.
6. method as claimed in claim 5, it is characterised in that also include: develop described automatic test script.
7. method as claimed in claim 6, it is characterised in that
Described automatic test script includes that multiple class realizes object and the automatic test logic for described game;
Arbitrary described class realizes the operation of a kind of basic test of object definition;
The execution sequence of described automatic test logical definition described basic test operation, operation object and the condition of execution;
The described automatic test script of described operation be by described automatic test logic according to described execution sequence, operate right
As and execution condition call corresponding class and realize object implementatio8.
8. method as claimed in claim 7, it is characterised in that the operation of described basic test for clicking on, long press, slide, sectional drawing,
Labelling click location, performance data collection, terminal log collection or crash detection on sectional drawing.
9. method as claimed in claim 7 or 8, it is characterised in that the described automatic test script of described exploitation includes:
Obtain the current interface of described game and the UI control tree that described current interface is corresponding, and show showing at described server
In display screen;
Obtain the positional information of the input equipment input of described server;
Searching corresponding UI control according to described positional information, obtain the second lookup result, described second lookup result includes
The title of UI control, path, current vertex position and the described UI control found that find are on described terminal display screen
Overlay area;
According to described second lookup result, the current interface shown by the display screen of described server highlights described in look into
The UI control found, meanwhile, highlight described in the node corresponding in described UI control tree of the UI control that finds.
10. method as claimed in claim 9, it is characterised in that the described automatic test script of described exploitation also includes:
Obtain the edit instruction of the input equipment input of described server;Described edit instruction is used for editing automatic test logic
The execution sequence of middle basic test operation, operation object and any one or combination in any, described edit instruction of the condition of execution
Generate based on described second lookup result;
According to automatic test logic described in described edit instruction editor.
11. methods as claimed in claim 9, it is characterised in that the described UI control corresponding according to the lookup of described positional information
Part, obtains the second lookup result and includes:
The positional information that described input equipment inputs is converted to the positional information of described terminal display screen;
The positional information of described display screen is sent to described terminal, in order to described terminal is according to the positional information of described display screen
Search corresponding UI control and return described second lookup result;
Receive described second lookup result.
12. methods as claimed in claim 8, it is characterised in that described game automated testing method also includes: carry out initial
Change.
13. methods as claimed in claim 12, it is characterised in that described server is cloud server or home server,
Described initialization includes:
Current running environment is determined by the presence or absence of environmental variable;Wherein, cloud server storage has environmental variable, and local
Server has not stored environmental variable;The running environment that home server is corresponding is home environment;It is corresponding that server is surveyed in high in the clouds
Running environment be high in the clouds environment;Described automatic test script includes realizing class for different running environment;
Set up the mapping relations of the network port of this locality or cloud server and the network monitoring port of terminal;Described this locality or cloud
End computer games check server carries out communication by the network monitoring port of the described network port Yu terminal;
Select to realize class accordingly according to current running environment, create corresponding class and realize object.
14. 1 kinds of game automatic test devices, it is characterised in that described game automatic test device includes automatic test
Module, described automatic test module includes:
Search unit, be used for searching target user interface UI control;
First determines unit, for determining described target UI control overlay area on terminal display screen and current vertex position
Put;
Action Events determines unit, for according to described current vertex position and overlay area, determines and controls for described target UI
The Action Events of part;Described Action Events at least includes mode of operation and the operating position on described terminal display screen;
Communication unit, is used for notifying that described terminal performs described Action Events, to realize the mesh corresponding with described operating position
Mark UI control, use described mode of operation to operate.
15. devices as claimed in claim 14, it is characterised in that in terms of searching target UI control, described lookup unit is used
In:
Search the node that described target UI control is corresponding in the user interface UI control tree of described game picture face to face, obtain the
One lookup result;Described first lookup result comprises the unique mark corresponding with described target UI control;Wherein, described UI control
Tree comprises multiple node, a node in each UI control correspondence UI control tree, the corresponding unique mark of described node.
16. devices as claimed in claim 14, it is characterised in that control searching the described target UI control UI in described game
The aspect of the upper corresponding node of part tree, described lookup unit is used for:
According to the relevant information of described target UI control, search for the joint that described target UI control is corresponding in described UI control tree
Point;
Described relevant information includes that the word in the title of described target UI control, described target UI control, described target UI are controlled
Picture name in part, and node corresponding to described target UI control relative to any one in the position of father node or appoint
Meaning combination.
17. devices as described in any one of claim 14-16, it is characterised in that also include that UI control checks module and editor
Module, develop described automatic test module time, described UI control check module for:
Obtain current interface and the UI control tree of described game current interface of described game, and show showing at described server
In display screen;
Obtain the positional information of the input equipment input of described server;
Searching corresponding UI control according to described positional information, obtain the second lookup result, described second lookup result includes
The title of UI control, path, current vertex position and the overlay area on described terminal display screen found;
According to described second lookup result, the current interface shown by the display screen of described server highlights described in look into
The UI control found, meanwhile, highlight described in the node corresponding in described UI control tree of the UI control that finds;
Described editor module is used for:
Obtain the edit instruction of the input equipment input of described server;Described edit instruction is based on described second lookup result
Generate;
According to automatic test module described in described edit instruction editor.
18. devices as claimed in claim 17, it is characterised in that at the described UI corresponding according to the lookup of described positional information
Control, obtains the aspect of the second lookup result, described UI control check module for:
The positional information that described input equipment inputs is converted to the positional information of described terminal display screen;
The positional information of described display screen is sent to described terminal, in order to described terminal is according to the positional information of described display screen
Search corresponding UI control and return described second lookup result;
Receive described second lookup result.
19. 1 kinds of game automated testing methods, it is characterised in that be applied to terminal, described game automated testing method bag
Include:
Receive from server or game automatic test device, the notice of instruction execution Action Events;Described Action Events
At least include mode of operation and the operating position on described terminal display screen;Described mode of operation and operating position are by described
Server or game automatic test device determine according to the current vertex position of described UI control and overlay area;
According to described notice, perform described Action Events, to realize the UI control corresponding with described operating position, employing are determined
The mode of operation gone out operates.
20. methods as claimed in claim 19, it is characterised in that receiving from server or game automatic test device
, instruction perform Action Events notice before, also include:
Receive the search request for described target UI control swimming automatic test device from server or hands;
Search the node that described target UI control is corresponding in the UI control tree of described game picture face to face, obtain the first lookup knot
Really;Described first lookup result comprises the unique mark corresponding with described target UI control;Wherein, described UI control tree comprises many
Individual node, described game draw a picture face to face in the corresponding described UI control tree of each UI control on a node, described node pair
Answer a unique mark;
Described first lookup result is returned to described server or game automatic test device.
21. methods as claimed in claim 20, it is characterised in that
The search request of described target UI control comprises the relevant information of described target UI control, wherein, described relevant information bag
Include the word in title corresponding to described target UI control, described target UI control, the picture name in described target UI control,
And node corresponding to described target UI control is relative to any one in the position of father node or combination in any;
The node that described lookup described target UI control is corresponding in the UI control tree of described game picture face to face includes:
According to the relevant information of described target UI control, search for the joint that described target UI control is corresponding in described UI control tree
Point.
22. methods as claimed in claim 21, it is characterised in that also include:
Receiving inquiry request, described inquiry request comprises the positional information of terminal display screen;
Positional information according to described terminal display screen is searched corresponding UI control and returns the second lookup result;Described second
Lookup result includes that the title of UI control found, path, current vertex position and the described UI control found are described
Overlay area on terminal display screen.
23. methods as claimed in claim 22, it is characterised in that the described positional information according to described terminal display screen is searched
Corresponding UI control includes:
The positional information of described display screen is converted into the positional information under unity coordinate system;
Corresponding UI control is searched according to the positional information under the unity coordinate system being converted to.
24. 1 kinds of terminals, it is characterised in that including:
Communication unit, for receiving from server or game automatic test device, the notice of instruction execution Action Events;
Described Action Events at least includes mode of operation and the operating position on described terminal display screen;Wherein, described mode of operation
It is and to be covered according to the current vertex position of described UI control by described server or game automatic test device with operating position
Cover region territory determines;
Performance element, for according to described notice, performs described Action Events, to realize the UI corresponding with described operating position
The mode of operation that control, employing are determined operates.
25. 1 kinds of game automatization test systems, it is characterised in that include terminal as claimed in claim 23, and, such as power
Profit requires the server described in 14-18.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610388475.1A CN106095666B (en) | 2016-06-02 | 2016-06-02 | Game automated testing method and relevant apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610388475.1A CN106095666B (en) | 2016-06-02 | 2016-06-02 | Game automated testing method and relevant apparatus |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106095666A true CN106095666A (en) | 2016-11-09 |
CN106095666B CN106095666B (en) | 2018-01-09 |
Family
ID=57446907
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610388475.1A Active CN106095666B (en) | 2016-06-02 | 2016-06-02 | Game automated testing method and relevant apparatus |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106095666B (en) |
Cited By (36)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106909397A (en) * | 2017-03-06 | 2017-06-30 | 北京潘达互娱科技有限公司 | The method and device of input frame is generated in Unity interfaces |
CN107315473A (en) * | 2017-06-19 | 2017-11-03 | 南京华捷艾米软件科技有限公司 | A kind of method that body-sensing gesture selects Android Mission Objective UI controls |
CN107340944A (en) * | 2017-05-19 | 2017-11-10 | 腾讯科技(深圳)有限公司 | The display methods and device of interface |
CN107357586A (en) * | 2017-07-14 | 2017-11-17 | 腾讯科技(深圳)有限公司 | Control method, device and the equipment of application program |
CN108170611A (en) * | 2018-01-23 | 2018-06-15 | 网易(杭州)网络有限公司 | Automated testing method and device, storage medium, electronic equipment |
CN108255729A (en) * | 2018-01-24 | 2018-07-06 | 珠海金山网络游戏科技有限公司 | A kind of mobile phone games automated testing method and system based on Unity platforms |
CN108280026A (en) * | 2018-01-23 | 2018-07-13 | 网易(杭州)网络有限公司 | Automated testing method and device, storage medium, electronic equipment |
CN108647198A (en) * | 2018-05-17 | 2018-10-12 | 福建天晴数码有限公司 | A kind of word edit methods and terminal based on Unity |
CN108874569A (en) * | 2018-05-31 | 2018-11-23 | 北京三快在线科技有限公司 | The method, apparatus and electronic equipment of event response and file generated |
CN109101412A (en) * | 2017-06-21 | 2018-12-28 | 腾讯科技(深圳)有限公司 | Test file generation, test method, device, storage medium and computer equipment |
CN109117373A (en) * | 2018-08-16 | 2019-01-01 | 杭州友声科技股份有限公司 | A kind of method that rule-based guidance carries out UI traversal |
CN109254923A (en) * | 2018-09-19 | 2019-01-22 | 北京酷我科技有限公司 | A method of it is debugged using interior UI |
CN109284102A (en) * | 2017-07-21 | 2019-01-29 | 阿里巴巴集团控股有限公司 | Information collecting method and device |
CN109324967A (en) * | 2018-09-26 | 2019-02-12 | 深圳壹账通智能科技有限公司 | The method, apparatus and terminal device of application program pop-up components testing |
CN109359043A (en) * | 2018-10-08 | 2019-02-19 | 广州云测信息技术有限公司 | A kind of moving game automated testing method based on machine learning |
CN109359003A (en) * | 2018-10-29 | 2019-02-19 | 网易(杭州)网络有限公司 | Game server method for testing pressure, device and equipment |
CN109697168A (en) * | 2019-01-11 | 2019-04-30 | 网易(杭州)网络有限公司 | Power consumption weight testing method and device, electronic equipment, storage medium |
CN109783343A (en) * | 2017-11-13 | 2019-05-21 | 北京嘀嘀无限科技发展有限公司 | Components testing method, apparatus, client device and computer readable storage medium |
CN109783388A (en) * | 2019-01-16 | 2019-05-21 | 北京金山云网络技术有限公司 | UI automated testing method, device and electronic equipment |
CN109857659A (en) * | 2019-01-23 | 2019-06-07 | 广州云测信息技术有限公司 | A kind of operating method and device of control |
CN109871172A (en) * | 2019-01-23 | 2019-06-11 | 广州杰赛科技股份有限公司 | Mouse click method, device and readable storage medium storing program for executing in a kind of automatic test |
CN109885481A (en) * | 2019-01-14 | 2019-06-14 | 珠海金山网络游戏科技有限公司 | A kind of the recording and playback test method and device of the game NGUI based on Unity technology |
CN110231959A (en) * | 2018-03-06 | 2019-09-13 | 优酷网络技术(北京)有限公司 | A kind of synchronous method of manipulation instruction, system and control centre |
CN110266748A (en) * | 2019-04-24 | 2019-09-20 | 上海连尚网络科技有限公司 | A kind of game dissemination method and equipment |
CN110404256A (en) * | 2019-07-26 | 2019-11-05 | 上海商汤智能科技有限公司 | Data processing method and device, equipment, server, system and storage medium |
CN110543416A (en) * | 2019-08-02 | 2019-12-06 | 广州探迹科技有限公司 | Method, device, equipment and storage medium for automatically testing terminal program |
CN110794999A (en) * | 2019-10-28 | 2020-02-14 | 珠海格力电器股份有限公司 | Automatic control method and device based on interface segmentation and terminal |
CN111127602A (en) * | 2019-12-27 | 2020-05-08 | 珠海金山网络游戏科技有限公司 | Animation production method and device based on NGUI |
CN111481937A (en) * | 2020-04-09 | 2020-08-04 | 网易(杭州)网络有限公司 | Game task testing method and device, testing terminal and server |
CN112269746A (en) * | 2020-11-10 | 2021-01-26 | 京东数科海益信息科技有限公司 | Automatic testing method and related equipment |
CN112732580A (en) * | 2021-01-11 | 2021-04-30 | 珠海金山网络游戏科技有限公司 | Automatic testing method, device and medium for hierarchy lookup based on Unity |
CN112954020A (en) * | 2021-01-28 | 2021-06-11 | 广州虎牙科技有限公司 | Game control method, device, electronic equipment and computer-readable storage medium |
CN112988304A (en) * | 2021-03-25 | 2021-06-18 | 腾讯科技(深圳)有限公司 | Recording method and device of operation mode, electronic equipment and storage medium |
CN113076257A (en) * | 2021-04-19 | 2021-07-06 | 西安闻泰信息技术有限公司 | Test script recording method, device, medium and computer equipment |
CN113094257A (en) * | 2021-03-08 | 2021-07-09 | 上海硬通网络科技有限公司 | Application testing method and device and electronic equipment |
CN113630652A (en) * | 2021-08-11 | 2021-11-09 | 杭州凯米科技有限公司 | Game rapid adaptation method based on Android set-top box |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103309802A (en) * | 2012-03-16 | 2013-09-18 | 百度在线网络技术(北京)有限公司 | Method and device for testing system stability in mobile terminal |
CN104699617A (en) * | 2015-03-31 | 2015-06-10 | 成都优聚软件有限责任公司 | Automated testing method for games |
-
2016
- 2016-06-02 CN CN201610388475.1A patent/CN106095666B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103309802A (en) * | 2012-03-16 | 2013-09-18 | 百度在线网络技术(北京)有限公司 | Method and device for testing system stability in mobile terminal |
CN104699617A (en) * | 2015-03-31 | 2015-06-10 | 成都优聚软件有限责任公司 | Automated testing method for games |
Cited By (60)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106909397A (en) * | 2017-03-06 | 2017-06-30 | 北京潘达互娱科技有限公司 | The method and device of input frame is generated in Unity interfaces |
CN107340944A (en) * | 2017-05-19 | 2017-11-10 | 腾讯科技(深圳)有限公司 | The display methods and device of interface |
CN107315473A (en) * | 2017-06-19 | 2017-11-03 | 南京华捷艾米软件科技有限公司 | A kind of method that body-sensing gesture selects Android Mission Objective UI controls |
CN109101412A (en) * | 2017-06-21 | 2018-12-28 | 腾讯科技(深圳)有限公司 | Test file generation, test method, device, storage medium and computer equipment |
CN109101412B (en) * | 2017-06-21 | 2021-05-11 | 腾讯科技(深圳)有限公司 | Test file generation method, test file generation device, test file testing method, test file testing device, storage medium and computer equipment |
CN107357586A (en) * | 2017-07-14 | 2017-11-17 | 腾讯科技(深圳)有限公司 | Control method, device and the equipment of application program |
CN107357586B (en) * | 2017-07-14 | 2018-06-05 | 腾讯科技(深圳)有限公司 | Control method, device and the equipment of application program |
US10754715B2 (en) | 2017-07-14 | 2020-08-25 | Tencent Technology (Shenzhen) Company Limited | Application program control method and apparatus, terminal, and storage medium |
WO2019011280A1 (en) * | 2017-07-14 | 2019-01-17 | 腾讯科技(深圳)有限公司 | Application program control method and device, terminal and storage medium |
CN109284102B (en) * | 2017-07-21 | 2022-05-27 | 阿里巴巴集团控股有限公司 | Information acquisition method and device |
CN109284102A (en) * | 2017-07-21 | 2019-01-29 | 阿里巴巴集团控股有限公司 | Information collecting method and device |
CN109783343A (en) * | 2017-11-13 | 2019-05-21 | 北京嘀嘀无限科技发展有限公司 | Components testing method, apparatus, client device and computer readable storage medium |
WO2019144681A1 (en) * | 2018-01-23 | 2019-08-01 | 网易(杭州)网络有限公司 | Automated testing method and apparatus, storage medium and electronic device |
CN108170611B (en) * | 2018-01-23 | 2019-07-16 | 网易(杭州)网络有限公司 | Automated testing method and device, storage medium, electronic equipment |
CN108170611A (en) * | 2018-01-23 | 2018-06-15 | 网易(杭州)网络有限公司 | Automated testing method and device, storage medium, electronic equipment |
CN108280026A (en) * | 2018-01-23 | 2018-07-13 | 网易(杭州)网络有限公司 | Automated testing method and device, storage medium, electronic equipment |
US11650910B2 (en) | 2018-01-23 | 2023-05-16 | Netease (Hangzhou) Network Co., Ltd. | Automated testing method and apparatus, storage medium and electronic device |
US11561887B2 (en) | 2018-01-23 | 2023-01-24 | Netease (Hangzhou) Network Co., Ltd. | Test script debugging using an automated testing framework and UI rendering tree |
CN108255729A (en) * | 2018-01-24 | 2018-07-06 | 珠海金山网络游戏科技有限公司 | A kind of mobile phone games automated testing method and system based on Unity platforms |
CN108255729B (en) * | 2018-01-24 | 2021-12-31 | 珠海金山网络游戏科技有限公司 | Mobile phone game automatic testing method and system based on Unity platform |
CN110231959A (en) * | 2018-03-06 | 2019-09-13 | 优酷网络技术(北京)有限公司 | A kind of synchronous method of manipulation instruction, system and control centre |
CN108647198B (en) * | 2018-05-17 | 2021-12-28 | 福建天晴数码有限公司 | Unity-based character editing method and terminal |
CN108647198A (en) * | 2018-05-17 | 2018-10-12 | 福建天晴数码有限公司 | A kind of word edit methods and terminal based on Unity |
CN108874569A (en) * | 2018-05-31 | 2018-11-23 | 北京三快在线科技有限公司 | The method, apparatus and electronic equipment of event response and file generated |
CN108874569B (en) * | 2018-05-31 | 2021-07-30 | 北京三快在线科技有限公司 | Event response and file generation method and device and electronic equipment |
CN109117373A (en) * | 2018-08-16 | 2019-01-01 | 杭州友声科技股份有限公司 | A kind of method that rule-based guidance carries out UI traversal |
CN109254923A (en) * | 2018-09-19 | 2019-01-22 | 北京酷我科技有限公司 | A method of it is debugged using interior UI |
CN109324967A (en) * | 2018-09-26 | 2019-02-12 | 深圳壹账通智能科技有限公司 | The method, apparatus and terminal device of application program pop-up components testing |
CN109359043B (en) * | 2018-10-08 | 2022-03-29 | 北京云测信息技术有限公司 | Mobile game automatic testing method based on machine learning |
CN109359043A (en) * | 2018-10-08 | 2019-02-19 | 广州云测信息技术有限公司 | A kind of moving game automated testing method based on machine learning |
CN109359003B (en) * | 2018-10-29 | 2022-05-20 | 网易(杭州)网络有限公司 | Game server pressure testing method, device and equipment |
CN109359003A (en) * | 2018-10-29 | 2019-02-19 | 网易(杭州)网络有限公司 | Game server method for testing pressure, device and equipment |
CN109697168A (en) * | 2019-01-11 | 2019-04-30 | 网易(杭州)网络有限公司 | Power consumption weight testing method and device, electronic equipment, storage medium |
CN109885481A (en) * | 2019-01-14 | 2019-06-14 | 珠海金山网络游戏科技有限公司 | A kind of the recording and playback test method and device of the game NGUI based on Unity technology |
CN109783388B (en) * | 2019-01-16 | 2022-03-01 | 北京金山云网络技术有限公司 | UI (user interface) automatic testing method and device and electronic equipment |
CN109783388A (en) * | 2019-01-16 | 2019-05-21 | 北京金山云网络技术有限公司 | UI automated testing method, device and electronic equipment |
CN109871172A (en) * | 2019-01-23 | 2019-06-11 | 广州杰赛科技股份有限公司 | Mouse click method, device and readable storage medium storing program for executing in a kind of automatic test |
CN109871172B (en) * | 2019-01-23 | 2020-09-15 | 广州杰赛科技股份有限公司 | Mouse clicking method and device in automatic test and readable storage medium |
CN109857659B (en) * | 2019-01-23 | 2022-03-15 | 北京云测信息技术有限公司 | Control operation method and device |
CN109857659A (en) * | 2019-01-23 | 2019-06-07 | 广州云测信息技术有限公司 | A kind of operating method and device of control |
CN110266748A (en) * | 2019-04-24 | 2019-09-20 | 上海连尚网络科技有限公司 | A kind of game dissemination method and equipment |
CN110404256A (en) * | 2019-07-26 | 2019-11-05 | 上海商汤智能科技有限公司 | Data processing method and device, equipment, server, system and storage medium |
TWI759796B (en) * | 2019-07-26 | 2022-04-01 | 中國商上海商湯智能科技有限公司 | Data processing method, device, server, system and storage medium |
CN110543416A (en) * | 2019-08-02 | 2019-12-06 | 广州探迹科技有限公司 | Method, device, equipment and storage medium for automatically testing terminal program |
CN110794999A (en) * | 2019-10-28 | 2020-02-14 | 珠海格力电器股份有限公司 | Automatic control method and device based on interface segmentation and terminal |
CN110794999B (en) * | 2019-10-28 | 2021-01-15 | 珠海格力电器股份有限公司 | Automatic control method and device based on interface segmentation and terminal |
CN111127602A (en) * | 2019-12-27 | 2020-05-08 | 珠海金山网络游戏科技有限公司 | Animation production method and device based on NGUI |
CN111127602B (en) * | 2019-12-27 | 2023-07-04 | 珠海金山数字网络科技有限公司 | Animation production method and device based on NGUI |
CN111481937A (en) * | 2020-04-09 | 2020-08-04 | 网易(杭州)网络有限公司 | Game task testing method and device, testing terminal and server |
CN111481937B (en) * | 2020-04-09 | 2023-04-07 | 网易(杭州)网络有限公司 | Game task testing method and device, testing terminal and server |
CN112269746A (en) * | 2020-11-10 | 2021-01-26 | 京东数科海益信息科技有限公司 | Automatic testing method and related equipment |
CN112732580A (en) * | 2021-01-11 | 2021-04-30 | 珠海金山网络游戏科技有限公司 | Automatic testing method, device and medium for hierarchy lookup based on Unity |
CN112954020B (en) * | 2021-01-28 | 2022-09-06 | 广州虎牙科技有限公司 | Game control method, device, electronic equipment and computer-readable storage medium |
CN112954020A (en) * | 2021-01-28 | 2021-06-11 | 广州虎牙科技有限公司 | Game control method, device, electronic equipment and computer-readable storage medium |
CN113094257A (en) * | 2021-03-08 | 2021-07-09 | 上海硬通网络科技有限公司 | Application testing method and device and electronic equipment |
CN113094257B (en) * | 2021-03-08 | 2024-04-05 | 上海硬通网络科技有限公司 | Application testing method and device and electronic equipment |
CN112988304A (en) * | 2021-03-25 | 2021-06-18 | 腾讯科技(深圳)有限公司 | Recording method and device of operation mode, electronic equipment and storage medium |
CN113076257A (en) * | 2021-04-19 | 2021-07-06 | 西安闻泰信息技术有限公司 | Test script recording method, device, medium and computer equipment |
CN113630652A (en) * | 2021-08-11 | 2021-11-09 | 杭州凯米科技有限公司 | Game rapid adaptation method based on Android set-top box |
CN113630652B (en) * | 2021-08-11 | 2024-01-30 | 杭州凯米科技有限公司 | Game quick adaptation method based on Android set top box |
Also Published As
Publication number | Publication date |
---|---|
CN106095666B (en) | 2018-01-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106095666B (en) | Game automated testing method and relevant apparatus | |
CN107025165A (en) | Game automated testing method and relevant apparatus | |
WO2020155777A1 (en) | Ui automated function testing method, testing device, testing apparatus, and storage medium | |
CN104484273B (en) | The method of testing of application program, equipment and system | |
CN104461894B (en) | The operation record device and method of Android software | |
CN106920079A (en) | Virtual objects distribution method and device based on augmented reality | |
US8855971B2 (en) | Tools for system-level design environments | |
CN102567198B (en) | System and method for testing application program in physical system environment | |
CN108280026A (en) | Automated testing method and device, storage medium, electronic equipment | |
CN107818162A (en) | Bury a processing method, device, computer equipment and storage medium | |
CN109302522A (en) | Test method, device and computer system and medium | |
CN103927260B (en) | A kind of telecommunication apparatus method of testing and system | |
CN105955888A (en) | Page debugging and previewing method and system | |
CN105739983A (en) | Script program edition device and realization method thereof | |
CN104778121A (en) | Game program test method, device and system | |
CN110716853A (en) | Test script recording method, application program testing method and related device | |
CN110457214A (en) | Application testing method and device, electronic equipment | |
CN109324857A (en) | A kind of user guides implementation method, device and storage medium | |
KR102121189B1 (en) | Part information retrieval device, part information retrieval method and program | |
CN105988931A (en) | Test method and device | |
CN112286501A (en) | Method and device for embedding point in page of terminal equipment and storage medium | |
CN107656991A (en) | A kind of remote guide method, apparatus and system | |
CN107967207A (en) | The test method and device of user interface interaction function | |
CN106815143A (en) | Test information processing method, device and electronic equipment | |
CN108762765B (en) | Development board program compiling and downloading method based on contiki system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |