CN109359027A - Monkey test method, device, electronic equipment and computer readable storage medium - Google Patents
Monkey test method, device, electronic equipment and computer readable storage medium Download PDFInfo
- Publication number
- CN109359027A CN109359027A CN201810931208.3A CN201810931208A CN109359027A CN 109359027 A CN109359027 A CN 109359027A CN 201810931208 A CN201810931208 A CN 201810931208A CN 109359027 A CN109359027 A CN 109359027A
- Authority
- CN
- China
- Prior art keywords
- measured
- test
- target
- configured list
- electronic equipment
- 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
-
- 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/3692—Test management for test results analysis
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
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)
- Debugging And Monitoring (AREA)
Abstract
The present invention provides a kind of Monkey test method, device, electronic equipment and computer readable storage medium.The Monkey test method includes: to parse the test assignment after receiving test assignment to determine object to be measured;Configured list is obtained from configuration database, record has shielding object in the configured list;The object to be measured is matched with all shielding objects in the configured list, with the determination object to be measured whether in the configured list;When the object to be measured is not in the configured list, the object to be measured is tested;When the object to be measured is in the configured list, the object to be measured is skipped.The present invention is able to achieve the intelligent control to Monkey test, for different matching results, implement different countermeasures, the object to be measured is tested, to realize to the purpose for being not required to target progress automatic shield to be tested, not only it has saved the testing time, but also has reduced power consumption when test, test performance is effectively ensured.
Description
Technical field
The present invention relates to intelligent measuring technology field more particularly to a kind of Monkey test method, device, electronic equipment and
Computer readable storage medium.
Background technique
In prior art, when carrying out Monkey test, the whole for being included to entire test event is generally required
Content is tested, and can not skip some control or webpage continues to test, therefore, when not only consuming more tests
Between, testing efficiency is reduced, the operation for returning electronic equipment causes centainly to bear, and test effect is bad.
Summary of the invention
In view of the foregoing, it is necessary to a kind of Monkey test method, device, electronic equipment are provided and computer-readable deposited
Object to be measured and configured list can be matched, obtain matching result by storage media, so that it is directed to different matching results,
Implement different countermeasures, i.e., according to the matching result, the object to be measured is tested, to realize to not needing
The target of test carries out the purpose of automatic shield, has not only saved the testing time, but also reduce power consumption when test, survey is effectively ensured
Try performance.
A kind of Monkey test method, which comprises
After receiving test assignment, the test assignment is parsed to determine object to be measured;
Configured list is obtained from configuration database, record has shielding object in the configured list;
The object to be measured is matched with all shielding objects in the configured list, with the determination mesh to be measured
Whether mark is in the configured list;
When the object to be measured is not in the configured list, the object to be measured is tested;
When the object to be measured is in the configured list, the object to be measured is skipped.
Preferred embodiment according to the present invention, it is described after receiving test assignment, parse the test assignment with determine to
Survey the combination that target includes following one or more:
The access times for obtaining all targets in the test assignment, by the access times of all targets according to by more
It is ranked up to few sequence, and the target to rank the first is determined as the object to be measured;And/or
The error rate for obtaining all targets in the test assignment, by the error rate of all targets according to descending
Sequence be ranked up, and the target to rank the first is determined as the object to be measured;And/or
It obtains the associated objects of a upper test target in the test assignment, and the associated objects is determined as described
Object to be measured;And/or
The current test module in the test assignment is obtained, and obtains the current test mould from all targets
The corresponding target of block, and the object to be measured is determined from the corresponding target according to configuration rule, wherein the current survey
The corresponding a kind of user group of die trial block.
Preferred embodiment according to the present invention, before obtaining configured list, the method also includes:
The configuration data for receiving user's input configures the configured list according to the configuration data;And/or
History configuration record is obtained from specified database, and record is configured according to the history and configures the configured list.
Preferred embodiment according to the present invention, it is described when the object to be measured is in the configured list, skip it is described to
It surveys target and includes any of the following mode:
When the object to be measured is webpage, the webpage is prevented to pop up;Or
When the object to be measured is control, the control is prevented to execute.
Preferred embodiment according to the present invention, the method also includes:
Record the test data of the test log and test result of the object to be measured as the object to be measured.
Preferred embodiment according to the present invention, the test log and test result that record the object to be measured as it is described to
After surveying the test data of target, the method also includes:
When there are when error identification, determine that the object to be measured is wrong in the test log of the object to be measured;
The test data of the object to be measured is sent to designated person.
A kind of Monkey test device, described device include:
Determination unit, for after receiving test assignment, parsing the test assignment to determine object to be measured;
Acquiring unit, for obtaining configured list from configuration database, record has shielding object in the configured list;
Matching unit, for the object to be measured to be matched with all shielding objects in the configured list, with
Determine the object to be measured whether in the configured list;
Test cell, for testing the object to be measured when the object to be measured is not in the configured list;
Unit is skipped, for skipping the object to be measured when the object to be measured is in the configured list.
Preferred embodiment according to the present invention, the determination unit parse the test assignment after receiving test assignment
To determine that object to be measured includes the combination of following one or more:
The access times for obtaining all targets in the test assignment, by the access times of all targets according to by more
It is ranked up to few sequence, and the target to rank the first is determined as the object to be measured;And/or
The error rate for obtaining all targets in the test assignment, by the error rate of all targets according to descending
Sequence be ranked up, and the target to rank the first is determined as the object to be measured;And/or
It obtains the associated objects of a upper test target in the test assignment, and the associated objects is determined as described
Object to be measured;And/or
The current test module in the test assignment is obtained, and obtains the current test mould from all targets
The corresponding target of block, and the object to be measured is determined from the corresponding target according to configuration rule, wherein the current survey
The corresponding a kind of user group of die trial block.
Preferred embodiment according to the present invention, described device further include:
Receiving unit, for receiving the configuration data of user's input before obtaining configured list;
Configuration unit, for configuring the configured list according to the configuration data;And/or
The acquiring unit is also used to obtain history configuration record from specified database;
The configuration unit is also used to configure the record configuration configured list according to the history.
Preferred embodiment according to the present invention, described when the object to be measured is in the configured list, test cell is jumped
It crosses the object to be measured and includes any of the following mode:
When the object to be measured is webpage, the webpage is prevented to pop up;Or
When the object to be measured is control, the control is prevented to execute.
Preferred embodiment according to the present invention, described device further include:
Recording unit, for recording the survey of the test log and test result of the object to be measured as the object to be measured
Try data.
Preferred embodiment according to the present invention, the determination unit are also used in the test log for recording the object to be measured
And after test data of the test result as the object to be measured, when there are error identifications in the test log of the object to be measured
When, determine that the object to be measured is wrong;
Described device further include:
Transmission unit, for the test data of the object to be measured to be sent to designated person.
A kind of electronic equipment, the electronic equipment include:
Memory stores at least one instruction;And
Processor executes the instruction stored in the memory to realize the Monkey test method.
A kind of computer readable storage medium is stored at least one instruction, institute in the computer readable storage medium
At least one instruction is stated to be executed by the processor in electronic equipment to realize the Monkey test method.
As can be seen from the above technical solutions, the present invention can match object to be measured and configured list, obtain
With as a result, implement different countermeasures to be directed to different matching results, i.e., according to the matching result, to it is described to
It surveys target to be tested, to realize to the purpose for being not required to target progress automatic shield to be tested, has both saved the testing time,
Reduce power consumption when test again, test performance is effectively ensured.
Detailed description of the invention
Fig. 1 is the flow chart of the preferred embodiment of Monkey test method of the present invention.
Fig. 2 is the functional block diagram of the preferred embodiment of Monkey test device of the present invention.
Fig. 3 is the structural schematic diagram of the electronic equipment for the preferred embodiment that the present invention realizes Monkey test method.
Main element symbol description
Electronic equipment | 1 |
Memory | 12 |
Processor | 13 |
Monkey test device | 11 |
Determination unit | 110 |
Acquiring unit | 111 |
Matching unit | 112 |
Test cell | 113 |
Receiving unit | 114 |
Configuration unit | 115 |
Recording unit | 116 |
Transmission unit | 117 |
Skip unit | 118 |
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, right in the following with reference to the drawings and specific embodiments
The present invention is described in detail.
As shown in Figure 1, being the flow chart of the preferred embodiment of Monkey test method of the present invention.According to different requirements,
The sequence of step can change in the flow chart, and certain steps can be omitted.
The Monkey test method is applied in one or more electronic equipment, and the electronic equipment is that one kind can
According to the instruction for being previously set or storing, the automatic equipment for carrying out numerical value calculating and/or information processing, hardware includes but unlimited
In microprocessor, specific integrated circuit (Application Specific Integrated Circuit, ASIC), may be programmed
Gate array (Field-Programmable Gate Array, FPGA), digital processing unit (Digital Signal
Processor, DSP), embedded device etc..
The electronic equipment can be any electronic product that human-computer interaction can be carried out with user, for example, personal meter
Calculation machine, tablet computer, smart phone, personal digital assistant (Personal Digital Assistant, PDA), game machine, friendship
Mutual formula Web TV (Internet Protocol Television, IPTV), intellectual wearable device etc..
The electronic equipment can also include the network equipment and/or user equipment.Wherein, the network equipment includes, but
It is not limited to single network server, the server group of multiple network servers composition or based on cloud computing (Cloud
Computing the cloud being made of a large amount of hosts or network server).
Network locating for the electronic equipment include but is not limited to internet, wide area network, Metropolitan Area Network (MAN), local area network, it is virtual specially
With network (Virtual Private Network, VPN) etc..
S10, the electronic equipment parse the test assignment after receiving test assignment to determine object to be measured.
In at least one embodiment of the present invention, it when carrying out Monkey test, generally requires to entire test event
The full content for being included is tested, and can not skip some control or webpage continues to test, and therefore, not only to be disappeared
More testing times are consumed, testing efficiency is reduced, the operation for returning electronic equipment causes centainly to bear, and test effect is bad.
In at least one embodiment of the present invention, after receiving test assignment, will include in the test assignment
At least one test target, the electronic equipment determine the object to be measured from least one described test target.
Such as: the test assignment may include the test for a Webpage, in the testing for electrical equipment institute
When stating Webpage, due to including at least one test target (such as: each control on webpage) in the Webpage, because
This, the electronic equipment can determine the object to be measured from each control.
Specifically, the electronic equipment receives test assignment and includes, but are not limited to any one following form:
(1) electronic equipment receives the test instruction of user's input, and thereby determines that and receive test assignment.
(2) electronic equipment receives the test assignment that automated system operation generates, and thereby determines that receiving test appoints
Business.
By above embodiment, the electronic equipment is ready to receive to arrive the test assignment, and further from the survey
The object to be measured is determined in trial business.
Preferably, described after receiving test assignment, the electronic equipment determine object to be measured include, but are not limited to
The combination of lower one or more:
(1) electronic equipment obtains the access times of all targets in the test assignment, by all targets
Access times are ranked up according to sequence from more to less, and the target to rank the first is determined as described to be measured by the electronic equipment
Target.
Such as: all targets in the test assignment that the electronic equipment is got include: target A, target B and mesh
C is marked, moreover, the electronic equipment is by the access times of the access times of the target A, the target B and the target C
After access times are ranked up according to sequence from more to less, the access times for obtaining the target A make greater than the target B
With number, and the access times of the target B are greater than the access times of the target C, then the electronic equipment is by the target A
It is determined as the object to be measured.
It is understood that the frequency of use due to some targets is very low, user is almost taken less than, therefore test prioritization
Relatively low, by above embodiment, the electronic equipment it is higher can to filter out frequency of use from all targets
Target is as the object to be measured.
(2) electronic equipment obtains the error rate of all targets in the test assignment, by the mistake of all targets
Accidentally rate is ranked up according to descending sequence, and the target to rank the first is determined as the mesh to be measured by the electronic equipment
Mark.
Such as: the electronic equipment get all targets in the test assignment include: target A, target B and
Target C, moreover, the electronic equipment is by the mistake of the error rate of the error rate of the target A, the target B and the target C
After accidentally rate is ranked up according to sequence from more to less, the error rate for obtaining the target A is greater than the error rate of the target B,
And the error rate of the target B is greater than the error rate of the target C, then the target A is determined as institute by the electronic equipment
State object to be measured.
It is understood that since the error rate of some targets is very low or do not malfunction, test prioritization
Lower, by above embodiment, the electronic equipment can filter out the higher mesh of the rate of making mistake from all targets
It is denoted as the object to be measured.
(3) electronic equipment obtains the associated objects of a upper test target in the test assignment, and by the pass
Connection target is determined as the object to be measured.
Such as: the upper test target that the electronic equipment is got is the target B, and the association of the target B
Target is the target A, then the target A is determined as the object to be measured by the electronic equipment.
It is understood that due to being to be mutually related between some test targets, when the survey for having executed a test target
After examination event, the test event of associated test target will be continued to execute, therefore, by above embodiment, the electronics is set
It is standby the associated objects of a upper test target to be directly determined as the object to be measured, avoid complicated screening process.
(4) electronic equipment obtains the current test module in the test assignment, and obtains from all targets
The corresponding target of the current test module is taken, the electronic equipment determines institute according to configuration rule from the corresponding target
State object to be measured, wherein the corresponding a kind of user group of current test module.
Specifically, a test item may include multiple test modules, and each test module corresponds to different user groups
In body, such as a financial class network address, enterprise customer's module for thering is personal user's module of personal use, enterprise to use.It is surveying
When examination, a module can be only tested.
Such as: if it is W that the electronic equipment, which gets current test module, the electronic equipment obtains described current
The corresponding target of test module W, and can according to the rule of above-mentioned (1)-(3), determined from the corresponding target it is described to
Survey target.
It is understood that due to need to only correspond to the partial target in one test item of test in a test module,
Therefore, by above embodiment, the electronic equipment can be determined directly from the corresponding target according to configuration rule
The object to be measured.
In the above manner, the electronic equipment both can influence the efficiency tested to avoid due to extra test job,
The cost of test can be saved again.
S11, the electronic equipment obtain configured list from configuration database, and record has shielding pair in the configured list
As.
It should be noted that the configured list is that is, a test blacklist, is stored in the configured list
Target do not need to be tested.
Specifically, the title or mark of all targets be can store in the configured list, convenient for it is subsequent will it is described to
Target is surveyed to be matched with the target in the configured list.
Preferably, before the electronic equipment obtains configured list, the method also includes:
(1) electronic equipment receives the configuration data of user's input, configures the configuration according to the configuration data and arranges
Table.
Specifically, the configuration data includes the data of user's input, such as: do not need the target tested
Title or mark etc..
By above embodiment, the electronic equipment can configure the configured list according to the actual demand of user,
To allow user to custom-configure.
(2) electronic equipment obtains history configuration record from specified database, is matched according to history configuration record
Set the configured list.
Specifically, all history configuration records are stored in the specified database, the present invention is to the specified database
With no restrictions.
By above embodiment, the electronic equipment can configure record according to the history and configure the configuration column
Table reduces human intervention, and accuracy is higher.
It should be noted that the electronic equipment can be by institute after the electronic equipment configures the configured list
Configured list to be stated to be stored in the configuration database, the configuration database can be the database of the electronic equipment, or
Person is the database etc. communicated with the electronic equipment, and the present invention does not limit herein.
S12, the electronic equipment match the object to be measured with all shielding objects in the configured list,
With the determination object to be measured whether in the configured list.
Specifically, the electronic equipment matches the object to be measured with the configured list, in order to subsequent
Determine whether to be tested according to the matching result.
Specifically, the electronic equipment can be matched according to the title of the object to be measured with the configured list,
It is either matched according to the mark of the object to be measured with the configured list, the present invention does not limit.
Further, matching result may include:
The object to be measured is not in the configured list and the object to be measured is in the configured list.
For different matching results, the electronic equipment will also have different countermeasures, will specifically carry out later
It elaborates.
S13, when the object to be measured is not in the configured list, object to be measured described in the testing for electrical equipment.
It should be noted that the response mode that different matching results is different by correspondence, that is to say, that the electronic equipment
It will determine whether to test the object to be measured according to different matching results, specifically be described below.
S14, when the object to be measured is in the configured list, the electronic equipment skips the object to be measured.
It is understood that since the target in the configured list does not need to be tested, when it is described to
When surveying target not in the configured list, the electronic equipment can carry out the test of conventional steps to the object to be measured,
Either, when the object to be measured is in the configured list, the electronic equipment can skip the object to be measured, go forward side by side
The acquisition of the next test target of row.
By above embodiment, the electronic equipment can be realized and carry out automatic shield to being not required to target to be tested
Purpose has not only been saved the testing time, but also reduces power consumption when test, and test performance is effectively ensured.
Preferably, described when the object to be measured is in the configured list, the electronic equipment is skipped described to be measured
Target includes, but are not limited to any one following mode:
(1) when the object to be measured is webpage, the electronic equipment prevents the webpage pop-up.
Such as: when test is realizes based on Acitivity, the electronic equipment obtains the page D currently needed to be traversed for,
Configured list described in the electronic equipment poll, if returning to false there are the page D in the configured list,
ActivityController would not allow for traversing the page D;If the page D is not present in the configured list, return
True is returned, ActivityController will allow to traverse the page D.
(2) when the object to be measured is control, the electronic equipment prevents the control from executing.
Such as: when test is realizes based on control, obtain current page D's by accessibility
AccessibilityNodeInfo, wherein AccessibilityNodeInfo includes all control informations of the page D,
Configured list described in the electronic equipment poll is not injected into the point of the control E if there are control E in the configured list
Hit event;If the control E is not present in the configured list, the click event of the control E is injected.
By above embodiment, the electronic equipment can effectively mask the webpage for not needing to be tested or control
Part improves power of test.
Preferably, to be measured described in the testing for electrical equipment when the object to be measured is not in the configured list
After target, the method also includes:
The electronic equipment records the survey of the test log and test result of the object to be measured as the object to be measured
Try data.
By above embodiment, the electronic equipment can record the test data in time, and can be by the survey
Examination data are saved into specified database, are convenient for subsequent use.
Specifically, the specified database may include, but be not limited to: the local data base of the electronic equipment, or
It is the database etc. communicated with the electronic equipment.
It is understood that when the specified database be local data base when, the electronic equipment can quickly from
The test data is read in the specified database, reading speed is more dominant.
And when the specified database is the database communicated with the electronic equipment, the electronics can be saved and set
Standby memory space, to ensure that the service ability of the electronic equipment.
Preferably, the test number in the test log and test result for recording the object to be measured as the object to be measured
According to rear, the method also includes:
When, there are when error identification, the electronic equipment determines the object to be measured in the test log of the object to be measured
It is wrong, and the test data of the object to be measured is sent to designated person.
Specifically, the designated person includes, but are not limited to the combination of following one or more: operation maintenance personnel, test
Personnel etc..
Further, the designated person can be custom-configured by the electronic equipment, to be more in line with reality
Border demand.
By above embodiment, the electronic equipment can tested when the error occurs, by the survey of the object to be measured
Examination data are sent to designated person, convenient for the designated person according to the test data analysis error reason, and further adopt
Take timely and effectively maintenance measure.
In conclusion the present invention can parse the test assignment after receiving test assignment to determine object to be measured;From
Configured list is obtained in configuration database, record has shielding object in the configured list;The object to be measured is matched with described
Whether all shielding objects set in list are matched, with the determination object to be measured in the configured list;When described
When object to be measured is not in the configured list, the object to be measured is tested;When the object to be measured is in the configured list
When, skip the object to be measured.The present invention can match object to be measured and configured list, obtain matching result, thus
For different matching results, implement different countermeasures, i.e., according to the matching result, the object to be measured is surveyed
Examination has not only been saved the testing time, but also reduce test to realize to the purpose for being not required to target progress automatic shield to be tested
When power consumption, test performance is effectively ensured.
As shown in Fig. 2, being the functional block diagram of the preferred embodiment of Monkey test device of the present invention.The Monkey is surveyed
It includes determination unit 110, acquiring unit 111, matching unit 112, test cell 113, receiving unit 114, configuration that trial assembly, which sets 11,
Unit 115, recording unit 116, transmission unit 117 and skip unit 118.So-called module/the unit of the present invention refers to a kind of energy
Enough performed by processor 13, and the series of computation machine program segment of fixed function can be completed, be stored in memory 12
In.In the present embodiment, it will be described in detail in subsequent embodiment about the function of each module/unit.
After receiving test assignment, determination unit 110 parses the test assignment to determine object to be measured.
In at least one embodiment of the present invention, it when carrying out Monkey test, generally requires to entire test event
The full content for being included is tested, and can not skip some control or webpage continues to test, and therefore, not only to be disappeared
More testing times are consumed, testing efficiency is reduced, the operation for returning electronic equipment causes centainly to bear, and test effect is bad.
In at least one embodiment of the present invention, after receiving test assignment, will include in the test assignment
At least one test target, the determination unit 110 determine the object to be measured from least one described test target.
Such as: the test assignment may include the test for a Webpage, in the testing for electrical equipment institute
When stating Webpage, due to including at least one test target (such as: each control on webpage) in the Webpage, because
This, the determination unit 110 can determine the object to be measured from each control.
Specifically, receiving unit 114 receives test assignment and includes, but are not limited to any one following form:
(1) receiving unit 114 receives the test instruction of user's input, and thereby determines that and receive test assignment.
(2) receiving unit 114 receives the test assignment that automated system operation generates, and thereby determines that and receive test
Task.
By above embodiment, the receiving unit 114 is ready to receive to arrive the test assignment, and further from described
The object to be measured is determined in test assignment.
Preferably, described after receiving test assignment, the determination unit 110 determines that object to be measured includes, but unlimited
In the combination of following one or more:
(1) determination unit 110 obtains the access times of all targets in the test assignment, by all targets
Access times be ranked up according to sequence from more to less, the target to rank the first is determined as institute by the determination unit 110
State object to be measured.
Such as: all targets in the test assignment that the determination unit 110 is got include: target A, target B
And target C, moreover, the determination unit 110 is by access times of the access times of the target A, the target B and described
After the access times of target C are ranked up according to sequence from more to less, the access times for obtaining the target A are greater than the mesh
The access times of B are marked, and the access times of the target B are greater than the access times of the target C, then the determination unit 110
The target A is determined as the object to be measured.
It is understood that the frequency of use due to some targets is very low, user is almost taken less than, therefore test prioritization
It is relatively low, by above embodiment, the determination unit 110 can from all targets, filter out frequency of use compared with
High target is as the object to be measured.
(2) determination unit 110 obtains the error rate of all targets in the test assignment, by all targets
Error rate is ranked up according to descending sequence, the determination unit 110 by the target to rank the first be determined as it is described to
Survey target.
Such as: it includes: target A, target that the determination unit 110, which gets all targets in the test assignment,
B and target C, moreover, the determination unit 110 is by the error rate of the target A, the error rate of the target B and the mesh
After the error rate of mark C is ranked up according to sequence from more to less, the error rate of the target A is obtained greater than the target B's
Error rate, and the error rate of the target B is greater than the error rate of the target C, then the determination unit 110 is by the target
A is determined as the object to be measured.
It is understood that since the error rate of some targets is very low or do not malfunction, test prioritization
Lower, by above embodiment, the determination unit 110 it is higher can to filter out the rate of making mistake from all targets
Target as the object to be measured.
(3) determination unit 110 obtains the associated objects of a upper test target in the test assignment, and will be described
Associated objects are determined as the object to be measured.
Such as: the upper test target that the determination unit 110 is got is the target B, and the pass of the target B
Connection target is the target A, then the target A is determined as the object to be measured by the determination unit 110.
It is understood that due to being to be mutually related between some test targets, when the survey for having executed a test target
After examination event, the test event of associated test target will be continued to execute, it is therefore, described determining single by above embodiment
The associated objects of a upper test target directly can be determined as the object to be measured by member 110, avoid complicated screening process.
(4) determination unit 110 obtains the current test module in the test assignment, and from all targets
The corresponding target of the current test module is obtained, the determination unit 110 is according to configuration rule from the corresponding target
Determine the object to be measured, wherein the corresponding a kind of user group of current test module.
Specifically, a test item may include multiple test modules, and each test module corresponds to different user groups
In body, such as a financial class network address, enterprise customer's module for thering is personal user's module of personal use, enterprise to use.It is surveying
When examination, a module can be only tested.
Such as: if it is W that the determination unit 110, which gets current test module, the determination unit 110 obtains institute
The corresponding target of current test module W is stated, and can be determined from the corresponding target according to the rule of above-mentioned (1)-(3)
The object to be measured.
It is understood that due to need to only correspond to the partial target in one test item of test in a test module,
Therefore, by above embodiment, the determination unit 110 can be directly true from the corresponding target according to configuration rule
The fixed object to be measured.
In the above manner, the electronic equipment both can influence the efficiency tested to avoid due to extra test job,
The cost of test can be saved again.
Acquiring unit 111 obtains configured list from configuration database, and record has shielding object in the configured list.
It should be noted that the configured list is that is, a test blacklist, is stored in the configured list
Target do not need to be tested.
Specifically, the title or mark of all targets be can store in the configured list, convenient for it is subsequent will it is described to
Target is surveyed to be matched with the target in the configured list.
Preferably, before the acquiring unit 111 obtains configured list, the method also includes:
(1) receiving unit 114 receives the configuration data of user's input, and configuration unit 115 is according to the configuration data
Configure the configured list.
Specifically, the configuration data includes the data of user's input, such as: do not need the target tested
Title or mark etc..
By above embodiment, the configuration unit 115 can configure the configuration according to the actual demand of user and arrange
Table, to allow user to custom-configure.
(2) acquiring unit 111 obtains history configuration record, 115 basis of configuration unit from specified database
The history configuration record configures the configured list.
Specifically, all history configuration records are stored in the specified database, the present invention is to the specified database
With no restrictions.
By above embodiment, the configuration unit 115 can configure record according to the history and configure the configuration
List reduces human intervention, and accuracy is higher.
It should be noted that the electronic equipment can incite somebody to action after the configuration unit 115 configures the configured list
The configured list is stored in the configuration database, and the configuration database can be the database of the electronic equipment,
The database etc. either communicated with the electronic equipment, the present invention do not limit herein.
Matching unit 112 matches the object to be measured with all shielding objects in the configured list, with true
Whether the fixed object to be measured is in the configured list.
Specifically, the matching unit 112 matches the object to be measured with the configured list, in order to subsequent
Determine whether to be tested according to the matching result.
Specifically, the matching unit 112 can be according to the title of the object to be measured and configured list progress
Match, or matched according to the mark of the object to be measured with the configured list, the present invention does not limit.
Further, matching result may include:
The object to be measured is not in the configured list and the object to be measured is in the configured list.
For different matching results, the electronic equipment will also have different countermeasures, will specifically carry out later
It elaborates.
When the object to be measured is not in the configured list, test cell 113 tests the object to be measured.
It should be noted that the response mode that different matching results is different by correspondence, that is to say, that the test cell
113 will determine whether to test the object to be measured according to different matching results, specifically be described below.
When the object to be measured is in the configured list, skips unit 118 and skip the object to be measured.
It is understood that since the target in the configured list does not need to be tested, when it is described to
When surveying target not in the configured list, the test cell 113 can carry out the survey of conventional steps to the object to be measured
Examination, either, when the object to be measured is in the configured list, the test cell 113 can skip the mesh to be measured
Mark, and carry out the acquisition of next test target.
By above embodiment, the electronic equipment can be realized and carry out automatic shield to being not required to target to be tested
Purpose has not only been saved the testing time, but also reduces power consumption when test, and test performance is effectively ensured.
Preferably, described when the object to be measured is in the configured list, the test cell 113 skip it is described to
It surveys target and includes, but are not limited to any one following mode:
(1) when the object to be measured is webpage, the test cell 113 prevents the webpage from popping up.
Such as: when test is realizes based on Acitivity, the test cell 113 obtains the page currently needed to be traversed for
Face D, configured list described in 113 poll of test cell, if being returned in the configured list there are the page D
False, ActivityController would not allow for traversing the page D;If the page is not present in the configured list
D, then return to true, and ActivityController will allow to traverse the page D.
(2) when the object to be measured is control, the test cell 113 prevents the control from executing.
Such as: when test is realizes based on control, obtain current page D's by accessibility
AccessibilityNodeInfo, wherein AccessibilityNodeInfo includes all control informations of the page D,
Configured list described in 113 poll of test cell is not injected into the control E's if there are control E in the configured list
Click event;If the control E is not present in the configured list, the click event of the control E is injected.
By above embodiment, the test cell 113 can effectively mask the webpage for not needing to be tested or
Person's control, improves power of test.
Preferably, when the object to be measured is not in the configured list, the test cell 113 test it is described to
After surveying target, the method also includes:
Recording unit 116 records the test of the test log and test result of the object to be measured as the object to be measured
Data.
By above embodiment, the recording unit 116 can record the test data in time, and can will be described
Test data is saved into specified database, is convenient for subsequent use.
Specifically, the specified database may include, but be not limited to: the local data base of the electronic equipment, or
It is the database etc. communicated with the electronic equipment.
It is understood that when the specified database be local data base when, the electronic equipment can quickly from
The test data is read in the specified database, reading speed is more dominant.
And when the specified database is the database communicated with the electronic equipment, the electronics can be saved and set
Standby memory space, to ensure that the service ability of the electronic equipment.
Preferably, it is recorded described in test log and the test result conduct of the object to be measured in the recording unit 116
After the test data of object to be measured, the method also includes:
When, there are when error identification, the determination of determination unit 110 is described to be measured in the test log of the object to be measured
Target is wrong, and the test data of the object to be measured is sent to designated person by transmission unit 117.
Specifically, the designated person includes, but are not limited to the combination of following one or more: operation maintenance personnel, test
Personnel etc..
Further, the designated person can be custom-configured by the electronic equipment, to be more in line with reality
Border demand.
By above embodiment, the transmission unit 117 can tested when the error occurs, by the object to be measured
Test data is sent to designated person, convenient for the designated person according to the test data analysis error reason, and further
Take timely and effectively maintenance measure.
In conclusion the present invention can parse the test assignment after receiving test assignment to determine object to be measured;From
Configured list is obtained in configuration database, record has shielding object in the configured list;The object to be measured is matched with described
Whether all shielding objects set in list are matched, with the determination object to be measured in the configured list;When described
When object to be measured is not in the configured list, the object to be measured is tested;When the object to be measured is in the configured list
When, skip the object to be measured.The present invention can match object to be measured and configured list, obtain matching result, thus
For different matching results, implement different countermeasures, i.e., according to the matching result, the object to be measured is surveyed
Examination has not only been saved the testing time, but also reduce test to realize to the purpose for being not required to target progress automatic shield to be tested
When power consumption, test performance is effectively ensured.
As shown in figure 3, being the structural representation of the electronic equipment for the preferred embodiment that the present invention realizes Monkey test method
Figure.
The electronic equipment 1 be it is a kind of can according to the instruction for being previously set or store, automatic progress numerical value calculating and/or
The equipment of information processing, hardware include but is not limited to microprocessor, specific integrated circuit (Application Specific
Integrated Circuit, ASIC), programmable gate array (Field-Programmable Gate Array, FPGA), number
Word processing device (Digital Signal Processor, DSP), embedded device etc..
The electronic equipment 1, which can also be but not limited to any one, to pass through keyboard, mouse, remote controler, touching with user
The modes such as template or voice-operated device carry out the electronic product of human-computer interaction, for example, personal computer, tablet computer, smart phone,
Personal digital assistant (Personal Digital Assistant, PDA), game machine, Interactive Internet TV (Internet
Protocol Television, IPTV), intellectual wearable device etc..
The electronic equipment 1 can also be that the calculating such as desktop PC, notebook, palm PC and cloud server are set
It is standby.
Network locating for the electronic equipment 1 include but is not limited to internet, wide area network, Metropolitan Area Network (MAN), local area network, it is virtual specially
With network (Virtual Private Network, VPN) etc..
In one embodiment of the invention, the electronic equipment 1 includes, but are not limited to memory 12, processor 13,
And it is stored in the computer program that can be run in the memory 12 and on the processor 13, such as Monkey tests journey
Sequence.
It will be understood by those skilled in the art that the schematic diagram is only the example of electronic equipment 1, not structure paired electrons
The restriction of equipment 1 may include perhaps combining certain components or different components, example than illustrating more or fewer components
Such as described electronic equipment 1 can also include input-output equipment, network access equipment, bus.
Alleged processor 13 can be central processing unit (Central Processing Unit, CPU), can also be
Other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit
(Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor
Deng the processor 13 is arithmetic core and the control centre of the electronic equipment 1, entire using various interfaces and connection
The various pieces of electronic equipment 1, and execute the operating system of the electronic equipment 1 and types of applications program, the program of installation
Code etc..
The processor 13 executes the operating system of the electronic equipment 1 and the types of applications program of installation.The place
Reason device 13 executes the application program to realize the step in above-mentioned each Monkey test method embodiment, such as shown in Fig. 1
Step S10, S11, S12, S13, S14.
Alternatively, the processor 13 realizes each module in above-mentioned each Installation practice/mono- when executing the computer program
The function of member, such as: after receiving test assignment, the test assignment is parsed to determine object to be measured;From configuration database
Middle acquisition configured list, record has shielding object in the configured list;It will be in the object to be measured and the configured list
Whether all shielding objects are matched, with the determination object to be measured in the configured list;When the object to be measured not
When in the configured list, the object to be measured is tested;When the object to be measured is in the configured list, skip described
Object to be measured.
Illustratively, the computer program can be divided into one or more module/units, one or more
A module/unit is stored in the memory 12, and is executed by the processor 13, to complete the present invention.It is one
Or multiple module/units can be the series of computation machine program instruction section that can complete specific function, the instruction segment is for retouching
State implementation procedure of the computer program in the electronic equipment 1.For example, the computer program can be divided into really
Order member 110, acquiring unit 111, matching unit 112, test cell 113, receiving unit 114, configuration unit 115, record
Member 116 and skips unit 118 at transmission unit 117.
The memory 12 can be used for storing the computer program and/or module, the processor 13 by operation or
The computer program and/or module being stored in the memory 12 are executed, and calls the data being stored in memory 12,
Realize the various functions of the electronic equipment 1.The memory 12 can mainly include storing program area and storage data area,
In, storing program area can application program needed for storage program area, at least one function (such as sound-playing function, image
Playing function etc.) etc.;Storage data area, which can be stored, uses created data (such as audio data, phone directory according to mobile phone
Deng) etc..In addition, memory 12 may include high-speed random access memory, it can also include nonvolatile memory, such as firmly
Disk, memory, plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital,
SD) block, flash card (Flash Card), at least one disk memory, flush memory device or other volatile solid-states
Part.
The memory 12 can be the external memory and/or internal storage of electronic equipment 1.Further, described
Memory 12 can be the circuit with store function for not having physical form in integrated circuit, such as RAM (Random-Access
Memory, random access memory), FIFO (First In First Out) etc..Alternatively, the memory 12 is also possible to
Memory with physical form, such as memory bar, TF card (Trans-flash Card).
If the integrated module/unit of the electronic equipment 1 is realized in the form of SFU software functional unit and as independent
Product when selling or using, can store in a computer readable storage medium.Based on this understanding, the present invention is real
All or part of the process in existing above-described embodiment method, can also instruct relevant hardware come complete by computer program
At the computer program can be stored in a computer readable storage medium, which is being executed by processor
When, it can be achieved that the step of above-mentioned each embodiment of the method.
Wherein, the computer program includes computer program code, and the computer program code can be source code
Form, object identification code form, executable file or certain intermediate forms etc..The computer-readable medium may include: can
Carry any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic disk, CD, computer of the computer program code
Memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access
Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that the computer-readable medium
The content for including can carry out increase and decrease appropriate according to the requirement made laws in jurisdiction with patent practice, such as in certain departments
Method administrative area does not include electric carrier signal and telecommunication signal according to legislation and patent practice, computer-readable medium.
In conjunction with Fig. 1, the memory 12 in the electronic equipment 1 stores multiple instruction to realize a kind of Monkey test
The multiple instruction can be performed to realize in method, the processor 13: after receiving test assignment, parsing the test and appoints
Business is to determine object to be measured;Configured list is obtained from configuration database, record has shielding object in the configured list;By institute
It states object to be measured to be matched with all shielding objects in the configured list, with the determination object to be measured whether described
In configured list;When the object to be measured is not in the configured list, the object to be measured is tested;When the object to be measured
When in the configured list, the object to be measured is skipped.
Preferred embodiment according to the present invention, the processor 13 also execute multiple instruction and include:
The access times for obtaining all targets in the test assignment, by the access times of all targets according to by more
It is ranked up to few sequence, and the target to rank the first is determined as the object to be measured;And/or
The error rate for obtaining all targets in the test assignment, by the error rate of all targets according to descending
Sequence be ranked up, and the target to rank the first is determined as the object to be measured;And/or
It obtains the associated objects of a upper test target in the test assignment, and the associated objects is determined as described
Object to be measured;And/or
The current test module in the test assignment is obtained, and obtains the current test mould from all targets
The corresponding target of block, and the object to be measured is determined from the corresponding target according to configuration rule, wherein the current survey
The corresponding a kind of user group of die trial block.
Preferred embodiment according to the present invention, the processor 13 also execute multiple instruction and include:
The configuration data for receiving user's input configures the configured list according to the configuration data;And/or
History configuration record is obtained from specified database, and record is configured according to the history and configures the configured list.
Preferred embodiment according to the present invention, the processor 13 also execute multiple instruction and include:
When the object to be measured is webpage, the webpage is prevented to pop up;Or
When the object to be measured is control, the control is prevented to execute.
Preferred embodiment according to the present invention, the processor 13 also execute multiple instruction and include:
Record the test data of the test log and test result of the object to be measured as the object to be measured.
Preferred embodiment according to the present invention, the processor 13 also execute multiple instruction and include:
When there are when error identification, determine that the object to be measured is wrong in the test log of the object to be measured;
The test data of the object to be measured is sent to designated person.
Specifically, the processor 13 can refer to the concrete methods of realizing of above-metioned instruction related in Fig. 1 corresponding embodiment
The description of step, this will not be repeated here.
In several embodiments provided by the present invention, it should be understood that disclosed system, device and method can be with
It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the module
It divides, only a kind of logical function partition, there may be another division manner in actual implementation.
The module as illustrated by the separation member may or may not be physically separated, aobvious as module
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.Some or all of the modules therein can be selected to realize the mesh of this embodiment scheme according to the actual needs
's.
It, can also be in addition, each functional module in each embodiment of the present invention can integrate in one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of hardware adds software function module.
It is obvious to a person skilled in the art that invention is not limited to the details of the above exemplary embodiments, Er Qie
In the case where without departing substantially from spirit or essential attributes of the invention, the present invention can be realized in other specific forms.
Therefore, in all respects, the present embodiments are to be considered as illustrative and not restrictive, this
The range of invention is indicated by the appended claims rather than the foregoing description, it is intended that the equivalent requirements of the claims will be fallen in
All changes in meaning and scope are included in the present invention.Any attached associated diagram label in claim should not be considered as limit
Claim involved in making.
Furthermore, it is to be understood that one word of " comprising " does not exclude other units or steps, odd number is not excluded for plural number.In system claims
The multiple units or device of statement can also be implemented through software or hardware by a unit or device.Second equal words are used
It indicates title, and does not indicate any particular order.
Finally it should be noted that the above examples are only used to illustrate the technical scheme of the present invention and are not limiting, although reference
Preferred embodiment describes the invention in detail, those skilled in the art should understand that, it can be to of the invention
Technical solution is modified or equivalent replacement, without departing from the spirit and scope of the technical solution of the present invention.
Claims (10)
1. a kind of Monkey test method, which is characterized in that the described method includes:
After receiving test assignment, the test assignment is parsed to determine object to be measured;
Configured list is obtained from configuration database, record has shielding object in the configured list;
The object to be measured is matched with all shielding objects in the configured list, is with the determination object to be measured
It is no in the configured list;
When the object to be measured is not in the configured list, the object to be measured is tested;
When the object to be measured is in the configured list, the object to be measured is skipped.
2. Monkey test method as described in claim 1, which is characterized in that described after receiving test assignment, parsing
The test assignment is to determine that object to be measured includes the combination of following one or more:
The access times for obtaining all targets in the test assignment, by the access times of all targets according to from more to less
Sequence be ranked up, and the target to rank the first is determined as the object to be measured;And/or
The error rate for obtaining all targets in the test assignment, by the error rate of all targets according to descending suitable
Sequence is ranked up, and the target to rank the first is determined as the object to be measured;And/or
The associated objects of a upper test target in the test assignment are obtained, and the associated objects are determined as described to be measured
Target;And/or
The current test module in the test assignment is obtained, and obtains the current test module pair from all targets
The target answered, and the object to be measured is determined from the corresponding target according to configuration rule, wherein the current test mould
The corresponding a kind of user group of block.
3. Monkey test method as described in claim 1, which is characterized in that before obtaining configured list, the method is also
Include:
The configuration data for receiving user's input configures the configured list according to the configuration data;And/or
History configuration record is obtained from specified database, and record is configured according to the history and configures the configured list.
4. Monkey test method as described in claim 1, which is characterized in that described when the object to be measured is in the configuration
When in list, skips the object to be measured and includes any of the following mode:
When the object to be measured is webpage, the webpage is prevented to pop up;Or
When the object to be measured is control, the control is prevented to execute.
5. Monkey test method as described in claim 1, which is characterized in that the method also includes:
Record the test data of the test log and test result of the object to be measured as the object to be measured.
6. Monkey test method as claimed in claim 5, which is characterized in that in the test log for recording the object to be measured
And after test data of the test result as the object to be measured, the method also includes:
When there are when error identification, determine that the object to be measured is wrong in the test log of the object to be measured;
The test data of the object to be measured is sent to designated person.
7. a kind of Monkey test device, which is characterized in that described device includes:
Determination unit, for after receiving test assignment, parsing the test assignment to determine object to be measured;
Acquiring unit, for obtaining configured list from configuration database, record has shielding object in the configured list;
Matching unit, for matching the object to be measured with all shielding objects in the configured list, with determination
Whether the object to be measured is in the configured list;
Test cell, for testing the object to be measured when the object to be measured is not in the configured list;
Unit is skipped, for skipping the object to be measured when the object to be measured is in the configured list.
8. Monkey test device as claimed in claim 7, which is characterized in that the determination unit is receiving test assignment
Afterwards, the test assignment is parsed to determine that object to be measured includes the combination of following one or more:
The access times for obtaining all targets in the test assignment, by the access times of all targets according to from more to less
Sequence be ranked up, and the target to rank the first is determined as the object to be measured;And/or
The error rate for obtaining all targets in the test assignment, by the error rate of all targets according to descending suitable
Sequence is ranked up, and the target to rank the first is determined as the object to be measured;And/or
The associated objects of a upper test target in the test assignment are obtained, and the associated objects are determined as described to be measured
Target;And/or
The current test module in the test assignment is obtained, and obtains the current test module pair from all targets
The target answered, and the object to be measured is determined from the corresponding target according to configuration rule, wherein the current test mould
The corresponding a kind of user group of block.
9. a kind of electronic equipment, which is characterized in that the electronic equipment includes:
Memory stores at least one instruction;And
Processor executes the instruction stored in the memory to realize as described in any one of claim 1 to 6
Monkey test method.
10. a kind of computer readable storage medium, it is characterised in that: be stored at least one in the computer readable storage medium
A instruction, at least one described instruction are executed by the processor in electronic equipment to realize such as any one of claim 1 to 6
The Monkey test method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810931208.3A CN109359027B (en) | 2018-08-15 | 2018-08-15 | Method and device for Monkey test, electronic equipment and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810931208.3A CN109359027B (en) | 2018-08-15 | 2018-08-15 | Method and device for Monkey test, electronic equipment and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109359027A true CN109359027A (en) | 2019-02-19 |
CN109359027B CN109359027B (en) | 2023-06-20 |
Family
ID=65350029
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810931208.3A Active CN109359027B (en) | 2018-08-15 | 2018-08-15 | Method and device for Monkey test, electronic equipment and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109359027B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110069398A (en) * | 2019-03-15 | 2019-07-30 | 平安普惠企业管理有限公司 | Programmed pressure test control method, device, computer equipment and storage medium |
CN110633192A (en) * | 2019-08-28 | 2019-12-31 | RealMe重庆移动通信有限公司 | Test method, test device, terminal device and computer readable storage medium |
CN111061639A (en) * | 2019-12-18 | 2020-04-24 | 中信百信银行股份有限公司 | Efficient multi-system test code coverage rate management method |
CN111078579A (en) * | 2019-12-31 | 2020-04-28 | 河北省科学院应用数学研究所 | Monkey testing method and device and terminal equipment |
Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102768641A (en) * | 2012-06-15 | 2012-11-07 | 深圳中兴网信科技有限公司 | Webpage testing factor selecting device and webpage testing factor selecting method |
CN103324566A (en) * | 2012-03-20 | 2013-09-25 | 阿里巴巴集团控股有限公司 | Multi-version test method and device for web page product |
CN104156307A (en) * | 2014-07-03 | 2014-11-19 | 安徽景行信息科技有限公司 | Browser compatibility detecting method and system |
US9129179B1 (en) * | 2012-05-10 | 2015-09-08 | Amazon Technologies, Inc. | Image-based object location |
WO2016015220A1 (en) * | 2014-07-29 | 2016-02-04 | Hewlett-Packard Development Company, L.P. | Executable code abnormality detection |
CN105786707A (en) * | 2016-02-29 | 2016-07-20 | 腾讯科技(深圳)有限公司 | Method and device for testing program |
CN105868105A (en) * | 2016-03-24 | 2016-08-17 | 厦门美图移动科技有限公司 | Application traversal testing method and device, and mobile terminal |
CN106383780A (en) * | 2016-09-05 | 2017-02-08 | 努比亚技术有限公司 | Monkey test method and device |
US20170249240A1 (en) * | 2016-02-29 | 2017-08-31 | Red Hat, Inc. | Automated test planning using test case relevancy |
CN107622016A (en) * | 2017-09-25 | 2018-01-23 | 无线生活(杭州)信息科技有限公司 | A kind of page method of testing and device |
CN107632850A (en) * | 2016-07-19 | 2018-01-26 | 百度在线网络技术(北京)有限公司 | A kind of method and apparatus for obtaining application controls information |
CN107977308A (en) * | 2016-10-25 | 2018-05-01 | 传化物流集团有限公司 | interface test method and device |
CN108304324A (en) * | 2018-01-22 | 2018-07-20 | 百度在线网络技术(北京)有限公司 | Method for generating test case, device, equipment and storage medium |
US20180225195A1 (en) * | 2015-08-04 | 2018-08-09 | Entit Software Llc | Selective application testing |
-
2018
- 2018-08-15 CN CN201810931208.3A patent/CN109359027B/en active Active
Patent Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103324566A (en) * | 2012-03-20 | 2013-09-25 | 阿里巴巴集团控股有限公司 | Multi-version test method and device for web page product |
US9129179B1 (en) * | 2012-05-10 | 2015-09-08 | Amazon Technologies, Inc. | Image-based object location |
CN102768641A (en) * | 2012-06-15 | 2012-11-07 | 深圳中兴网信科技有限公司 | Webpage testing factor selecting device and webpage testing factor selecting method |
CN104156307A (en) * | 2014-07-03 | 2014-11-19 | 安徽景行信息科技有限公司 | Browser compatibility detecting method and system |
WO2016015220A1 (en) * | 2014-07-29 | 2016-02-04 | Hewlett-Packard Development Company, L.P. | Executable code abnormality detection |
US20180225195A1 (en) * | 2015-08-04 | 2018-08-09 | Entit Software Llc | Selective application testing |
US20170249240A1 (en) * | 2016-02-29 | 2017-08-31 | Red Hat, Inc. | Automated test planning using test case relevancy |
CN105786707A (en) * | 2016-02-29 | 2016-07-20 | 腾讯科技(深圳)有限公司 | Method and device for testing program |
CN105868105A (en) * | 2016-03-24 | 2016-08-17 | 厦门美图移动科技有限公司 | Application traversal testing method and device, and mobile terminal |
CN107632850A (en) * | 2016-07-19 | 2018-01-26 | 百度在线网络技术(北京)有限公司 | A kind of method and apparatus for obtaining application controls information |
CN106383780A (en) * | 2016-09-05 | 2017-02-08 | 努比亚技术有限公司 | Monkey test method and device |
CN107977308A (en) * | 2016-10-25 | 2018-05-01 | 传化物流集团有限公司 | interface test method and device |
CN107622016A (en) * | 2017-09-25 | 2018-01-23 | 无线生活(杭州)信息科技有限公司 | A kind of page method of testing and device |
CN108304324A (en) * | 2018-01-22 | 2018-07-20 | 百度在线网络技术(北京)有限公司 | Method for generating test case, device, equipment and storage medium |
Non-Patent Citations (3)
Title |
---|
HAIBING ZHENG 等: "Automated test input generation for android: towards getting there in an industrial case" * |
楼主望月: "《Monkey设置黑白名单》", 《HTTPS://WWW.JIANSHU.COM/P/FC1F0FCDE190》 * |
蔡增柱: "基于Android移动平台测试相关技术研究" * |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110069398A (en) * | 2019-03-15 | 2019-07-30 | 平安普惠企业管理有限公司 | Programmed pressure test control method, device, computer equipment and storage medium |
CN110633192A (en) * | 2019-08-28 | 2019-12-31 | RealMe重庆移动通信有限公司 | Test method, test device, terminal device and computer readable storage medium |
CN110633192B (en) * | 2019-08-28 | 2023-05-26 | RealMe重庆移动通信有限公司 | Test method, test device, terminal equipment and computer readable storage medium |
CN111061639A (en) * | 2019-12-18 | 2020-04-24 | 中信百信银行股份有限公司 | Efficient multi-system test code coverage rate management method |
CN111061639B (en) * | 2019-12-18 | 2023-03-24 | 中信百信银行股份有限公司 | Efficient multi-system test code coverage rate management method |
CN111078579A (en) * | 2019-12-31 | 2020-04-28 | 河北省科学院应用数学研究所 | Monkey testing method and device and terminal equipment |
Also Published As
Publication number | Publication date |
---|---|
CN109359027B (en) | 2023-06-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109359027A (en) | Monkey test method, device, electronic equipment and computer readable storage medium | |
CN108549569B (en) | Method and equipment for searching information in application program | |
CN108540826A (en) | Barrage method for pushing, device, electronic equipment and storage medium | |
CN109359026A (en) | Log reporting method, device, electronic equipment and computer readable storage medium | |
US9177249B2 (en) | Scientometric methods for identifying emerging technologies | |
CN108460068B (en) | Method, device, storage medium and terminal for importing and exporting report | |
CN109493101A (en) | Target brand message determines method, apparatus, electronic equipment and storage medium | |
CN112199296B (en) | Page testing method and device, computer equipment and storage medium | |
CN111562965B (en) | Page data verification method and device based on decision tree | |
CN109299356A (en) | Activity recommendation method, apparatus, electronic equipment and storage medium based on big data | |
CN107633015A (en) | A kind of data processing method, device and equipment | |
CN111159563A (en) | Method, device and equipment for determining user interest point information and storage medium | |
CN109542757A (en) | Interface testing environment determines method, apparatus, electronic equipment and storage medium | |
CN115827436A (en) | Data processing method, device, equipment and storage medium | |
US20160026691A1 (en) | Bridge event analytics tools and techniques | |
CN112784159B (en) | Content recommendation method and device, terminal equipment and computer readable storage medium | |
CN113010791A (en) | Search result display processing method and device and computer readable storage medium | |
US9064245B2 (en) | Generating a calendar graphical visualization including pixels representing data records containing user feedback | |
US9569614B2 (en) | Capturing correlations between activity and non-activity attributes using N-grams | |
US9286349B2 (en) | Dynamic search system | |
CN109376067A (en) | Monkey test method, device, electronic equipment and computer readable storage medium | |
CN109696614A (en) | Circuit test optimization method and device | |
CN113377604B (en) | Data processing method, device, equipment and storage medium | |
CN108241607A (en) | Automatically imported method, server and the storage medium of test of heuristics case | |
CN113988621A (en) | Data processing method, computing device and storage medium for book information producer |
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 |