CN109359027B - Method and device for Monkey test, electronic equipment and computer readable storage medium - Google Patents

Method and device for Monkey test, electronic equipment and computer readable storage medium Download PDF

Info

Publication number
CN109359027B
CN109359027B CN201810931208.3A CN201810931208A CN109359027B CN 109359027 B CN109359027 B CN 109359027B CN 201810931208 A CN201810931208 A CN 201810931208A CN 109359027 B CN109359027 B CN 109359027B
Authority
CN
China
Prior art keywords
target
tested
test
configuration list
targets
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.)
Active
Application number
CN201810931208.3A
Other languages
Chinese (zh)
Other versions
CN109359027A (en
Inventor
胡嘉椿
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Life Insurance Company of China Ltd
Original Assignee
Ping An Life Insurance Company of China Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Ping An Life Insurance Company of China Ltd filed Critical Ping An Life Insurance Company of China Ltd
Priority to CN201810931208.3A priority Critical patent/CN109359027B/en
Publication of CN109359027A publication Critical patent/CN109359027A/en
Application granted granted Critical
Publication of CN109359027B publication Critical patent/CN109359027B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3692Test management for test results analysis
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE 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/00Energy 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 invention provides a Monkey test method, a device, electronic equipment and a computer readable storage medium. The Monkey test method comprises the following steps: after receiving a test task, analyzing the test task to determine a target to be tested; acquiring a configuration list from a configuration database, wherein a shielding object is recorded in the configuration list; matching the target to be detected with all shielding objects in the configuration list to determine whether the target to be detected is in the configuration list; when the target to be tested is not in the configuration list, testing the target to be tested; and skipping over the target to be tested when the target to be tested is in the configuration list. According to the invention, intelligent control on the Monkey test can be realized, different coping strategies are implemented aiming at different matching results, and the target to be tested is tested, so that the aim of automatically shielding the target which does not need to be tested is fulfilled, the test time is saved, the power consumption during the test is reduced, and the test performance is effectively ensured.

Description

Method and device for Monkey test, electronic equipment and computer readable storage medium
Technical Field
The present invention relates to the field of intelligent testing technologies, and in particular, to a method and apparatus for Monkey testing, an electronic device, and a computer readable storage medium.
Background
In the prior art, when the Monkey test is performed, all the contents contained in the whole test event are often required to be tested, but a control or a webpage cannot be skipped to continue the test, so that more test time is consumed, the test efficiency is reduced, a certain burden is caused for the operation of the electronic equipment, and the test effect is poor.
Disclosure of Invention
In view of the foregoing, it is necessary to provide a method, an apparatus, an electronic device, and a computer readable storage medium for a Monkey test, which can match a target to be tested and a configuration list to obtain a matching result, so as to implement different coping strategies for different matching results, i.e., test the target to be tested according to the matching result, thereby achieving the purpose of automatically shielding the target that does not need to be tested, saving test time, reducing power consumption during the test, and effectively guaranteeing test performance.
A method of Monkey testing, the method comprising:
after receiving a test task, analyzing the test task to determine a target to be tested;
Acquiring a configuration list from a configuration database, wherein a shielding object is recorded in the configuration list;
matching the target to be detected with all shielding objects in the configuration list to determine whether the target to be detected is in the configuration list;
when the target to be tested is not in the configuration list, testing the target to be tested;
and skipping over the target to be tested when the target to be tested is in the configuration list.
According to a preferred embodiment of the present invention, after receiving the test task, parsing the test task to determine the target to be tested includes one or more of the following combinations:
acquiring the use times of all targets in the test task, sequencing the use times of all targets according to the sequence from more to less, and determining the targets ranked first as the targets to be tested; and/or
Obtaining error rates of all targets in the test task, sequencing the error rates of all targets according to the sequence from big to small, and determining the targets ranked first as the targets to be tested; and/or
Acquiring an associated target of a last test target in the test task, and determining the associated target as the target to be tested; and/or
Acquiring a current test module in the test task, acquiring targets corresponding to the current test module from all targets, and determining the target to be tested from the corresponding targets according to a configuration rule, wherein the current test module corresponds to a user group.
According to a preferred embodiment of the present invention, before obtaining the configuration list, the method further comprises:
receiving configuration data input by a user, and configuring the configuration list according to the configuration data; and/or
And acquiring a history configuration record from a specified database, and configuring the configuration list according to the history configuration record.
According to a preferred embodiment of the present invention, when the target to be measured is in the configuration list, skipping the target to be measured includes any one of the following ways:
when the target to be detected is a webpage, the webpage is prevented from being popped up; or alternatively
And when the target to be detected is a control, preventing the control from being executed.
According to a preferred embodiment of the invention, the method further comprises:
and recording a test log and a test result of the target to be tested as test data of the target to be tested.
According to a preferred embodiment of the present invention, after recording the test log and the test result of the target to be tested as the test data of the target to be tested, the method further includes:
When an error mark exists in the test log of the target to be tested, determining that the target to be tested has an error;
and sending the test data of the target to be tested to appointed personnel.
A Monkey testing device, the device comprising:
the determining unit is used for analyzing the test task after receiving the test task so as to determine a target to be tested;
the device comprises an acquisition unit, a configuration database and a processing unit, wherein the acquisition unit is used for acquiring a configuration list from the configuration database, and a shielding object is recorded in the configuration list;
the matching unit is used for matching the target to be detected with all shielding objects in the configuration list so as to determine whether the target to be detected is in the configuration list;
the test unit is used for testing the target to be tested when the target to be tested is not in the configuration list;
and the skipping unit is used for skipping the target to be tested when the target to be tested is in the configuration list.
According to a preferred embodiment of the present invention, the determining unit parses the test task to determine that the object to be tested includes one or more of the following combinations:
acquiring the use times of all targets in the test task, sequencing the use times of all targets according to the sequence from more to less, and determining the targets ranked first as the targets to be tested; and/or
Obtaining error rates of all targets in the test task, sequencing the error rates of all targets according to the sequence from big to small, and determining the targets ranked first as the targets to be tested; and/or
Acquiring an associated target of a last test target in the test task, and determining the associated target as the target to be tested; and/or
Acquiring a current test module in the test task, acquiring targets corresponding to the current test module from all targets, and determining the target to be tested from the corresponding targets according to a configuration rule, wherein the current test module corresponds to a user group.
According to a preferred embodiment of the invention, the device further comprises:
the receiving unit is used for receiving configuration data input by a user before acquiring the configuration list;
a configuration unit, configured to configure the configuration list according to the configuration data; and/or
The acquisition unit is also used for acquiring a history configuration record from the appointed database;
the configuration unit is further configured to configure the configuration list according to the history configuration record.
According to a preferred embodiment of the present invention, when the target to be tested is in the configuration list, the step of skipping the target to be tested by the test unit includes any one of the following ways:
When the target to be detected is a webpage, the webpage is prevented from being popped up; or alternatively
And when the target to be detected is a control, preventing the control from being executed.
According to a preferred embodiment of the invention, the device further comprises:
the recording unit is used for recording the test log and the test result of the target to be tested as the test data of the target to be tested.
According to a preferred embodiment of the present invention, the determining unit is further configured to determine that the target to be tested has an error when there is an error identifier in the test log of the target to be tested after recording the test log and the test result of the target to be tested as the test data of the target to be tested;
the apparatus further comprises:
and the sending unit is used for sending the test data of the target to be tested to appointed personnel.
An electronic device, the electronic device comprising:
a memory storing at least one instruction; a kind of electronic device with high-pressure air-conditioning system
And the processor executes the instructions stored in the memory to realize the Monkey test method.
A computer-readable storage medium having stored therein at least one instruction that is executed by a processor in an electronic device to implement the Monkey test method.
According to the technical scheme, the target to be tested and the configuration list can be matched to obtain the matching result, so that different coping strategies are implemented according to different matching results, namely, the target to be tested is tested according to the matching result, the aim of automatically shielding the target which does not need to be tested is fulfilled, the testing time is saved, the power consumption during testing is reduced, and the testing performance is effectively ensured.
Drawings
FIG. 1 is a flow chart of a preferred embodiment of the Monkey test method of the present invention.
FIG. 2 is a functional block diagram of a preferred embodiment of the Monkey test device of the present invention.
Fig. 3 is a schematic structural diagram of an electronic device according to a preferred embodiment of the present invention for implementing a Monkey test method.
Description of the main reference signs
Electronic equipment 1
Memory device 12
Processor and method for controlling the same 13
Monkey testing arrangement 11
Determination unit 110
Acquisition unit 111
Matching unit 112
Test unit 113
Receiving unit 114
Configuration unit 115
Recording unit 116
Transmitting unit 117
Skip unit 118
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in detail with reference to the accompanying drawings and specific embodiments.
FIG. 1 is a flow chart of a preferred embodiment of the Monkey test method of the present invention. The order of the steps in the flowchart may be changed and some steps may be omitted according to various needs.
The Monkey test method is applied to one or more electronic devices, wherein the electronic devices are devices capable of automatically performing numerical calculation and/or information processing according to preset or stored instructions, and the hardware of the electronic devices comprises, but is not limited to, microprocessors, application specific integrated circuits (Application Specific Integrated Circuit, ASICs), programmable gate arrays (Field-Programmable Gate Array, FPGA), digital processors (Digital Signal Processor, DSPs), embedded devices and the like.
The electronic device may be any electronic product that can interact with a user in a human-computer manner, such as a personal computer, tablet computer, smart phone, personal digital assistant (Personal Digital Assistant, PDA), game console, interactive internet protocol television (Internet Protocol Television, IPTV), smart wearable device, etc.
The electronic device may also include a network device and/or a user device. Wherein the network device includes, but is not limited to, a single network server, a server group composed of a plurality of network servers, or a Cloud based Cloud Computing (Cloud Computing) composed of a large number of hosts or network servers.
The network in which the electronic device is located includes, but is not limited to, the internet, a wide area network, a metropolitan area network, a local area network, a virtual private network (Virtual Private Network, VPN), and the like.
S10, after receiving the test task, the electronic equipment analyzes the test task to determine a target to be tested.
In at least one embodiment of the present invention, when the Monkey test is performed, it is often necessary to perform the test on all the contents included in the whole test event, but it is impossible to skip a control or web page to continue the test, so that more test time is consumed, the test efficiency is reduced, a certain burden is caused to the operation of the electronic device, and the test effect is poor.
In at least one embodiment of the present invention, after receiving a test task, at least one test target will be included in the test task, and the electronic device determines the target to be tested from the at least one test target.
For example: the test task may include a test on a web page, and when the electronic device tests the web page, the electronic device may determine the target to be tested from each control since the web page includes at least one test target (e.g., each control on the web page, etc.).
Specifically, the electronic device receives a test task including, but not limited to, any of the following forms:
(1) The electronic equipment receives a test instruction input by a user, and accordingly determines that a test task is received.
(2) The electronic equipment receives the test task generated by the automatic operation of the system, and accordingly, the received test task is determined.
Through the implementation manner, the electronic device can receive the test task and further determine the target to be tested from the test task.
Preferably, after receiving the test task, the electronic device determines the target to be tested includes, but is not limited to, one or more of the following combinations:
(1) The electronic equipment acquires the using times of all targets in the test task, sorts the using times of all targets according to the sequence from more to less, and determines the targets ranked first as the targets to be tested.
For example: all targets in the test task acquired by the electronic device include: and after sequencing the use times of the target A, the use times of the target B and the use times of the target C according to the sequence from more to less, the electronic equipment obtains that the use times of the target A are larger than the use times of the target B, and the use times of the target B are larger than the use times of the target C, and then the electronic equipment determines the target A as the target to be tested.
It can be understood that, because the frequency of use of some targets is low, the user is hardly using the targets, so that the test priority is also low, and by the above embodiment, the electronic device can select the targets with higher frequency of use from all the targets as the targets to be tested.
(2) The electronic equipment acquires the error rates of all targets in the test task, sorts the error rates of all targets according to the sequence from big to small, and determines the targets ranked first as the targets to be tested.
For example: the electronic device obtaining all the targets in the test task includes: and after the error rate of the target A, the error rate of the target B and the error rate of the target C are sequenced according to the sequence from more to less, the electronic equipment obtains that the error rate of the target A is larger than the error rate of the target B, and the error rate of the target B is larger than the error rate of the target C, so that the electronic equipment determines the target A as the target to be tested.
It can be understood that, because some targets have low error rate or are not in error, the test priority is also low, and through the embodiment, the electronic device can screen out the targets with high error rate from all the targets as the targets to be tested.
(3) And the electronic equipment acquires an associated target of a last test target in the test task and determines the associated target as the target to be tested.
For example: and the electronic equipment determines the target A as the target to be tested if the last test target acquired by the electronic equipment is the target B and the associated target of the target B is the target A.
It can be understood that, because some test targets are related to each other, after the test event of one test target is executed, the test event of the related test target will be executed continuously, so by the embodiment, the electronic device can directly determine the related target of the last test target as the target to be tested, thereby avoiding a complex screening process.
(4) The electronic equipment acquires a current test module in the test task and acquires a target corresponding to the current test module from all targets, and the electronic equipment determines the target to be tested from the corresponding targets according to a configuration rule, wherein the current test module corresponds to a class of user groups.
Specifically, a test item may include a plurality of test modules, each corresponding to a different user group, e.g., a financial website, with personal user modules for personal use, and enterprise user modules for enterprise use. At the time of testing, only one module may be tested.
For example: if the electronic device obtains that the current testing module is W, the electronic device obtains a target corresponding to the current testing module W, and the target to be tested can be determined from the corresponding targets according to the rules (1) - (3).
It can be understood that, since only a part of the targets in one test item need to be tested correspondingly in one test module, by the above embodiment, the electronic device can directly determine the target to be tested from the corresponding targets according to the configuration rule.
Through the mode, the electronic equipment can not only avoid the influence of redundant testing work on the testing efficiency, but also save the testing cost.
S11, the electronic equipment acquires a configuration list from a configuration database, wherein a shielding object is recorded in the configuration list.
It should be noted that the configuration list corresponds to a test blacklist, and the targets stored in the configuration list do not need to be tested.
Specifically, names or marks of all targets may be stored in the configuration list, so that the targets to be tested can be matched with the targets in the configuration list conveniently.
Preferably, before the electronic device obtains the configuration list, the method further includes:
(1) The electronic equipment receives configuration data input by a user, and configures the configuration list according to the configuration data.
Specifically, the configuration data includes data entered by the user, such as: the name or logo of the object under test, etc. is not required.
Through the embodiment, the electronic device can configure the configuration list according to the actual requirement of the user so as to enable the user to perform self-defined configuration.
(2) The electronic equipment acquires a history configuration record from a specified database, and configures the configuration list according to the history configuration record.
Specifically, the specified database stores all history configuration records, and the invention does not limit the specified database.
Through the implementation mode, the electronic equipment can configure the configuration list according to the history configuration record, human intervention is reduced, and accuracy is high.
After the electronic device has configured the configuration list, the electronic device may store the configuration list in the configuration database, where the configuration database may be a database of the electronic device, or a database communicating with the electronic device, and the invention is not limited herein.
S12, the electronic equipment matches the target to be detected with all shielding objects in the configuration list to determine whether the target to be detected is in the configuration list.
Specifically, the electronic device matches the target to be tested with the configuration list, so that whether to perform testing or not can be determined according to the matching result.
Specifically, the electronic device may match the configuration list according to the name of the target to be tested, or match the configuration list according to the identifier of the target to be tested, which is not limited in the present invention.
Further, the matching result may include:
the target to be measured is not in the configuration list, and the target to be measured is in the configuration list.
The electronic device will also have different coping strategies for different matching results, as will be explained in detail later.
S13, when the target to be tested is not in the configuration list, the electronic equipment tests the target to be tested.
It should be noted that different matching results will correspond to different response manners, that is, the electronic device will determine whether to test the target to be tested according to different matching results, which will be described in detail below.
S14, when the target to be detected is in the configuration list, the electronic equipment skips the target to be detected.
It can be understood that, because the objects in the configuration list do not need to be tested, when the objects to be tested are not in the configuration list, the electronic device can perform the test of the objects to be tested in the conventional step, or when the objects to be tested are in the configuration list, the electronic device can skip the objects to be tested and perform the acquisition of the next test object.
Through the implementation mode, the electronic equipment can achieve the purpose of automatically shielding targets which do not need to be tested, so that the testing time is saved, the power consumption during testing is reduced, and the testing performance is effectively guaranteed.
Preferably, the electronic device skips the target to be tested when the target to be tested is in the configuration list, including, but not limited to, any one of the following ways:
(1) And when the target to be detected is a webpage, the electronic equipment prevents the webpage from being popped up.
For example: when the test is based on the activity realization, the electronic equipment acquires a page D which is required to be traversed currently, the electronic equipment polls the configuration list, if the page D exists in the configuration list, a false is returned, and the activity controller is not allowed to traverse the page D; if the page D does not exist in the configuration list, returning true, and allowing the page D to be traversed by an ActivityController.
(2) And when the target to be detected is a control, the electronic equipment prevents the control from executing.
For example: when the test is based on control implementation, the accessibilityNodeInfo of the current page D is obtained through accessibity, wherein the accessibilityNodeInfo contains all control information of the page D, the electronic equipment polls the configuration list, and if a control E exists in the configuration list, a clicking event of the control E is not injected; and if the control E does not exist in the configuration list, injecting a click event of the control E.
Through the embodiment, the electronic equipment can effectively shield the webpage or the control which does not need to be tested, and the testing capability is improved.
Preferably, after the electronic device tests the target to be tested when the target to be tested is not in the configuration list, the method further includes:
and the electronic equipment records the test log and the test result of the target to be tested as the test data of the target to be tested.
Through the implementation mode, the electronic equipment can record the test data in time and store the test data in the appointed database, so that the subsequent use is convenient.
In particular, the specified database may include, but is not limited to: a local database of the electronic device, a database in communication with the electronic device, etc.
It can be understood that, when the specified database is a local database, the electronic device can quickly read the test data from the specified database, and the reading speed is more dominant.
And when the appointed database is a database communicated with the electronic equipment, the storage space of the electronic equipment can be saved, so that the operation capability of the electronic equipment is ensured.
Preferably, after recording the test log and the test result of the target to be tested as the test data of the target to be tested, the method further includes:
when the error identification exists in the test log of the target to be tested, the electronic equipment determines that the target to be tested has errors and sends the test data of the target to be tested to appointed personnel.
Specifically, the designated personnel include, but are not limited to, one or a combination of the following: operation staff, test staff, etc.
Furthermore, the appointed personnel can be subjected to self-defined configuration by the electronic equipment so as to meet the actual requirements better.
Through the embodiment, the electronic equipment can send the test data of the target to be tested to the appointed personnel when the test is wrong, so that the appointed personnel can analyze the error reason according to the test data, and further timely and effective maintenance measures are adopted.
In summary, after receiving the test task, the invention can analyze the test task to determine the target to be tested; acquiring a configuration list from a configuration database, wherein a shielding object is recorded in the configuration list; matching the target to be detected with all shielding objects in the configuration list to determine whether the target to be detected is in the configuration list; when the target to be tested is not in the configuration list, testing the target to be tested; and skipping over the target to be tested when the target to be tested is in the configuration list. According to the invention, the target to be tested and the configuration list can be matched to obtain a matching result, so that different coping strategies are implemented for different matching results, namely, the target to be tested is tested according to the matching result, thereby realizing the purpose of automatically shielding the target which does not need to be tested, saving the testing time, reducing the power consumption during the testing, and effectively ensuring the testing performance.
FIG. 2 is a functional block diagram of a preferred embodiment of the Monkey test device of the present invention. The Monkey testing device 11 includes a determining unit 110, an acquiring unit 111, a matching unit 112, a testing unit 113, a receiving unit 114, a configuring unit 115, a recording unit 116, a transmitting unit 117, and a skipping unit 118. The module/unit referred to in the present invention refers to a series of computer program segments capable of being executed by the processor 13 and of performing a fixed function, which are stored in the memory 12. In the present embodiment, the functions of the respective modules/units will be described in detail in the following embodiments.
After receiving the test task, the determining unit 110 parses the test task to determine the target to be tested.
In at least one embodiment of the present invention, when the Monkey test is performed, it is often necessary to perform the test on all the contents included in the whole test event, but it is impossible to skip a control or web page to continue the test, so that more test time is consumed, the test efficiency is reduced, a certain burden is caused to the operation of the electronic device, and the test effect is poor.
In at least one embodiment of the present invention, after receiving a test task, at least one test target will be included in the test task, and the determining unit 110 determines the target to be tested from the at least one test target.
For example: the test task may include a test on a web page, and when the electronic device tests the web page, since the web page includes at least one test target (e.g., each control on the web page, etc.), the determining unit 110 may determine the target to be tested from each control.
Specifically, the receiving unit 114 receives test tasks including, but not limited to, any of the following forms:
(1) The receiving unit 114 receives a test instruction input by a user, and thereby determines that a test task is received.
(2) The receiving unit 114 receives a test task generated by the automatic operation of the system and determines that the test task is received therefrom.
Through the above embodiment, the receiving unit 114 may receive the test task, and further determine the target to be tested from the test task.
Preferably, after receiving the test task, the determining unit 110 determines that the target to be tested includes, but is not limited to, one or more of the following combinations:
(1) The determining unit 110 obtains the usage times of all the targets in the test task, sorts the usage times of all the targets according to the order from more to less, and the determining unit 110 determines the first-ranked target as the target to be tested.
For example: all targets in the test task acquired by the determining unit 110 include: the determining unit 110 may determine that the number of times of use of the target a is greater than the number of times of use of the target B and the number of times of use of the target B is greater than the number of times of use of the target C after sorting the number of times of use of the target a, the number of times of use of the target B, and the number of times of use of the target C in order from more to less, where the determining unit 110 determines the target a as the target to be measured.
It can be understood that, since the frequency of use of some objects is low, the user is hardly using the objects, and therefore, the test priority is low, and by the above embodiment, the determining unit 110 may screen the objects with high frequency of use from all the objects as the objects to be tested.
(2) The determining unit 110 obtains the error rates of all the targets in the test task, sorts the error rates of all the targets according to the order from big to small, and the determining unit 110 determines the first-ranked target as the target to be tested.
For example: the determining unit 110 obtains all the targets in the test task, including: the determining unit 110 orders the error rate of the target a, the error rate of the target B, and the error rate of the target C in order from more to less, so as to obtain that the error rate of 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, and then the determining unit 110 determines the target a as the target to be tested.
It can be understood that, because some targets have low error rates or are not in error, the test priority is also low, and by the above embodiment, the determining unit 110 may screen out the targets with high error rates from all the targets as the targets to be tested.
(3) The determining unit 110 obtains an associated target of a last test target in the test task, and determines the associated target as the target to be tested.
For example: the determining unit 110 determines that the last test target acquired by the determining unit 110 is the target B, and the associated target of the target B is the target a, then the determining unit 110 determines the target a as the target to be tested.
It can be understood that, because some test targets are related to each other, after the test event of one test target is executed, the test event of the related test target will be executed continuously, so by the above embodiment, the determining unit 110 may directly determine the related target of the last test target as the target to be tested, thereby avoiding a complex screening process.
(4) The determining unit 110 obtains a current testing module in the testing task and obtains a target corresponding to the current testing module from all the targets, and the determining unit 110 determines the target to be tested from the corresponding targets according to a configuration rule, wherein the current testing module corresponds to a class of user group.
Specifically, a test item may include a plurality of test modules, each corresponding to a different user group, e.g., a financial website, with personal user modules for personal use, and enterprise user modules for enterprise use. At the time of testing, only one module may be tested.
For example: if the determining unit 110 obtains that the current test module is W, the determining unit 110 obtains a target corresponding to the current test module W, and may determine the target to be tested from the corresponding targets according to the rules (1) - (3) above.
It can be understood that, since only a part of the targets in one test item need to be tested correspondingly in one test module, the determining unit 110 can determine the target to be tested directly from the corresponding targets according to the configuration rule through the above embodiment.
Through the mode, the electronic equipment can not only avoid the influence of redundant testing work on the testing efficiency, but also save the testing cost.
The acquisition unit 111 acquires a configuration list in which mask objects are recorded, from a configuration database.
It should be noted that the configuration list corresponds to a test blacklist, and the targets stored in the configuration list do not need to be tested.
Specifically, names or marks of all targets may be stored in the configuration list, so that the targets to be tested can be matched with the targets in the configuration list conveniently.
Preferably, before the acquiring unit 111 acquires the configuration list, the method further includes:
(1) The receiving unit 114 receives configuration data input by a user, and the configuration unit 115 configures the configuration list according to the configuration data.
Specifically, the configuration data includes data entered by the user, such as: the name or logo of the object under test, etc. is not required.
Through the above embodiment, the configuration unit 115 may configure the configuration list according to the actual requirement of the user, so as to enable the user to perform the custom configuration.
(2) The acquisition unit 111 acquires a history configuration record from a specified database, and the configuration unit 115 configures the configuration list according to the history configuration record.
Specifically, the specified database stores all history configuration records, and the invention does not limit the specified database.
Through the above embodiment, the configuration unit 115 may configure the configuration list according to the history configuration record, so as to reduce human intervention and have higher accuracy.
After the configuration unit 115 configures the configuration list, the electronic device may store the configuration list in the configuration database, where the configuration database may be a database of the electronic device, or a database communicating with the electronic device, and the invention is not limited herein.
The matching unit 112 matches the target to be tested with all the mask objects in the configuration list to determine whether the target to be tested is in the configuration list.
Specifically, the matching unit 112 matches the target to be tested with the configuration list, so as to determine whether to perform the test according to the matching result.
Specifically, the matching unit 112 may match the configuration list according to the name of the target to be tested, or match the configuration list according to the identifier of the target to be tested, which is not limited in the present invention.
Further, the matching result may include:
the target to be measured is not in the configuration list, and the target to be measured is in the configuration list.
The electronic device will also have different coping strategies for different matching results, as will be explained in detail later.
When the target to be tested is not in the configuration list, the test unit 113 tests the target to be tested.
It should be noted that different matching results will correspond to different response manners, that is, the test unit 113 will determine whether to test the target to be tested according to different matching results, which will be described in detail below.
When the object under test is in the configuration list, the skip unit 118 skips the object under test.
It will be appreciated that, since the objects in the configuration list do not need to be tested, when the objects to be tested are not in the configuration list, the test unit 113 may perform the conventional step test on the objects to be tested, or when the objects to be tested are in the configuration list, the test unit 113 may skip the objects to be tested and perform the acquisition of the next test object.
Through the implementation mode, the electronic equipment can achieve the purpose of automatically shielding targets which do not need to be tested, so that the testing time is saved, the power consumption during testing is reduced, and the testing performance is effectively guaranteed.
Preferably, the test unit 113 skips the target to be tested when the target to be tested is in the configuration list, including, but not limited to, any one of the following ways:
(1) When the target to be tested is a web page, the test unit 113 prevents the web page from popping up.
For example: when the test is based on the activity implementation, the test unit 113 acquires a page D that needs to be traversed currently, the test unit 113 polls the configuration list, if the page D exists in the configuration list, a false is returned, and the activity controller will not allow to traverse the page D; if the page D does not exist in the configuration list, returning true, and allowing the page D to be traversed by an ActivityController.
(2) When the object to be tested is a control, the test unit 113 prevents the control from executing.
For example: when the test is based on control implementation, the accessibilityNodeInfo of the current page D is obtained through accessibity, wherein the accessibilityNodeInfo contains all control information of the page D, the test unit 113 polls the configuration list, and if a control E exists in the configuration list, a clicking event of the control E is not injected; and if the control E does not exist in the configuration list, injecting a click event of the control E.
Through the above embodiment, the test unit 113 can effectively shield the web pages or controls that do not need to be tested, thereby improving the testing capability.
Preferably, after the test unit 113 tests the target to be tested when the target to be tested is not in the configuration list, the method further includes:
the recording unit 116 records the test log and the test result of the target to be tested as the test data of the target to be tested.
Through the above embodiment, the recording unit 116 may record the test data in time, and may store the test data in the specified database, so as to facilitate subsequent use.
In particular, the specified database may include, but is not limited to: a local database of the electronic device, a database in communication with the electronic device, etc.
It can be understood that, when the specified database is a local database, the electronic device can quickly read the test data from the specified database, and the reading speed is more dominant.
And when the appointed database is a database communicated with the electronic equipment, the storage space of the electronic equipment can be saved, so that the operation capability of the electronic equipment is ensured.
Preferably, after the recording unit 116 records the test log and the test result of the target to be tested as the test data of the target to be tested, the method further includes:
When there is an error flag in the test log of the target to be tested, the determining unit 110 determines that the target to be tested has an error, and the transmitting unit 117 transmits the test data of the target to be tested to a designated person.
Specifically, the designated personnel include, but are not limited to, one or a combination of the following: operation staff, test staff, etc.
Furthermore, the appointed personnel can be subjected to self-defined configuration by the electronic equipment so as to meet the actual requirements better.
Through the above embodiment, the sending unit 117 may send the test data of the target to be tested to a designated person when an error occurs in the test, so that the designated person can analyze the error cause according to the test data, and further take timely and effective maintenance measures.
In summary, after receiving the test task, the invention can analyze the test task to determine the target to be tested; acquiring a configuration list from a configuration database, wherein a shielding object is recorded in the configuration list; matching the target to be detected with all shielding objects in the configuration list to determine whether the target to be detected is in the configuration list; when the target to be tested is not in the configuration list, testing the target to be tested; and skipping over the target to be tested when the target to be tested is in the configuration list. According to the invention, the target to be tested and the configuration list can be matched to obtain a matching result, so that different coping strategies are implemented for different matching results, namely, the target to be tested is tested according to the matching result, thereby realizing the purpose of automatically shielding the target which does not need to be tested, saving the testing time, reducing the power consumption during the testing, and effectively ensuring the testing performance.
Fig. 3 is a schematic structural diagram of an electronic device according to a preferred embodiment of the present invention for implementing the Monkey test method.
The electronic device 1 is a device capable of automatically performing numerical calculation and/or information processing according to instructions set or stored in advance, and its hardware includes, but is not limited to, a microprocessor, an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a programmable gate array (Field-Programmable Gate Array, FPGA), a digital processor (Digital Signal Processor, DSP), an embedded device, and the like.
The electronic device 1 may also be, but is not limited to, any electronic product that can interact with a user by means of a keyboard, a mouse, a remote control, a touch pad, or a voice control device, such as a personal computer, a tablet, a smart phone, a personal digital assistant (Personal Digital Assistant, PDA), a game console, an interactive internet protocol television (Internet Protocol Television, IPTV), a smart wearable device, etc.
The electronic device 1 may also be a computing device such as a desktop computer, a notebook computer, a palm computer, a cloud server, etc.
The network in which the electronic device 1 is located includes, but is not limited to, the internet, a wide area network, a metropolitan area network, a local area network, a virtual private network (Virtual Private Network, VPN), etc.
In one embodiment of the invention, the electronic device 1 includes, but is not limited to, a memory 12, a processor 13, and a computer program, such as a Monkey test program, stored in the memory 12 and executable on the processor 13.
It will be appreciated by those skilled in the art that the schematic diagram is merely an example of the electronic device 1 and does not constitute a limitation of the electronic device 1, and may include more or less components than illustrated, or may combine certain components, or different components, e.g. the electronic device 1 may further include input-output devices, network access devices, buses, etc.
The processor 13 may be a central processing unit (Central Processing Unit, CPU), but may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), off-the-shelf programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. The general purpose processor may be a microprocessor or the processor may be any conventional processor, etc., and the processor 13 is an operation core and a control center of the electronic device 1, connects various parts of the entire electronic device 1 using various interfaces and lines, and executes an operating system of the electronic device 1 and various installed applications, program codes, etc.
The processor 13 executes the operating system of the electronic device 1 and various types of applications installed. The processor 13 executes the application program to implement the steps in the various Monkey test method embodiments described above, such as steps S10, S11, S12, S13, S14 shown in fig. 1.
Alternatively, the processor 13 may implement the functions of the modules/units in the above-described device embodiments when executing the computer program, for example: after receiving a test task, analyzing the test task to determine a target to be tested; acquiring a configuration list from a configuration database, wherein a shielding object is recorded in the configuration list; matching the target to be detected with all shielding objects in the configuration list to determine whether the target to be detected is in the configuration list; when the target to be tested is not in the configuration list, testing the target to be tested; and skipping over the target to be tested when the target to be tested is in the configuration list.
Illustratively, the computer program may be partitioned into one or more modules/units that are stored in the memory 12 and executed by the processor 13 to complete the present invention. The one or more modules/units may be a series of instruction segments of a computer program capable of performing a specific function for describing the execution of the computer program in the electronic device 1. For example, the computer program may be divided into a determining unit 110, an acquiring unit 111, a matching unit 112, a testing unit 113, a receiving unit 114, a configuring unit 115, a recording unit 116, a transmitting unit 117, and a skipping unit 118.
The memory 12 may be used to store the computer program and/or module, and the processor 13 may implement various functions of the electronic device 1 by running or executing the computer program and/or module stored in the memory 12 and invoking data stored in the memory 12. The memory 12 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like; the storage data area may store data (such as audio data, phonebook, etc.) created according to the use of the handset, etc. In addition, the memory 12 may include high-speed random access memory, and may also include non-volatile memory, such as a hard disk, memory, plug-in hard disk, smart Media Card (SMC), secure Digital (SD) Card, flash Card (Flash Card), at least one disk storage device, flash memory device, or other volatile solid-state storage device.
The memory 12 may be an external memory and/or an internal memory of the electronic device 1. Further, the Memory 12 may be a circuit having a Memory function, such as a RAM (Random-Access Memory), a FIFO (First In First Out), etc., which is not in a physical form in the integrated circuit. Alternatively, the memory 12 may be a physical memory, such as a memory bank, a TF Card (Trans-flash Card), or the like.
The integrated modules/units of the electronic device 1 may be stored in a computer readable storage medium if implemented in the form of software functional units and sold or used as separate products. Based on such understanding, the present invention may implement all or part of the flow of the method of the above embodiment, or may be implemented by a computer program to instruct related hardware, where the computer program may be stored in a computer readable storage medium, and when the computer program is executed by a processor, the computer program may implement the steps of each of the method embodiments described above.
Wherein the computer program comprises computer program code which may be in source code form, object code form, executable file or some intermediate form etc. The computer readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), an electrical carrier signal, a telecommunications signal, a software distribution medium, and so forth. It should be noted that the computer readable medium contains content that can be appropriately scaled according to the requirements of jurisdictions in which such content is subject to legislation and patent practice, such as in certain jurisdictions in which such content is subject to legislation and patent practice, the computer readable medium does not include electrical carrier signals and telecommunication signals.
In connection with fig. 1, the memory 12 in the electronic device 1 stores a plurality of instructions to implement a Monkey test method, which the processor 13 can execute to implement: after receiving a test task, analyzing the test task to determine a target to be tested; acquiring a configuration list from a configuration database, wherein a shielding object is recorded in the configuration list; matching the target to be detected with all shielding objects in the configuration list to determine whether the target to be detected is in the configuration list; when the target to be tested is not in the configuration list, testing the target to be tested; and skipping over the target to be tested when the target to be tested is in the configuration list.
According to a preferred embodiment of the invention, the processor 13 further executes a plurality of instructions including:
acquiring the use times of all targets in the test task, sequencing the use times of all targets according to the sequence from more to less, and determining the targets ranked first as the targets to be tested; and/or
Obtaining error rates of all targets in the test task, sequencing the error rates of all targets according to the sequence from big to small, and determining the targets ranked first as the targets to be tested; and/or
Acquiring an associated target of a last test target in the test task, and determining the associated target as the target to be tested; and/or
Acquiring a current test module in the test task, acquiring targets corresponding to the current test module from all targets, and determining the target to be tested from the corresponding targets according to a configuration rule, wherein the current test module corresponds to a user group.
According to a preferred embodiment of the invention, the processor 13 further executes a plurality of instructions including:
receiving configuration data input by a user, and configuring the configuration list according to the configuration data; and/or
And acquiring a history configuration record from a specified database, and configuring the configuration list according to the history configuration record.
According to a preferred embodiment of the invention, the processor 13 further executes a plurality of instructions including:
when the target to be detected is a webpage, the webpage is prevented from being popped up; or alternatively
And when the target to be detected is a control, preventing the control from being executed.
According to a preferred embodiment of the invention, the processor 13 further executes a plurality of instructions including:
and recording a test log and a test result of the target to be tested as test data of the target to be tested.
According to a preferred embodiment of the invention, the processor 13 further executes a plurality of instructions including:
when an error mark exists in the test log of the target to be tested, determining that the target to be tested has an error;
and sending the test data of the target to be tested to appointed personnel.
Specifically, the specific implementation method of the above instructions by the processor 13 may refer to the description of the relevant steps in the corresponding embodiment of fig. 1, which is not repeated herein.
In the several embodiments provided in the present invention, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is merely a logical function division, and there may be other manners of division when actually implemented.
The modules described as separate components may or may not be physically separate, and components shown as modules may or may not be physical units, may be located in one place, or may be distributed over multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional module in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units can be realized in a form of hardware or a form of hardware and a form of software functional modules.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential characteristics thereof.
The present embodiments are, therefore, to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference signs in the claims shall not be construed as limiting the claim concerned.
Furthermore, it is evident that the word "comprising" does not exclude other elements or steps, and that the singular does not exclude a plurality. A plurality of units or means recited in the system claims can also be implemented by means of software or hardware by means of one unit or means. The terms second, etc. are used to denote a name, but not any particular order.
Finally, it should be noted that the above-mentioned embodiments are merely for illustrating the technical solution of the present invention and not for limiting the same, and although the present invention has been described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications and equivalents may be made to the technical solution of the present invention without departing from the spirit and scope of the technical solution of the present invention.

Claims (9)

1. A method of Monkey testing, the method comprising:
after receiving a test task, analyzing the test task to determine a target to be tested;
acquiring a configuration list from a configuration database, wherein a shielding object is recorded in the configuration list;
matching the target to be tested with all shielding objects in the configuration list to determine whether the target to be tested is in the configuration list, including: when the target to be tested is a control, acquiring accessibilityNodeInfo of a page to be traversed through accessibity, wherein the accessibilityNodeInfo comprises all control information of the page, and polling the configuration list according to all control information to determine whether the control exists in the configuration list, or when the target to be tested is a webpage, polling the configuration list according to the webpage, and determining whether the webpage exists in the configuration list according to a returned result after polling;
When the target to be tested is not in the configuration list, testing the target to be tested;
skipping over the target to be tested when the target to be tested is in the configuration list, including: and when the target to be tested is the control, stopping execution of the control by not injecting a click event of the control, or when the target to be tested is the webpage and the test is performed based on the activity, stopping the webpage from being popped up by stopping the actigcontrol from traversing the webpage.
2. The Monkey test method of claim 1, wherein after receiving the test task, parsing the test task to determine the target under test comprises one or more of the following combinations:
acquiring the use times of all targets in the test task, sequencing the use times of all targets according to the sequence from more to less, and determining the targets ranked first as the targets to be tested; and/or
Obtaining error rates of all targets in the test task, sequencing the error rates of all targets according to the sequence from big to small, and determining the targets ranked first as the targets to be tested; and/or
Acquiring an associated target of a last test target in the test task, and determining the associated target as the target to be tested; and/or
Acquiring a current test module in the test task, acquiring targets corresponding to the current test module from all targets, and determining the target to be tested from the corresponding targets according to a configuration rule, wherein the current test module corresponds to a user group.
3. The Monkey test method of claim 1, wherein prior to obtaining the configuration list, the method further comprises:
receiving configuration data input by a user, and configuring the configuration list according to the configuration data; and/or
And acquiring a history configuration record from a specified database, and configuring the configuration list according to the history configuration record.
4. The Monkey test method of claim 1, wherein the method further comprises:
and recording a test log and a test result of the target to be tested as test data of the target to be tested.
5. The Monkey test method as recited in claim 4 wherein after recording the test log and test result of the target under test as the test data of the target under test, the method further comprises:
When an error mark exists in the test log of the target to be tested, determining that the target to be tested has an error;
and sending the test data of the target to be tested to appointed personnel.
6. A Monkey testing device, the device comprising:
the determining unit is used for analyzing the test task after receiving the test task so as to determine a target to be tested;
the device comprises an acquisition unit, a configuration database and a processing unit, wherein the acquisition unit is used for acquiring a configuration list from the configuration database, and a shielding object is recorded in the configuration list;
the matching unit is configured to match the target to be tested with all the shielding objects in the configuration list, so as to determine whether the target to be tested is in the configuration list, and includes: when the target to be tested is a control, acquiring accessibilityNodeInfo of a page to be traversed through accessibity, wherein the accessibilityNodeInfo comprises all control information of the page, and polling the configuration list according to all control information to determine whether the control exists in the configuration list, or when the target to be tested is a webpage, polling the configuration list according to the webpage, and determining whether the webpage exists in the configuration list according to a returned result after polling;
The test unit is used for testing the target to be tested when the target to be tested is not in the configuration list;
a skipping unit, configured to skip the target to be tested when the target to be tested is in the configuration list, including: and when the target to be tested is the control, stopping execution of the control by not injecting a click event of the control, or when the target to be tested is the webpage and the test is performed based on the activity, stopping the webpage from being popped up by stopping the actigcontrol from traversing the webpage.
7. The Monkey test device of claim 6, wherein the determination unit, upon receiving a test task, parses the test task to determine a target under test comprises one or a combination of more of:
acquiring the use times of all targets in the test task, sequencing the use times of all targets according to the sequence from more to less, and determining the targets ranked first as the targets to be tested; and/or
Obtaining error rates of all targets in the test task, sequencing the error rates of all targets according to the sequence from big to small, and determining the targets ranked first as the targets to be tested; and/or
Acquiring an associated target of a last test target in the test task, and determining the associated target as the target to be tested; and/or
Acquiring a current test module in the test task, acquiring targets corresponding to the current test module from all targets, and determining the target to be tested from the corresponding targets according to a configuration rule, wherein the current test module corresponds to a user group.
8. An electronic device, the electronic device comprising:
a memory storing at least one instruction; a kind of electronic device with high-pressure air-conditioning system
A processor executing instructions stored in the memory to implement the Monkey test method as recited in any one of claims 1 to 5.
9. A computer-readable storage medium, characterized by: the computer readable storage medium having stored therein at least one instruction for execution by a processor in an electronic device to implement the Monkey test method of any of claims 1-5.
CN201810931208.3A 2018-08-15 2018-08-15 Method and device for Monkey test, electronic equipment and computer readable storage medium Active CN109359027B (en)

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 CN109359027A (en) 2019-02-19
CN109359027B true 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)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
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
CN110633192B (en) * 2019-08-28 2023-05-26 RealMe重庆移动通信有限公司 Test method, test device, terminal equipment and computer readable storage medium
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

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
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

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103324566B (en) * 2012-03-20 2016-04-06 阿里巴巴集团控股有限公司 A kind of multi-version test method and device
CN102768641B (en) * 2012-06-15 2015-06-17 深圳中兴网信科技有限公司 Webpage testing factor selecting device and webpage testing factor selecting method
CN104156307B (en) * 2014-07-03 2017-04-05 安徽景行信息科技有限公司 A kind of browser compatibility detection method and system
WO2017023300A1 (en) * 2015-08-04 2017-02-09 Hewlett Packard Enterprise Development Lp Selective application testing
US9898392B2 (en) * 2016-02-29 2018-02-20 Red Hat, Inc. Automated test planning using test case relevancy
CN105786707B (en) * 2016-02-29 2019-01-11 腾讯科技(深圳)有限公司 Program testing method 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
CN107622016A (en) * 2017-09-25 2018-01-23 无线生活(杭州)信息科技有限公司 A kind of page method of testing and device
CN108304324B (en) * 2018-01-22 2022-07-19 百度在线网络技术(北京)有限公司 Test case generation method, device, equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
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

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Haibing Zheng 等.Automated test input generation for android: towards getting there in an industrial case.《2017 IEEE/ACM 39th International Conference on Software Engineering: Software Engineering in Practice Track (ICSE-SEIP)》.2017,第253-262页. *
蔡增柱.基于Android移动平台测试相关技术研究.《中国优秀硕士学位论文全文数据库 (信息科技辑)》.2013,(第05期),I136-514. *

Also Published As

Publication number Publication date
CN109359027A (en) 2019-02-19

Similar Documents

Publication Publication Date Title
CN109359027B (en) Method and device for Monkey test, electronic equipment and computer readable storage medium
CN107392801B (en) Method and device for controlling order disorder, storage medium and electronic equipment
CN109376873B (en) Operation and maintenance method, operation and maintenance device, electronic equipment and computer readable storage medium
US20170005858A1 (en) Log processing method and client
CN109558384B (en) Log classification method, device, electronic equipment and storage medium
CN108460068B (en) Method, device, storage medium and terminal for importing and exporting report
CN108156141B (en) Real-time data identification method and device and electronic equipment
CN112015663B (en) Test data recording method, device, equipment and medium
CN110825731A (en) Data storage method and device, electronic equipment and storage medium
CN114676040A (en) Test coverage verification method and device and storage medium
CN111158926B (en) Service request analysis method, device and equipment
CN111694843A (en) Missing number detection method and device, electronic equipment and storage medium
CN112306833A (en) Application program crash statistical method and device, computer equipment and storage medium
CN111767270A (en) Data migration method, device, server and storage medium
CN112671878B (en) Block chain information subscription method, device, server and storage medium
CN111506455B (en) Checking method and device for service release result
CN113132522A (en) Test method, device, server and medium
CN109558403B (en) Data aggregation method and device, computer device and computer readable storage medium
CN108304310B (en) Log analysis method and computing device
CN110138720B (en) Method and device for detecting abnormal classification of network traffic, storage medium and processor
CN116303320A (en) Real-time task management method, device, equipment and medium based on log file
CN113094224A (en) Server asset management method and device, computer equipment and storage medium
CN111046393A (en) Vulnerability information uploading method and device, terminal equipment and storage medium
CN113778399B (en) Configuration method and device of bottom layer channel
CN109828983B (en) PG database processing method, device, electronic equipment and storage medium

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