CN110221983A - Test method, device, computer readable storage medium and computer equipment - Google Patents
Test method, device, computer readable storage medium and computer equipment Download PDFInfo
- Publication number
- CN110221983A CN110221983A CN201910533168.1A CN201910533168A CN110221983A CN 110221983 A CN110221983 A CN 110221983A CN 201910533168 A CN201910533168 A CN 201910533168A CN 110221983 A CN110221983 A CN 110221983A
- Authority
- CN
- China
- Prior art keywords
- test
- data
- tested
- project
- protocol data
- 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
- 238000010998 test method Methods 0.000 title claims abstract description 31
- 238000012360 testing method Methods 0.000 claims abstract description 635
- 238000000034 method Methods 0.000 claims description 39
- 230000002452 interceptive effect Effects 0.000 claims description 26
- 230000000694 effects Effects 0.000 claims description 24
- 230000015654 memory Effects 0.000 claims description 20
- 238000004590 computer program Methods 0.000 claims description 14
- 238000012545 processing Methods 0.000 claims description 12
- 238000010586 diagram Methods 0.000 description 13
- 230000008569 process Effects 0.000 description 13
- 230000006378 damage Effects 0.000 description 8
- 241001269238 Data Species 0.000 description 4
- 208000027418 Wounds and injury Diseases 0.000 description 4
- 230000000454 anti-cipatory effect Effects 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 4
- 208000014674 injury Diseases 0.000 description 4
- 230000009467 reduction Effects 0.000 description 4
- 238000004458 analytical method Methods 0.000 description 3
- 239000000203 mixture Substances 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 2
- 238000013480 data collection Methods 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 208000002173 dizziness Diseases 0.000 description 2
- 235000013399 edible fruits Nutrition 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000011156 evaluation Methods 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000004088 simulation Methods 0.000 description 2
- 238000012795 verification Methods 0.000 description 2
- 230000006399 behavior Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000004321 preservation Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000009182 swimming Effects 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
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
Abstract
This application involves a kind of test method, device, computer readable storage medium and computer equipments, which comprises obtains test recorded file;Recorded file is tested by playing, carries out the playback of test scene;During carrying out the playback of test scene, test data corresponding with project to be tested is acquired;Based on test data, the test result of project to be tested is determined.Scheme provided by the present application may be implemented precisely to restore test scene, improve the repeatable precision of test.
Description
Technical field
This application involves field of computer technology, more particularly to a kind of test method, device, computer-readable storage medium
Matter and computer equipment.
Background technique
With the development of computer technology, there is automatization testing technique, current automated testing method is mainly
Frame based on image recognition or the frame based on Infrastructure identification UI (User Interface, user interface) control are compiled
Write code and automation scene.For example, carrying out automatic test using the frame based on Infrastructure identification UI control
Mode is the component for integrating the identification of UI control in the product, passes through the component recognition and obtains the control in Unity product, local
Control of the automatic test logic realization to control is write using python, to reach the manipulation to product.
However, current automated testing method is easy to be influenced by factors such as Catons, nothing based on the driving of UI control
Method guarantee is when repeat automatic test next time, and as test scene and last time be, there are the repeatable of test
The property low problem of precision.
Summary of the invention
Based on this, it is necessary to for the low technical problem of the repeatable precision of current automatic test, provide a kind of survey
Method for testing, device, computer readable storage medium and computer equipment.
A kind of test method, comprising:
Test recorded file is obtained, test recorded file includes protocol data, and protocol data is corresponding for implementation of test cases
Test scene during the protocol data that obtains;
Recorded file is tested by playing, carries out the playback of test scene;
During carrying out the playback of test scene, test data corresponding with project to be tested is acquired;
Based on test data, the test result of project to be tested is determined.
A kind of test device, comprising:
Module is obtained, for obtaining test recorded file, test recorded file includes protocol data, and protocol data is to execute
The protocol data obtained during the corresponding test scene of test case;
Playback module, for carrying out the playback of test scene by playing test recorded file;
Acquisition module, for acquiring test corresponding with project to be tested during carrying out the playback of test scene
Data;
Processing module determines the test result of project to be tested for being based on test data.
A kind of computer readable storage medium is stored with computer program, when the computer program is executed by processor
It performs the steps of
Test recorded file is obtained, test recorded file includes protocol data, and protocol data is corresponding for implementation of test cases
Test scene during the protocol data that obtains;
Recorded file is tested by playing, carries out the playback of test scene;
During carrying out the playback of test scene, test data corresponding with project to be tested is acquired;
Based on test data, the test result of project to be tested is determined.
A kind of computer equipment, including memory and processor, the memory are stored with computer program, the calculating
Machine program performs the steps of when being executed by the processor
Test recorded file is obtained, test recorded file includes protocol data, and protocol data is corresponding for implementation of test cases
Test scene during the protocol data that obtains;
Recorded file is tested by playing, carries out the playback of test scene;
During carrying out the playback of test scene, test data corresponding with project to be tested is acquired;
Based on test data, the test result of project to be tested is determined.
Above-mentioned test method, device, computer readable storage medium and computer equipment obtain test recorded file, lead to
Broadcasting recorded file is crossed, the playback of test scene is carried out, during carrying out the playback of test scene, acquisition and item to be tested
The corresponding test data of mesh is based on test data, determines the test result of project to be tested.Due to including in test recorded file
Protocol data, and protocol data is the protocol data that obtains during the corresponding test scene of implementation of test cases, by broadcasting
Put the mode of test recorded file, so that it may precisely restore test scene, improve the repeatable precision of test.
Detailed description of the invention
Fig. 1 is the applied environment figure of test method in one embodiment;
Fig. 2 is the applied environment figure of test method in another embodiment;
Fig. 3 is the flow diagram of test method in one embodiment;
Fig. 4 is the interaction flow schematic diagram that terminal and interactive server are tested in one embodiment;
Fig. 5 is the application scenarios schematic diagram for the software to be tested that test terminal is shown in one embodiment;
Fig. 6 is the application scenarios schematic diagram for the software to be tested that test terminal is shown in another embodiment;
The sub-process schematic diagram that Fig. 7 is step S304 in Fig. 3 in one embodiment;
Fig. 8 is the applied environment figure of test method in further embodiment;
Fig. 9 is the flow diagram of test method in another embodiment;
Figure 10 is the flow diagram of test method in further embodiment;
Figure 11 is the structural block diagram of test device in one embodiment;
Figure 12 is the structural block diagram of computer equipment in one embodiment.
Specific embodiment
It is with reference to the accompanying drawings and embodiments, right in order to which the objects, technical solutions and advantages of the application are more clearly understood
The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, and
It is not used in restriction the application.
Fig. 1 is the applied environment figure of test method in one embodiment.The test method is applied to test macro.The test
System includes test terminal 110 and server 120.Test terminal 110 and server 120 pass through network connection.Wherein, server
Test recorded file is stored in 120, test terminal 110 obtains test recorded file from server 120, by playing test record
File processed carries out test scene playback, during carrying out the playback of test scene, acquires survey corresponding with project to be tested
Examination data are simultaneously uploaded to server 120, and server 120 is based on test data, determines the test result of project to be tested.Wherein,
Test terminal 110 specifically can be terminal console or mobile terminal, and mobile terminal specifically can be mobile phone, tablet computer, notes
At least one of this computer etc..Server 120 can use the server of the either multiple server compositions of independent server
Cluster is realized.
Fig. 2 is the applied environment figure of test method in another embodiment.When server 120 is multiple server compositions
It may include database server 210, logical process server 220 and Website server in server 120 when server cluster
230, test terminal 110 can be cloud prototype 240.Database server 210 is for storing test recorded file, Yun Zhenji 240
For extracting test recorded file from database server 210 and playing, during carrying out the broadcasting of test scene, adopt
Collect test data corresponding with project to be tested and report to logical process server 220, logical process server 220 is used for base
In test data, determines the test result of project to be tested and export to database server 210, database server 210 is also
For storing the test result of project to be tested, Website server 230 is used for from 210 read test result of database server simultaneously
It shows.
As shown in figure 3, in one embodiment, providing a kind of test method.The present embodiment is mainly applied in this way
Test terminal 110 and server 120 in above-mentioned Fig. 1 illustrate.Referring to Fig. 3, which specifically includes as follows
Step S302 to step S308.
Step S302 obtains test recorded file, and test recorded file includes protocol data, and protocol data is to execute test
The protocol data obtained during the corresponding test scene of use-case.
Wherein, test recorded file refers to the recorded file for playing back test scene, and test terminal (put down by such as mobile phone
The various possible terminal devices such as plate computer, laptop) the test recorded file, test scene can be obtained from server
Corresponding scene during for software implementation of test cases to be tested in test terminal.Software to be tested is being held in test terminal
It, can be by built-in recording module by the corresponding test scene of implementation of test cases when the corresponding test scene of row test case
The protocol data obtained in the process is saved into test recorded file.It (is returned for example, test recorded file specifically can be replay
Put) file.
Protocol data refers in test terminal to be obtained during the corresponding test scene of software implementation of test cases to be tested
The protocol data obtained.For example, protocol data specifically can be the corresponding protocol data of operational order of game player.Test case
Refer to one group of test input, execution condition and the expected results worked out for some special objective, to test some program
Whether path or verification meet some particular demands.
Specifically, protocol data carries data sequence identification, data sequence identification refers to the mark letter that protocol data carries
Breath executes sequence for determine each protocol data in test recorded file, and testing terminal can be according to the execution of each protocol data
Sequentially, the corresponding operational order of each protocol data is successively executed, the corresponding operational order of each protocol data refers to game player's
Operational order, exactly because each protocol data is corresponding with operational order, test terminal can be by executing each protocol data
Corresponding operational order realizes the reduction to test scene.For example, specifically, data sequence identification is that test terminal is assisted
Discuss any one in the timestamp of data, timestamp of interactive server transmission protocol data etc..Data sequence identification can also
Think the frame number of protocol data.During interactive server is the corresponding test scene of implementation of test cases, with test terminal
The server interacted.Terminal is tested during implementation of test cases corresponding test scene, meeting and interactive server
It interacts.For example, when the test terminal interacted with interactive server includes test terminal A and test terminal B, interaction
Server, which can will test terminal A and test the Frame Protocol data corresponding with operational order that terminal B is sended over, to summarize, so
Afterwards simultaneously be forwarded to test terminal A and test terminal B, test terminal A and test terminal B further according to interactive server be transmitted through come
Frame Protocol data execute corresponding operational order.It tests terminal A and tests the recording module in terminal B built in software to be tested,
The Frame Protocol data that interactive server can be transmitted to every time to test terminal A and test terminal B preserve, and obtain test and record
File.
For example, as shown in figure 4, in test terminal A and test terminal B software to be tested when nth frame (FrameN),
The master control hero for testing terminal A discharges technical ability SA1, sends cmdSA1 to interactive server, tests the master control hero release of terminal B
Technical ability SB1 and SB2, send cmdSB1 and cmdSB2 to interactive server, interactive server receive cmdSA1, cmdSB1 and
After these three Frame Protocol data of cmdSB2, these three Frame Protocol data are all transmitted to test terminal A and test terminal B, i.e.,
It sends respectively to be measured in FrameN (SA1, SB1, SB2) to test terminal A and test terminal B, test terminal A and test terminal B
Examination software built in recordings module interactive server can be transmitted to test terminal A and test terminal B Frame Protocol data according to
Timestamp preserves, and obtains test recorded file.
For example, the role A of test terminal A chooses role B and uses technical ability as shown in the application scenarios schematic diagram of Fig. 5
SA1 sends cmdSA1 to interactive server, and the role B for testing terminal B chooses role A and uses technical ability SB1 and SB2, sends
For cmdSB1 and cmdSB2 to interactive server, interactive server is receiving these three frames of cmdSA1, cmdSB1 and cmdSB2 association
After discussing data, these three Frame Protocol data are all transmitted to test terminal A and test terminal B, i.e., send FrameN respectively
(SA1, SB1, SB2) to test terminal A and test terminal B, then as shown in the application scenarios schematic diagram of Fig. 6, at this time role A meeting because
It is injured using technical ability SB1 and SB2 by X point for role B, role B can be because role A be injured using technical ability SA1 by Y point.Its
In, the specific value of X and Y can self-setting as required.Meanwhile it testing in terminal A and test terminal B built in software to be tested
Recording module interactive server can be transmitted to test terminal A and test terminal B Frame Protocol data saved according to timestamp
Get off, obtains test recorded file.
Step S304 tests recorded file by playing, carries out the playback of test scene.
Wherein, test scene refers to that the user of simulation is corresponding during using software implementation of test cases to be tested
Scene.For example, test scene specifically can be the scene that role A and role B use game skill in fighting to the finish.Test scene
Playback refers to reappearing test scene in test terminal again by playing test recorded file.
Specifically, the data sequence identification for testing each protocol data in terminal read test recorded file, by according to number
According to sequence identification, the mode of the corresponding operational order of each protocol data is successively executed, realizes and plays test recorded file, surveyed
The playback of examination hall scape.
In one embodiment, recorded file is tested by playing, carries out the playback of test scene, comprising: according to data
Sequence identification successively executes the corresponding operational order of each protocol data.
Data sequence identification refers to the identification information that protocol data carries, for determining each agreement number in test recorded file
According to execute sequence, test terminal can successively execute the corresponding operation of each protocol data according to the sequence that executes of each protocol data
Instruction.For example, specifically, data sequence identification is to test terminal to obtain the timestamp of protocol data, interactive server transmission association
Discuss any one in timestamp of data etc..During interactive server is the corresponding test scene of implementation of test cases,
The server interacted with test terminal.The corresponding operational order of each protocol data refers to the corresponding player's of each protocol data
Role executes technical ability instruction.For example, specifically, operational order can execute technical ability SA1 (skill A1) for role A, role B is held
Row technical ability SB1 etc..
In one embodiment, as shown in fig. 7, according to data sequence identification, the corresponding behaviour of each protocol data is successively executed
It instructs, includes the following steps S702 to step S706.
Step S702 obtains current protocol data according to data sequence identification, current protocol data be have not carried out it is each
In protocol data, sort preceding protocol data.
Wherein, current protocol data refers in each protocol data having not carried out, and sort preceding protocol data, i.e., according to
Data sequence identification, in the protocol data that next frame to be executed.
Step S704 executes the corresponding operational order of current protocol data.
Wherein, the corresponding operational order of current protocol data refers to that the corresponding role of Current protocol executes technical ability instruction.Than
Such as, specifically, operational order, which can execute technical ability SA1, role B for role A, executes technical ability SB1 etc..
Step S706 is returned when the data type of current protocol data is not protocol finishes type according to data sequence
The step of mark, acquisition current protocol data.
The data type of protocol data refers to the attribute of protocol data.For example, specifically, data type includes release technical ability
Protocol type, protocol finishes type etc..Protocol finishes type refers to for determining the data class for terminating to play test recorded file
Type.In each protocol data having not carried out, the protocol data that data type is protocol finishes type will include.
Specifically, test terminal, can be to current protocol data after having executed the corresponding operational order of current protocol data
Data type judged, when the data type of current protocol data is not protocol finishes type, test terminal can return
According to data sequence identification, the step of obtaining current protocol data, continues to obtain current protocol data and execute Current protocol number
According to corresponding operational order.
In one embodiment, after step S704, which further includes the data type in current protocol data
When being protocol finishes type, into the step of being based on test data, determining the test result of project to be tested.
When test terminal goes to the protocol data that data type is protocol finishes type, the protocol data is being executed
Afterwards, it can stop executing protocol data, that is, stop playing test recorded file, test recorded file at this time and finish, test is eventually
Collected test data is to server during end can upload broadcasting test recorded file, so that server be made to be based on test
Data determine the test result of project to be tested.
Step S306 acquires test data corresponding with project to be tested during carrying out the playback of test scene.
Wherein, project to be tested refers to project to be tested corresponding with test case.For example, project to be tested specifically may be used
To be game skill test, system performance testing etc..Test data is corresponding with project to be tested, carries out for treating test item
Analysis and evaluation.For example, corresponding test data can be game skill number when project to be tested is game skill test
According to, game skill effect data etc..When project to be tested is system performance testing, corresponding test data can be agreement number
According to corresponding system performance information.
In one embodiment, step acquires corresponding with project to be tested during carrying out the playback of test scene
Test data, comprising: carry out test scene playback during, by acquire code, acquisition with project pair to be tested
The test data answered.
Acquisition code refers to the code for acquiring test data corresponding with project to be tested, acquires code and test case phase
Corresponding, test case is corresponding with project to be tested.
Specifically, test recorded file is being played, before the playback for carrying out test scene, test terminal can be to be tested soft
In the program code of part, acquisition code corresponding with test case is added, to test recorded file playing, carries out checkout area
It, can be by acquiring code, automatic collection test data corresponding with project to be tested when the playback of scape.
Step S308 is based on test data, determines the test result of project to be tested.
The test result of project to be tested refers to the summarized results based on test data.For example, when project to be tested is trip
When play skills tests, test result specifically can be game skill implementing result and game skill Effect value.
Specifically, server is by summarizing the test data of project to be tested, the test knot of available project to be tested
Fruit.And then analyzed according to the executive condition that the test result of project to be detected treats test item, determine project to be tested
The test result of corresponding test case.
Above-mentioned test method obtains test recorded file, by broadcasting recorded file, carries out the playback of test scene,
During the playback for carrying out test scene, acquire corresponding with project to be tested test data, be based on test data, determination to
The test result of test item.Due to including protocol data in test recorded file, and protocol data is implementation of test cases pair
The protocol data obtained during the test scene answered, by way of playing and testing recorded file, so that it may precisely reduction
Test scene improves the repeatable precision of test.
In one embodiment, step is by playing test recorded file, before the playback for carrying out test scene, the test
Method further include: in the program code of software to be tested, add corresponding with test case acquisition code, test case and to
Test item is corresponding.
Wherein, software to be tested refers to the software that test scene is executed in test terminal.For example, software to be tested is specific
It can be Games Software.The program code of software to be tested refers to the operation code of software to be tested.Acquisition code refers to acquisition
The code of test data corresponding with project to be tested, acquisition code is corresponding with test case, test case and item to be tested
Mesh is corresponding.For example, acquisition code specifically can be for acquire with game skill test corresponding test data code, and
The code etc. of the corresponding test data of system performance testing.
Specifically, test terminal is by adding acquisition corresponding with test case in the program code of software to be tested
The mode of code can test recorded file playing, when carrying out the playback of test scene, by acquiring code, automatic collection
Test data corresponding with project to be tested.
In one embodiment, project to be tested includes game skill test, test data corresponding with project to be tested
It include: game skill data and game skill effect data.
Wherein, game skill test refers to that the technical ability used role in game is tested.For example, game skill is tested
It specifically can be the technical ability that both sides use during fighting to the finish to role A with role B to test.Test data refer to it is to be tested
Project is corresponding, acquired in replayed section in test scene, the data analyzed for treating test item.For example,
Test corresponding test data specifically with game skill and can be the skill data for the technical ability A that role A in test scene is used with
And technical ability effect data.Game skill data refer to that role uses the data of technical ability in game process, for example, game skill number
According to specifically can be the game skill quantity used, game skill type, game skill type includes being displaced, flashing.Game
Technical ability effect data refers to the data for the effect that role is generated in game process using technical ability.For example, game skill effect number
Effect, dizziness effect etc. are injured according to specifically can be game skill.
In one embodiment, project to be tested includes system performance testing, test data corresponding with project to be tested
Including the corresponding system performance information of protocol data, system performance information is to hold during carrying out the playback of test scene
Consumed system data when the corresponding operational order of row protocol data.
Wherein, system performance testing refers in the replayed section for carrying out test scene, and to executing, protocol data is corresponding
The performance of the system of operational order is tested.For example, system performance testing, which specifically can be, executes protocol data pair to system
Consumed system data is tested when the operational order answered.Test data refer to it is corresponding with project to be tested, testing
Data being acquired in the replayed section of scene, being analyzed for treating test item.For example, corresponding with system performance testing
Test data specifically can be the corresponding system performance information of protocol data.System performance information, which refers to, is carrying out test scene
Playback during, execute consumed system data when the corresponding operational order of protocol data.For example, system data is specific
It can be internal storage data, CPU (Central Processing Unit, central processing unit) utilization rate etc. of consumption.
In one embodiment, after step determines the test result of project to be tested, further includes:
When test result does not meet the corresponding expected results of project to be tested, acquisition corresponding with project to be tested is added
After code, test recorded file is replayed, carries out the playback of test scene, and in the process for the playback for carrying out test scene
In, test data corresponding with project to be tested is acquired again, based on collected test data and test result again, positioning
The unsanctioned reason of test result.
Wherein, it is contemplated that result refers to that tester is preset and it is expected after the corresponding test scene of implementation of test cases
The obtained corresponding anticipatory data of project to be tested.For example, the role A that expected results specifically can be tester's setting is executed
Game skill data and game skill effect data when technical ability A.Acquisition code corresponding with project to be tested, which refers to, to carry out
After test data collection, the acquisition code newly increased, for acquiring more test datas, so that test data is more
It is abundant.Terminal is tested after adding acquisition code corresponding with project to be tested, test recorded file is replayed, is surveyed
The playback of examination hall scape can collect richer test data, and then can be based on during the playback of test scene
Richer test data and test result, the unsanctioned reason of assignment test result.
In one embodiment, after step determines the test result of project to be tested, further includes:
When test result does not meet the corresponding expected results of project to be tested, test recorded file is replayed, is carried out
The playback of test scene, and during carrying out the playback of test scene, by way of single-step debug, assignment test result
Do not pass through reason.
Wherein, it is contemplated that result refers to that tester is preset and it is expected after the corresponding test scene of implementation of test cases
The obtained corresponding anticipatory data of project to be tested.For example, the role A that expected results specifically can be tester's setting is executed
Game skill data and game skill effect data when technical ability A.Single-step debug refers in program development, in order to find program
Bug (loophole), a kind of debugging method generallyd use, the process that trace routine executes step by step are found according to the value of variable
The reason of mistake.For example, single-step debug is specifically as follows and treats the program code of test software step by step and debugged, find
Test result does not pass through reason.
In one embodiment, after step determines the test result of project to be tested, further includes:
When test result meets the corresponding expected results of project to be tested, the corresponding test case of project to be tested is determined
Test passes through.
For example, when project to be tested is the service condition of technical ability A of role A, it is contemplated that result refers to that tester is preparatory
The desired expectation injury values to other roles after role A executes technical ability A of setting, test result is that role A is being held
To the actual harm value of other roles after row technical ability A, when the difference between actual harm value and expectation injury values is less than preset
When difference threshold, i.e., it is believed that test result meets expected results, determine that corresponding test case passes through.
In one embodiment, Fig. 8 is the applied environment figure of test method in further embodiment.The test method can answer
For testing under scene as follows: when being tested, tester's design test case tests software to be tested in terminal
The corresponding test scene of implementation of test cases sends Frame Protocol number during implementation of test cases corresponding test scene
According to interactive server, after interactive server summarizes the Frame Protocol data that each test terminal is sent, the Frame Protocol number after summarizing
According to each test terminal is forwarded to, test terminal saves the Frame Protocol data, records test recorded file, when to be measured in test terminal
When examination software has executed test case, records and complete.Server obtains test recorded file from test terminal and saves, and test is eventually
End obtains test recorded file from server, and plays test recorded file, carries out test scene broadcasting, is carrying out test scene
During broadcasting, acquires the corresponding test data of project to be tested and be uploaded to server, project and test case to be tested
Corresponding, server is based on test data, the test result of project to be tested is determined, thus according to the test knot of project to be tested
Fruit obtains the test result of corresponding test case.
In one embodiment, Fig. 9 is flow chart corresponding with the applied environment figure of Fig. 8.The test method can be applied to
The flow chart: tester tests in terminal software to be tested according to test according to the multiple test cases of Project design to be tested
Use-case executes test scene, during executing test scene, by built-in recording module by the agreement in test scene
Information preservation is at replay file, for the subsequent playback for carrying out test scene.Server obtains replay text from test terminal
Part simultaneously saves, and test terminal obtains replay file from server, the data carried according to the protocol data in replay file
Sequence identification successively executes the corresponding operational order of protocol data, is equivalent to the test scene that will be recorded before herein and returns again
It has put one time.During playback, terminal is tested according to project to be tested, corresponding test data is acquired and is uploaded to service
Device, for example when needing to carry out role's skills tests, the relevant data of acquisition technical ability do the automatic test of role's technical ability, when
When needing to carry out system performance testing, the relevant achievement data of acquisition performance.Server can carry out the test data received
Analysis, obtains the test result of project to be tested, and then according to the test result of project to be tested, obtain the execution of test case
As a result.Further, it when test result does not meet the corresponding expected results of project to be tested, that is, has found bug, tests terminal
Test recorded file can be replayed, by way of single-step debug, the unsanctioned reason of assignment test result can also pass through
The mode for adding acquisition code corresponding with project to be tested, acquires more test datas, based on the survey acquired again again
Try data and test result, the unsanctioned reason of assignment test result.
In one embodiment, as shown in Figure 10, the test side in the application is illustrated by a most specifically embodiment
Method.
Below by taking project to be tested is game skill test as an example, the test method in a complete embodiment is provided, is such as schemed
Shown in 10, this method comprises the following steps S1002 to step S1022.
Step S1002 obtains test recorded file, and test recorded file includes protocol data, and protocol data is to execute survey
The protocol data obtained during the corresponding test scene of example on probation, protocol data carry data sequence identification.
In the present embodiment, test recorded file refers to that single innings of game video-recording and playback file, protocol data refer in test terminal
The Frame Protocol data obtained during the corresponding test scene of Games Software implementation of test cases to be tested.Test case refers to
Role A and role B uses the use-case of game skill in fighting to the finish.
Step S1004 adds acquisition code corresponding with test case, test in the program code of software to be tested
Use-case is corresponding with project to be tested.
In the present embodiment, project to be tested refers to game skill test item.
Step S1006 obtains current protocol data according to data sequence identification, and current protocol data has not carried out
In each protocol data, sort preceding protocol data.
Step S1008 executes the corresponding operational order of current protocol data, carries out the playback of test scene.
In the present embodiment, test scene specifically can be the field that role A and role B use game skill in fighting to the finish
Scape.Operational order can execute technical ability SA1, role B for role A and execute technical ability SB1 etc..
Step S1010, during carrying out the playback of test scene, by acquiring code, acquisition and project to be tested
Corresponding test data.
In the present embodiment, test data can be game skill data, game skill effect data etc..Game skill number
According to refer to role in game process use technical ability data, for example, game skill data specifically can be the game skill used
Energy quantity, game skill type, game skill type include being displaced, flashing.Game skill effect data refers to that role is swimming
The data of the effect generated during play using technical ability.For example, game skill effect data specifically can be game skill injury
Effect, dizziness effect etc..
Step S1012 is returned when the data type of current protocol data is not protocol finishes type according to data sequence
The step of mark, acquisition current protocol data.
Step S1014, when the data type of current protocol data is protocol finishes type, into be based on test data,
The step of determining the test result of project to be tested.
Step S1016 is based on test data, determines the test result of project to be tested.
In the present embodiment, test result specifically can be game skill implementing result and game skill Effect value.
Step S1018, when test result does not meet the corresponding expected results of project to be tested, addition and project to be tested
After corresponding acquisition code, test recorded file is replayed, carries out the playback of test scene, and carrying out test scene
During playback, test data corresponding with project to be tested is acquired again, based on collected test data again and is surveyed
Test result, the unsanctioned reason of assignment test result.
Acquisition code corresponding with project to be tested is added, more test datas can be acquired, again so as to base
In the test data and test result that acquire again, the unsanctioned reason of assignment test result.
Step S1020 replays test and records when test result does not meet the corresponding expected results of project to be tested
File carries out the playback of test scene, and during carrying out the playback of test scene, fixed by way of single-step debug
Bit test result does not pass through reason.
In the present embodiment, it is contemplated that the role A that result specifically can be tester's setting executes game skill when technical ability A
It can data and game skill effect data.
Step S1022 determines that project to be tested is corresponding when test result meets the corresponding expected results of project to be tested
Testing case pass through.
In the present embodiment, test result is specifically as follows role A after executing technical ability A to the actual harm value of role B,
When actual harm value and expectation injury values between difference be less than preset difference threshold when, i.e., it is believed that test result meet it is pre-
Phase is as a result, determine that corresponding test case passes through.
Figure 10 is the flow diagram of test method in one embodiment.Although should be understood that the flow chart of Figure 10
In each step successively shown according to the instruction of arrow, but these steps be not the inevitable sequence according to arrow instruction according to
Secondary execution.Unless expressly state otherwise herein, there is no stringent sequences to limit for the execution of these steps, these steps can be with
It executes in other order.Moreover, at least part step in Figure 10 may include multiple sub-steps or multiple stages, this
A little step or stage are not necessarily to execute completion in synchronization, but can execute at different times, this is a little
Step perhaps the stage execution sequence be also not necessarily successively carry out but can be with the sub-step of other steps or other steps
Rapid or the stage at least part executes in turn or alternately.
As shown in figure 11, in one embodiment, provide a kind of test device, the device include: obtain module 1102,
Playback module 1104, acquisition module 1106 and processing module 1108.
Module 1102 is obtained, for obtaining test recorded file, test recorded file includes protocol data, and protocol data is
The protocol data obtained during the corresponding test scene of implementation of test cases.
Wherein, test recorded file refers to the recorded file for playing back test scene, and obtaining module can be from service
Device obtains the test recorded file, and test scene is corresponding during software implementation of test cases to be tested in test terminal
Scene.Built-in recording module can be passed through in the corresponding test scene of implementation of test cases by testing software to be tested in terminal
The protocol data obtained during the corresponding test scene of implementation of test cases is saved into test recorded file.For example, surveying
Examination recorded file specifically can be replay (playback) file.
Protocol data refers in test terminal to be obtained during the corresponding test scene of software implementation of test cases to be tested
The protocol data obtained.For example, protocol data specifically can be the corresponding protocol data of operational order of game player.Test case
Refer to one group of test input, execution condition and the expected results worked out for some special objective, to test some program
Whether path or verification meet some particular demands.
Specifically, protocol data carries data sequence identification, data sequence identification refers to the mark letter that protocol data carries
Breath, for determining, each protocol data executes sequence in test recorded file, and test device can be according to the execution of each protocol data
Sequentially, the corresponding operational order of each protocol data is successively executed, the corresponding operational order of each protocol data refers to game player's
Operational order, exactly because each protocol data is corresponding with operational order, test device can be by executing each protocol data
Corresponding operational order realizes the reduction to test scene.For example, specifically, data sequence identification is that test terminal is assisted
Discuss any one in the timestamp of data, timestamp of interactive server transmission protocol data etc..Interactive server is to execute
During the corresponding test scene of test case, with the server that interacts of test terminal.Test terminal is executing test
During the corresponding test scene of use-case, it can be interacted with interactive server.
Playback module 1104, for carrying out the playback of test scene by playing test recorded file.
Wherein, test scene refers to that the user of simulation is corresponding during using software implementation of test cases to be tested
Scene.For example, test scene specifically can be the scene that role A and role B use game skill in fighting to the finish.Test scene
Playback refers to reappearing test scene in playback module again by playing test recorded file.
In one embodiment, playback module is also used to that it is corresponding successively to execute each protocol data according to data sequence identification
Operational order.
Data sequence identification refers to the identification information that protocol data carries, for determining each agreement number in test recorded file
According to execute sequence, playback module can successively execute the corresponding operation of each protocol data according to the sequence that executes of each protocol data
Instruction.For example, specifically, data sequence identification is to test terminal to obtain the timestamp of protocol data, interactive server transmission association
Discuss any one in timestamp of data etc..During interactive server is the corresponding test scene of implementation of test cases,
The server interacted with test terminal.The corresponding operational order of each protocol data refers to the corresponding player's of each protocol data
Role executes technical ability instruction.For example, specifically, operational order can execute technical ability SA1 (skill A1) for role A, role B is held
Row technical ability SB1 etc..
In one embodiment, playback module is also used to obtain current protocol data according to data sequence identification, current to assist
Discussing data is in each protocol data having not carried out, and sort preceding protocol data, executes the corresponding operation of current protocol data
Instruction is returned when the data type of current protocol data is not protocol finishes type according to data sequence identification, is obtained current
The step of protocol data.
Wherein, current protocol data refers in each protocol data having not carried out, and sort preceding protocol data, i.e., according to
Data sequence identification, in the protocol data that next frame to be executed.The corresponding operational order of current protocol data refers to Current protocol
Corresponding role executes technical ability instruction.For example, specifically, operational order, which can execute technical ability SA1, role B for role A, executes skill
Energy SB1 etc..The data type of protocol data refers to the attribute of protocol data.For example, specifically, data type includes release technical ability
Protocol type, protocol finishes type etc..Protocol finishes type refers to for determining the data class for terminating to play test recorded file
Type.In each protocol data having not carried out, the protocol data that data type is protocol finishes type will include.
Specifically, playback module, can be to current protocol data after having executed the corresponding operational order of current protocol data
Data type judged that, when the data type of current protocol data is not protocol finishes type, playback module can return
The step of executing according to data sequence identification, obtaining current protocol data continues to obtain current protocol data and executes current association
Discuss the corresponding operational order of data.When the data type of current protocol data is protocol finishes type, the agreement is being executed
After data, playback module can stop executing protocol data, that is, stop playing test recorded file, test recorded file at this time and play
It finishes.
Acquisition module 1106, for acquiring corresponding with project to be tested during carrying out the playback of test scene
Test data.
Wherein, project to be tested refers to project to be tested corresponding with test case.For example, project to be tested specifically may be used
To be game skill test, system performance testing etc..Test data is corresponding with project to be tested, carries out for treating test item
Analysis and evaluation.For example, corresponding test data can be game skill number when project to be tested is game skill test
According to, game skill effect data etc..When project to be tested is system performance testing, corresponding test data can be agreement number
According to corresponding system performance information.
In one embodiment, acquisition module is also used to during carrying out the playback of test scene, by acquiring generation
Code acquires test data corresponding with project to be tested.
Acquisition code refers to the code for acquiring test data corresponding with project to be tested, acquires code and test case phase
Corresponding, test case is corresponding with project to be tested.
Specifically, test recorded file is being played, before the playback for carrying out test scene, acquisition module can be to be tested soft
In the program code of part, acquisition code corresponding with test case is added, to test recorded file playing, carries out checkout area
It, can be by acquiring code, automatic collection test data corresponding with project to be tested when the playback of scape.
Processing module 1108 determines the test result of project to be tested for being based on test data.
When playback module goes to the protocol data that data type is protocol finishes type, the protocol data is being executed
Afterwards, it can stop executing protocol data, that is, stop playing test recorded file, test recorded file at this time and finish.Handle mould
Block can start the step of executing based on test data, determining the test result of project to be tested.
The test result of project to be tested refers to the summarized results based on test data.For example, when project to be tested is trip
When play skills tests, test result specifically can be game skill implementing result and game skill Effect value.
Specifically, processing module is by summarizing the test data of project to be tested, the test of available project to be tested
As a result.And then analyzed according to the executive condition that the test result of project to be detected treats test item, determine item to be tested
The test result of the corresponding test case of mesh.
Above-mentioned test device obtains test recorded file, by broadcasting recorded file, carries out the playback of test scene,
During the playback for carrying out test scene, acquire corresponding with project to be tested test data, be based on test data, determination to
The test result of test item.Due to including protocol data in test recorded file, and protocol data is implementation of test cases pair
The protocol data obtained during the test scene answered, by way of playing and testing recorded file, so that it may precisely reduction
Test scene improves the repeatable precision of test.
In one embodiment, acquisition module is also used in the program code of software to be tested, addition and test case
Corresponding acquisition code, test case are corresponding with project to be tested.
Wherein, software to be tested refers to the software that test scene is executed in test terminal.For example, software to be tested is specific
It can be Games Software.The program code of software to be tested refers to the operation code of software to be tested.Acquisition code refers to acquisition
The code of test data corresponding with project to be tested, acquisition code is corresponding with test case, test case and item to be tested
Mesh is corresponding.For example, acquisition code specifically can be for acquire with game skill test corresponding test data code, and
The code etc. of the corresponding test data of system performance testing.
Specifically, acquisition module is by adding acquisition corresponding with test case in the program code of software to be tested
The mode of code can test recorded file playing, when carrying out the playback of test scene, by acquiring code, automatic collection
Test data corresponding with project to be tested.
In one embodiment, acquisition module is also used to not meet the corresponding expected results of project to be tested in test result
When, after adding acquisition code corresponding with project to be tested, test recorded file is replayed, carries out returning for test scene
It puts, and during carrying out the playback of test scene, acquires test data corresponding with project to be tested again, based on again
Collected test data and test result, the unsanctioned reason of assignment test result.
Wherein, it is contemplated that result refers to that tester is preset and it is expected after the corresponding test scene of implementation of test cases
The obtained corresponding anticipatory data of project to be tested.For example, the role A that expected results specifically can be tester's setting is executed
Game skill data and game skill effect data when technical ability A.Acquisition code corresponding with project to be tested, which refers to, to carry out
After test data collection, the acquisition code newly increased, for acquiring more test datas, so that test data is more
It is abundant.Acquisition module replays test recorded file, is surveyed after adding acquisition code corresponding with project to be tested
The playback of examination hall scape can collect richer test data and be transmitted to processing during the playback of test scene
Module, and then processing module can be based on richer test data and test result, the unsanctioned reason of assignment test result.
In one embodiment, test device further includes debugging module, debugging module be used for test result do not meet to
When the corresponding expected results of test item, test recorded file is replayed, carries out the playback of test scene, and tested
During the playback of scene, by way of single-step debug, assignment test result does not pass through reason.
Wherein, it is contemplated that result refers to that tester is preset and it is expected after the corresponding test scene of implementation of test cases
The obtained corresponding anticipatory data of project to be tested.For example, the role A that expected results specifically can be tester's setting is executed
Game skill data and game skill effect data when technical ability A.Single-step debug refers in program development, in order to find program
Bug (loophole), a kind of debugging method generallyd use, the process that trace routine executes step by step are found according to the value of variable
The reason of mistake.For example, single-step debug is specifically as follows and treats the program code of test software step by step and debugged, find
Test result does not pass through reason.
In one embodiment, processing module is also used to meet the corresponding expected results of project to be tested in test result
When, determine that the corresponding testing case of project to be tested passes through.
Figure 12 shows the internal structure chart of computer equipment in one embodiment.The computer equipment specifically can be figure
Terminal 110 (or server 120) in 1.As shown in figure 12, it includes passing through system which, which includes the computer equipment,
Processor, memory, network interface, input unit and the display screen of bus connection.Wherein, memory includes non-volatile memories
Medium and built-in storage.The non-volatile memory medium of the computer equipment is stored with operating system, can also be stored with computer
Program when the computer program is executed by processor, may make processor to realize test method.It can also be stored in the built-in storage
There is computer program, when which is executed by processor, processor may make to execute test method.Computer equipment
Display screen can be liquid crystal display or electric ink display screen, and the input unit of computer equipment can be to be covered on display screen
The touch layer of lid is also possible to the key being arranged on computer equipment shell, trace ball or Trackpad, can also be external key
Disk, Trackpad or mouse etc..
It will be understood by those skilled in the art that structure shown in Figure 12, only part relevant to application scheme
The block diagram of structure, does not constitute the restriction for the computer equipment being applied thereon to application scheme, and specific computer is set
Standby may include perhaps combining certain components or with different component layouts than more or fewer components as shown in the figure.
In one embodiment, test device provided by the present application can be implemented as a kind of form of computer program, meter
Calculation machine program can be run in computer equipment as shown in figure 12.It can be stored in the memory of computer equipment and form the test
Each program module of device, for example, acquisition module, playback module, acquisition module and processing module shown in Figure 11.Each journey
The computer program of sequence module composition makes processor execute the test side of each embodiment of the application described in this specification
Step in method.
For example, computer equipment shown in Figure 12 can be executed by the acquisition module in test device as shown in figure 11
Step obtains test recorded file.Computer equipment can execute step by playback module and test recorded file by playing, into
The playback of row test scene.Computer equipment can execute step in the process for the playback for carrying out test scene by acquisition module
In, acquire test data corresponding with project to be tested.Computer equipment can be executed step by processing module and be based on test number
According to determining the test result of project to be tested.
In one embodiment, a kind of computer equipment, including memory and processor are provided, memory is stored with meter
Calculation machine program, when computer program is executed by processor, so that the step of processor executes above-mentioned test method.Test side herein
The step of method, can be the step in the test method of above-mentioned each embodiment.
In one embodiment, a kind of computer readable storage medium is provided, computer program, computer journey are stored with
When sequence is executed by processor, so that the step of processor executes above-mentioned test method.The step of test method can be herein
State the step in the test method of each embodiment.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the program can be stored in a non-volatile computer and can be read
In storage medium, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, provided herein
Each embodiment used in any reference to memory, storage, database or other media, may each comprise non-volatile
And/or volatile memory.Nonvolatile memory may include that read-only memory (ROM), programming ROM (PROM), electricity can be compiled
Journey ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include random access memory
(RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms, such as static state RAM
(SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhanced SDRAM
(ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) directly RAM (RDRAM), straight
Connect memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
Each technical characteristic of above embodiments can be combined arbitrarily, for simplicity of description, not to above-described embodiment
In each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics be not present lance
Shield all should be considered as described in this specification.
The several embodiments of the application above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously
The limitation to the application the scope of the patents therefore cannot be interpreted as.It should be pointed out that for those of ordinary skill in the art
For, without departing from the concept of this application, various modifications and improvements can be made, these belong to the guarantor of the application
Protect range.Therefore, the scope of protection shall be subject to the appended claims for the application patent.
Claims (15)
1. a kind of test method, comprising:
Test recorded file is obtained, the test recorded file includes protocol data, and the protocol data is implementation of test cases
The protocol data obtained during corresponding test scene;
By playing the test recorded file, the playback of test scene is carried out;
During carrying out the playback of the test scene, test data corresponding with project to be tested is acquired;
Based on the test data, the test result of the project to be tested is determined.
2. the method according to claim 1, wherein the protocol data carries data sequence identification.
3. according to the method described in claim 2, it is characterized in that, further including any one in following two:
The data sequence identification is the timestamp for obtaining the protocol data;
The data sequence identification is the timestamp that interactive server sends the protocol data, and the interactive server is to execute
During the test case, with the server that interacts of test terminal.
4. according to the method described in claim 2, being surveyed it is characterized in that, described by playing the test recorded file
The playback of examination hall scape, comprising:
According to the data sequence identification, the corresponding operational order of each protocol data is successively executed.
5. according to the method described in claim 4, successively execution is each it is characterized in that, described according to the data sequence identification
The corresponding operational order of protocol data, comprising:
According to the data sequence identification, current protocol data is obtained, the current protocol data is each agreement having not carried out
In data, sort preceding protocol data;
Execute the corresponding operational order of the current protocol data;
When the data type of the current protocol data is not protocol finishes type, return according to the data sequence identification,
The step of obtaining current protocol data.
6. according to the method described in claim 5, it is characterized in that, the data type in the current protocol data is to terminate association
When discussing type, into the step of being based on the test data, determining the test result of the project to be tested.
7. the method according to claim 1, wherein it is described obtain test recorded file after, pass through broadcasting
The test recorded file before the playback for carrying out test scene, further comprises the steps of: in the program code of software to be tested,
Acquisition code corresponding with the test case is added, the test case is corresponding with the project to be tested;
It is described during carrying out the playback of the test scene, acquire test data corresponding with project to be tested, comprising:
During carrying out the playback of the test scene, by the acquisition code, acquire corresponding with the project to be tested
Test data.
8. the method according to claim 1, wherein the project to be tested include game skill test, it is described
Test data corresponding with project to be tested includes: game skill data and game skill effect data.
9. described the method according to claim 1, wherein the project to be tested includes system performance testing
Test data corresponding with project to be tested includes the corresponding system performance information of protocol data, the system performance information be
During the playback for carrying out the test scene, consumed system number when the corresponding operational order of the protocol data is executed
According to.
10. the method according to claim 1, wherein the test result of the determination project to be tested it
Afterwards, it further comprises the steps of:
When the test result does not meet the corresponding expected results of the project to be tested, addition and the project pair to be tested
After the acquisition code answered, the test recorded file is replayed, carries out the playback of test scene, and carrying out test scene
Playback during, acquire corresponding with project to be tested test data again, based on collected test data again and
The test result, the unsanctioned reason of assignment test result.
11. the method according to claim 1, wherein the test result of the determination project to be tested it
Afterwards, it further comprises the steps of:
When the test result does not meet the corresponding expected results of the project to be tested, replays the test and record text
Part carries out the playback of test scene, and during carrying out the playback of test scene, by way of single-step debug, positioning
Test result does not pass through reason.
12. the method according to claim 1, wherein the test result of the determination project to be tested it
Afterwards, it further comprises the steps of:
When the test result meets the corresponding expected results of the project to be tested, determine that the project to be tested is corresponding
Testing case passes through.
13. a kind of test device, which is characterized in that described device includes:
Module is obtained, for obtaining test recorded file, the test recorded file includes protocol data, and the protocol data is
The protocol data obtained during the corresponding test scene of implementation of test cases;
Playback module, for carrying out the playback of test scene by playing the test recorded file;
Acquisition module, for acquiring test corresponding with project to be tested during carrying out the playback of the test scene
Data;
Processing module determines the test result of the project to be tested for being based on the test data.
14. a kind of computer readable storage medium is stored with computer program, when the computer program is executed by processor,
So that the processor is executed such as the step of any one of claims 1 to 12 the method.
15. a kind of computer equipment, including memory and processor, the memory is stored with computer program, the calculating
When machine program is executed by the processor, so that the processor is executed such as any one of claims 1 to 12 the method
Step.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910533168.1A CN110221983B (en) | 2019-06-19 | 2019-06-19 | Test method, test device, computer readable storage medium and computer equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910533168.1A CN110221983B (en) | 2019-06-19 | 2019-06-19 | Test method, test device, computer readable storage medium and computer equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110221983A true CN110221983A (en) | 2019-09-10 |
CN110221983B CN110221983B (en) | 2024-01-16 |
Family
ID=67813976
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910533168.1A Active CN110221983B (en) | 2019-06-19 | 2019-06-19 | Test method, test device, computer readable storage medium and computer equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110221983B (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111061631A (en) * | 2019-11-29 | 2020-04-24 | 珠海金山网络游戏科技有限公司 | Mobile terminal game retest method and system |
CN111708704A (en) * | 2020-06-19 | 2020-09-25 | 腾讯科技(深圳)有限公司 | Cloud real machine testing method and device, terminal and storage medium |
CN112100052A (en) * | 2020-08-07 | 2020-12-18 | 北京奇艺世纪科技有限公司 | Interface test scene playback method and device |
CN112153374A (en) * | 2020-09-25 | 2020-12-29 | 腾讯科技(深圳)有限公司 | Method, device and equipment for testing video frame image and computer storage medium |
CN112559361A (en) * | 2020-12-22 | 2021-03-26 | 京东数字科技控股股份有限公司 | Flow playback method, device, equipment and computer readable medium |
CN112925725A (en) * | 2021-04-09 | 2021-06-08 | 网易(杭州)网络有限公司 | Data testing method and device, readable storage medium and electronic equipment |
CN112988552A (en) * | 2019-12-12 | 2021-06-18 | 腾讯科技(深圳)有限公司 | Application program testing method, device, equipment and storage medium |
CN113628611A (en) * | 2020-05-07 | 2021-11-09 | 阿里巴巴集团控股有限公司 | Voice service test system, method, device and equipment |
CN113794602A (en) * | 2021-08-20 | 2021-12-14 | 海南视联大健康智慧医疗科技有限公司 | Equipment testing method and device, terminal equipment and storage medium |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101620564A (en) * | 2008-06-30 | 2010-01-06 | 福建升腾资讯有限公司 | Method for automatically testing recording playback mode of terminal system |
CN102609341A (en) * | 2011-07-08 | 2012-07-25 | 李康 | Hardware equipment automation testing system and testing method thereof |
US20140295926A1 (en) * | 2013-04-01 | 2014-10-02 | Tencent Technology (Shenzhen) Company Limited | Method and apparatus for testing game data |
WO2014169565A1 (en) * | 2013-08-21 | 2014-10-23 | 中兴通讯股份有限公司 | Terminal testing method and device |
CN105335283A (en) * | 2014-08-01 | 2016-02-17 | 阿里巴巴集团控股有限公司 | Application testing method and device in terminal equipment |
CN105512031A (en) * | 2015-11-30 | 2016-04-20 | 惠州Tcl移动通信有限公司 | Mobile terminal and automatic test method |
CN106776323A (en) * | 2016-12-17 | 2017-05-31 | 广州酷狗计算机科技有限公司 | Application testing method and device |
CN107025165A (en) * | 2017-03-07 | 2017-08-08 | 腾讯科技(深圳)有限公司 | Game automated testing method and relevant apparatus |
CN107678970A (en) * | 2017-10-20 | 2018-02-09 | 网易(杭州)网络有限公司 | Automated testing method and device, storage medium, electronic equipment |
CN109144856A (en) * | 2018-07-27 | 2019-01-04 | 北京皮尔布莱尼软件有限公司 | A kind of UI automated testing method calculates equipment and storage medium |
CN109871326A (en) * | 2019-02-13 | 2019-06-11 | 广州云测信息技术有限公司 | A kind of method and apparatus that script is recorded |
CN109885477A (en) * | 2018-12-24 | 2019-06-14 | 苏州蜗牛数字科技股份有限公司 | A kind of game automated testing method |
-
2019
- 2019-06-19 CN CN201910533168.1A patent/CN110221983B/en active Active
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101620564A (en) * | 2008-06-30 | 2010-01-06 | 福建升腾资讯有限公司 | Method for automatically testing recording playback mode of terminal system |
CN102609341A (en) * | 2011-07-08 | 2012-07-25 | 李康 | Hardware equipment automation testing system and testing method thereof |
US20140295926A1 (en) * | 2013-04-01 | 2014-10-02 | Tencent Technology (Shenzhen) Company Limited | Method and apparatus for testing game data |
WO2014169565A1 (en) * | 2013-08-21 | 2014-10-23 | 中兴通讯股份有限公司 | Terminal testing method and device |
CN105335283A (en) * | 2014-08-01 | 2016-02-17 | 阿里巴巴集团控股有限公司 | Application testing method and device in terminal equipment |
CN105512031A (en) * | 2015-11-30 | 2016-04-20 | 惠州Tcl移动通信有限公司 | Mobile terminal and automatic test method |
CN106776323A (en) * | 2016-12-17 | 2017-05-31 | 广州酷狗计算机科技有限公司 | Application testing method and device |
CN107025165A (en) * | 2017-03-07 | 2017-08-08 | 腾讯科技(深圳)有限公司 | Game automated testing method and relevant apparatus |
CN107678970A (en) * | 2017-10-20 | 2018-02-09 | 网易(杭州)网络有限公司 | Automated testing method and device, storage medium, electronic equipment |
CN109144856A (en) * | 2018-07-27 | 2019-01-04 | 北京皮尔布莱尼软件有限公司 | A kind of UI automated testing method calculates equipment and storage medium |
CN109885477A (en) * | 2018-12-24 | 2019-06-14 | 苏州蜗牛数字科技股份有限公司 | A kind of game automated testing method |
CN109871326A (en) * | 2019-02-13 | 2019-06-11 | 广州云测信息技术有限公司 | A kind of method and apparatus that script is recorded |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111061631A (en) * | 2019-11-29 | 2020-04-24 | 珠海金山网络游戏科技有限公司 | Mobile terminal game retest method and system |
CN112988552A (en) * | 2019-12-12 | 2021-06-18 | 腾讯科技(深圳)有限公司 | Application program testing method, device, equipment and storage medium |
CN112988552B (en) * | 2019-12-12 | 2023-06-30 | 腾讯科技(深圳)有限公司 | Application program testing method, device, equipment and storage medium |
CN113628611A (en) * | 2020-05-07 | 2021-11-09 | 阿里巴巴集团控股有限公司 | Voice service test system, method, device and equipment |
CN111708704A (en) * | 2020-06-19 | 2020-09-25 | 腾讯科技(深圳)有限公司 | Cloud real machine testing method and device, terminal and storage medium |
CN112100052A (en) * | 2020-08-07 | 2020-12-18 | 北京奇艺世纪科技有限公司 | Interface test scene playback method and device |
CN112100052B (en) * | 2020-08-07 | 2023-08-18 | 北京奇艺世纪科技有限公司 | Playback method and device of interface test scene |
CN112153374A (en) * | 2020-09-25 | 2020-12-29 | 腾讯科技(深圳)有限公司 | Method, device and equipment for testing video frame image and computer storage medium |
CN112559361A (en) * | 2020-12-22 | 2021-03-26 | 京东数字科技控股股份有限公司 | Flow playback method, device, equipment and computer readable medium |
CN112925725A (en) * | 2021-04-09 | 2021-06-08 | 网易(杭州)网络有限公司 | Data testing method and device, readable storage medium and electronic equipment |
CN112925725B (en) * | 2021-04-09 | 2024-03-15 | 网易(杭州)网络有限公司 | Data testing method and device, readable storage medium and electronic equipment |
CN113794602A (en) * | 2021-08-20 | 2021-12-14 | 海南视联大健康智慧医疗科技有限公司 | Equipment testing method and device, terminal equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN110221983B (en) | 2024-01-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110221983A (en) | Test method, device, computer readable storage medium and computer equipment | |
US9465718B2 (en) | Filter generation for load testing managed environments | |
US10162742B2 (en) | System and method for end to end performance response time measurement based on graphic recognition | |
US8271252B2 (en) | Automatic verification of device models | |
CN115841089A (en) | System-on-chip verification platform and verification method based on UVM | |
CN110196801B (en) | Code coverage rate based test method and device | |
CN110134795A (en) | Generate method, apparatus, computer equipment and the storage medium of validation problem group | |
CN103678115B (en) | The apparatus and method of the position of source code mistake are detected in mixed mode program | |
CN1987820A (en) | Method and system for tracing program execution in field programmable gate arrays | |
Iqbal et al. | Combining search-based and adaptive random testing strategies for environment model-based testing of real-time embedded systems | |
CN109101412B (en) | Test file generation method, test file generation device, test file testing method, test file testing device, storage medium and computer equipment | |
CN115510804A (en) | Full-chip pin multiplexing automatic verification method, device, equipment and storage medium | |
Saff et al. | Mock object creation for test factoring | |
CN116775442A (en) | Software debugging system | |
CN109783837A (en) | Emulator, analogue system, emulation mode and simulated program | |
US8997048B1 (en) | Method and apparatus for profiling a virtual machine | |
CN108021495B (en) | Code debugging method based on playback | |
CN111708712A (en) | User behavior test case generation method, flow playback method and electronic equipment | |
CN113485919B (en) | Test method, test device, and computer-readable storage medium | |
CN108763039B (en) | Service fault simulation method, device and equipment | |
CN112087347A (en) | Game server testing method and system | |
CN111984526A (en) | Android hand-trip test method and system | |
CN112015648A (en) | Test method, device, computer equipment and medium based on automation script | |
CN112612698A (en) | Application program crash test method and related product | |
US9400858B1 (en) | Virtual verification machine for a hardware based verification platform |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |