CN110888806A - Interface testing method, electronic equipment and storage medium - Google Patents
Interface testing method, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN110888806A CN110888806A CN201911120594.9A CN201911120594A CN110888806A CN 110888806 A CN110888806 A CN 110888806A CN 201911120594 A CN201911120594 A CN 201911120594A CN 110888806 A CN110888806 A CN 110888806A
- Authority
- CN
- China
- Prior art keywords
- interface
- testing method
- user operation
- operation log
- interface testing
- 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.)
- Pending
Links
Images
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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3065—Monitoring arrangements determined by the means or processing involved in reporting the monitored data
Abstract
The invention discloses a data processing method, which comprises the following steps: performing data analysis on the user operation log to generate an analysis result; performing interface processing according to the analysis result to generate a processing result; and performing interface test based on the interface processing result. The invention also discloses an electronic device and a storage medium. The interface testing method analyzes and mines the user operation log in a data analysis mode, and carries out interface processing according to an analysis result, so that a real user use scene can be simulated.
Description
Technical Field
The invention belongs to the technical field of software, and particularly relates to an interface testing method, electronic equipment and a storage medium.
Background
The electronic intelligent device has become an indispensable tool in daily life, such as a notebook computer, a mobile phone, a tablet computer, an intelligent watch, and the like. The development of network technology further expands the role of electronic intelligent devices to the aspects of social life. And the software is a carrier for realizing different functions of the electronic intelligent devices. In order to ensure the safety and convenience of users when using software, various tests are required for the software, and among them, the interface test is very important. In general software testing, a test tool is utilized to perform function and performance testing on a product according to a test scheme and a use case, and problems occurring in the testing are analyzed and evaluated so as to ensure that developed software can meet the requirements of users. At present, two methods for realizing the interface test are available. The first is to use the existing tool and the manual input interface to test, and the other is to design the interface by the programming language. In any mode, the interface combination is carried out through the subjective cognition of testers, the combination with the real use scene of a user cannot be carried out, and the script development and maintenance costs of the two modes are higher.
Disclosure of Invention
The invention provides an interface testing method. The interface testing method comprises the following steps: performing data analysis on the user operation log to generate an analysis result; performing interface processing according to the analysis result to generate a processing result; and performing interface test based on the interface processing result.
Another aspect of the present invention provides an electronic device, comprising at least one processor, configured to implement various programs; at least one memory for storing at least one program; when the at least one program is executed by the at least one processor, the electronic device implements the interface testing method provided by the invention.
Another aspect of the present invention provides a storage medium storing a program, which when executed by a processor implements the interface testing method provided by the present invention.
The interface testing method provided by the invention analyzes and excavates the user operation log in a data analysis mode, and carries out interface processing according to the analysis result, so that a real user use scene can be simulated. The interface testing method can automatically realize interface processing, save a large amount of script development and maintenance cost, make the interface testing closer to practical application and facilitate quick reproduction and problem search.
Drawings
Fig. 1 is a flowchart of an interface testing method according to an embodiment of the present invention.
Fig. 2 is a flow chart of data analysis of the interface test method.
Fig. 3 is a flowchart of data analysis performed on the user operation log.
Fig. 4 is a schematic diagram of a management console according to an embodiment of the present invention.
Fig. 5 is a schematic diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 shows a flow of an interface testing method according to an embodiment of the present invention. The interface testing method can be applied to various electronic devices including smart phones, computers, network servers and the like. The interface testing method includes the following steps 110, 120, 130 and 140.
And step 110, performing data analysis on the user operation log to generate an analysis result.
And step 120, performing interface processing according to the analysis result to generate a processing result.
And step 130, performing interface test based on the interface processing result, and returning processing log information.
And 140, rapidly positioning according to the interface processing result and the processing log information, and solving the problem.
As shown in fig. 2, in step 110, a big data processing manner may be adopted to perform data analysis on the user operation log, which further includes the following more specific steps.
And step 210, performing data cleaning on the user operation log.
And step 220, classifying the data information after the data cleaning.
As shown in fig. 3, in step 110, the user operation log may also be subjected to data analysis in the following manner:
in step 310, the user operation log parameters are filtered according to the preset conditions to generate the target information segment.
And 320, generating user key interactive behavior information based on the target information segment simulation.
For example: the preset conditions may include interface use frequency, list use frequency, function module use frequency, file editing frequency, types of files created and uploaded, team administrator and sub-account names, and the like.
In this embodiment, the specific feedback manner includes at least one of the following: sorting the right key, top and tail operation lists from high to low according to the use frequency of the lists; sequencing a left list of the management console from high to low according to the use frequency of the functional modules; sorting the files from high to low according to the file editing frequency; sorting the file list according to the types of the created and uploaded files; and prompting the names of the administrator team administrator and the sub account numbers first or arranging the names in the front.
The left list of the management console comprises modules which are commonly used by a user, when the modules which are commonly used by the user are activated by the user, at least three modules which are commonly used by the user are displayed, and the at least three modules which are commonly used by the user are sorted from high to low according to the use frequency of the function modules.
As shown in fig. 4, the operation list 600 of the management console provided by the embodiment of the present invention includes a left list 610. The left list 610 includes a first module 612, a second module 614, and a third module 616. The name of the third module 616 is a function commonly used by a user, so as to provide better interaction experience for the user, and enable the user to use the network disk function more quickly and conveniently.
When the third module 616 is activated by the user, a list 620 of commonly used functions is displayed to the right of the operations list 600. The frequently-used functions list 620 includes at least three functions commonly used by the user, a first frequently-used function 622, a second frequently-used function 624, and a third frequently-used function 626. The first common function 622, the second common function 624 and the third common function 626 are ordered according to the usage frequency of the functional modules from high to low.
Through analyzing user network operation log parameters, user behavior habits and preferences can be known in more detail and clearly, user adaptability of a network disk using environment is improved, enterprises can find high conversion rate pages, marketing is enabled to be more accurate and effective, and efficiency and income are improved.
The interface testing method provided by the invention analyzes and excavates the user operation log in a data analysis mode, and carries out interface processing according to the analysis result, so that a real user use scene can be simulated. The interface testing method can automatically realize interface processing, save a large amount of script development and maintenance cost, and make the interface testing closer to practical application. In addition, the method has high flexibility, can carry out pertinence test on specific function points, and is convenient for rapidly reproducing and searching problems.
Fig. 5 is a schematic diagram of an electronic device 900 according to an embodiment of the present invention. The electronic device 900 employs the data processing method of the present invention. The electronic device 900 includes a processor 910 and a memory 920. The processor 910 is configured to implement various programs. The memory 920 is used for storing at least one program, which when executed by the processor 910, the electronic device 900 may implement the interface detection method provided by the present invention.
In addition, an embodiment of the present invention further provides a storage medium storing a program, and the program implements the data processing method provided by the present invention when executed by a processor.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.
Claims (10)
1. An interface testing method, the method comprising:
performing data analysis on the user operation log to generate an analysis result;
performing interface processing according to the analysis result to generate a processing result; and
and performing interface test based on the interface processing result.
2. The interface testing method of claim 1, further comprising:
returning processing log information after the step of performing an interface test based on the interface processing.
3. The interface testing method of claim 2, further comprising:
and carrying out rapid positioning according to the interface processing result and the processing log information.
4. The interface testing method of claim 3, further comprising:
and after the step of quickly positioning according to the interface processing result and the processing log information, solving the problem.
5. The interface testing method of claim 4, wherein the step of performing data analysis on the user operation log to generate an analysis result comprises:
and carrying out big data analysis on the user operation log.
6. The interface testing method of claim 5, wherein the step of big data analysis of the user operation log comprises:
performing data cleaning on the user operation log;
classifying the data information after the data cleaning;
and clustering the classified data information.
7. The interface testing method of claim 5, wherein the step of big data analysis of the user operation log comprises:
screening user operation log parameters according to preset conditions to generate a target information segment;
and generating user key interactive behavior information based on the target information segment simulation.
8. The interface testing method of claim 7, wherein after generating the user focused interaction behavior information, the method further comprises:
and feeding back the simulated interactive behavior information to the user through the network disk.
9. An interface test apparatus comprising:
at least one processor for implementing each program;
at least one memory for storing at least one program;
the at least one program, when executed by the at least one processor, causes the electronic device to implement the method of any of claims 1-8.
10. A storage medium storing a program, characterized in that the program, when executed by a processor, implements the method according to any one of claims 1-8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911120594.9A CN110888806A (en) | 2019-11-15 | 2019-11-15 | Interface testing method, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911120594.9A CN110888806A (en) | 2019-11-15 | 2019-11-15 | Interface testing method, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110888806A true CN110888806A (en) | 2020-03-17 |
Family
ID=69747605
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911120594.9A Pending CN110888806A (en) | 2019-11-15 | 2019-11-15 | Interface testing method, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110888806A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112783507A (en) * | 2021-01-29 | 2021-05-11 | 北京百度网讯科技有限公司 | Data stream guiding playback method and device, electronic equipment and readable storage medium |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007140954A (en) * | 2005-11-18 | 2007-06-07 | Nippon Telegr & Teleph Corp <Ntt> | Operator simulation system and operator simulation method |
CN101079824A (en) * | 2006-06-15 | 2007-11-28 | 腾讯科技(深圳)有限公司 | A generation system and method for user interest preference vector |
CN104252456A (en) * | 2013-06-25 | 2014-12-31 | 阿里巴巴集团控股有限公司 | Method, device and system for weight estimation |
CN105260379A (en) * | 2015-09-08 | 2016-01-20 | 百度在线网络技术(北京)有限公司 | Information push method and device |
CN107436844A (en) * | 2017-07-07 | 2017-12-05 | 北京奇安信科技有限公司 | A kind of generation method and device of interface use-case intersection |
CN108347367A (en) * | 2017-01-24 | 2018-07-31 | 中国移动通信有限公司研究院 | A kind of E-mail processing method, device, server and client |
CN109460349A (en) * | 2018-09-19 | 2019-03-12 | 武汉达梦数据库有限公司 | A kind of method for generating test case and device based on log |
CN109525680A (en) * | 2019-01-17 | 2019-03-26 | 恒峰信息技术有限公司 | A kind of data push method based on web system |
CN109614318A (en) * | 2018-11-14 | 2019-04-12 | 金色熊猫有限公司 | Automated testing method, device, electronic equipment and computer-readable medium |
CN109614308A (en) * | 2018-10-16 | 2019-04-12 | 深圳壹账通智能科技有限公司 | Test data generating method, device and computer equipment based on crawler log |
CN109670116A (en) * | 2018-11-30 | 2019-04-23 | 内江亿橙网络科技有限公司 | A kind of intelligent recommendation system based on big data |
CN109753421A (en) * | 2018-12-29 | 2019-05-14 | 广东益萃网络科技有限公司 | Optimization method, device, computer equipment and the storage medium of service system |
-
2019
- 2019-11-15 CN CN201911120594.9A patent/CN110888806A/en active Pending
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007140954A (en) * | 2005-11-18 | 2007-06-07 | Nippon Telegr & Teleph Corp <Ntt> | Operator simulation system and operator simulation method |
CN101079824A (en) * | 2006-06-15 | 2007-11-28 | 腾讯科技(深圳)有限公司 | A generation system and method for user interest preference vector |
CN104252456A (en) * | 2013-06-25 | 2014-12-31 | 阿里巴巴集团控股有限公司 | Method, device and system for weight estimation |
CN105260379A (en) * | 2015-09-08 | 2016-01-20 | 百度在线网络技术(北京)有限公司 | Information push method and device |
CN108347367A (en) * | 2017-01-24 | 2018-07-31 | 中国移动通信有限公司研究院 | A kind of E-mail processing method, device, server and client |
CN107436844A (en) * | 2017-07-07 | 2017-12-05 | 北京奇安信科技有限公司 | A kind of generation method and device of interface use-case intersection |
CN109460349A (en) * | 2018-09-19 | 2019-03-12 | 武汉达梦数据库有限公司 | A kind of method for generating test case and device based on log |
CN109614308A (en) * | 2018-10-16 | 2019-04-12 | 深圳壹账通智能科技有限公司 | Test data generating method, device and computer equipment based on crawler log |
CN109614318A (en) * | 2018-11-14 | 2019-04-12 | 金色熊猫有限公司 | Automated testing method, device, electronic equipment and computer-readable medium |
CN109670116A (en) * | 2018-11-30 | 2019-04-23 | 内江亿橙网络科技有限公司 | A kind of intelligent recommendation system based on big data |
CN109753421A (en) * | 2018-12-29 | 2019-05-14 | 广东益萃网络科技有限公司 | Optimization method, device, computer equipment and the storage medium of service system |
CN109525680A (en) * | 2019-01-17 | 2019-03-26 | 恒峰信息技术有限公司 | A kind of data push method based on web system |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112783507A (en) * | 2021-01-29 | 2021-05-11 | 北京百度网讯科技有限公司 | Data stream guiding playback method and device, electronic equipment and readable storage medium |
CN112783507B (en) * | 2021-01-29 | 2023-07-25 | 北京百度网讯科技有限公司 | Data stream guiding playback method and device, electronic equipment and readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106021449A (en) | Searching method and device for mobile terminal and mobile terminal | |
US20080172580A1 (en) | Collecting and Reporting Code Coverage Data | |
CN110826302A (en) | Questionnaire creating method, device, medium and electronic equipment | |
CN106227873A (en) | Searching method and device | |
CN104901981A (en) | Method, device and system for analyzing user behavior | |
CN111400361A (en) | Data real-time storage method and device, computer equipment and storage medium | |
CN108920690A (en) | Visual network method for auditing safely and system | |
CN109947635A (en) | A kind of data reporting method, device, storage medium and terminal device | |
Lee et al. | An adaptive website system to improve efficiency with web mining techniques | |
CN110990285B (en) | UI (user interface) automatic testing method and device | |
Abad et al. | Learn more, pay less! lessons learned from applying the wizard-of-oz technique for exploring mobile app requirements | |
CN109032929A (en) | Program log record obtaining method and device and electronic equipment | |
US20150319263A1 (en) | Non-subjective quality analysis of digital content on tabletop devices | |
CN110959153B (en) | Application analysis using flexible post-processing | |
CN110888806A (en) | Interface testing method, electronic equipment and storage medium | |
JP2008310514A (en) | User operation history acquisition display device, user operation history acquisition display method, user operation history acquisition display program and recording medium recording that program | |
CN103810296A (en) | Information management method, information management device and electronic equipment | |
Kort et al. | Usage analysis: combining logging and qualitative methods | |
US11775419B2 (en) | Performing software testing with best possible user experience | |
CN112416212A (en) | Program access method, device, electronic equipment and readable storage medium | |
CN104408081B (en) | A kind of mobile terminal and its quick method and apparatus for checking file | |
CN108491325B (en) | File system testing method and device, storage medium and terminal | |
CN113900956A (en) | Test case generation method and device, computer equipment and storage medium | |
CN114238048A (en) | Automatic testing method and system for Web front-end performance | |
CN113220386A (en) | Instrument board publishing method and related equipment |
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 |