CN109542795A - Recommend method, apparatus, the medium, electronic equipment of test action for user - Google Patents

Recommend method, apparatus, the medium, electronic equipment of test action for user Download PDF

Info

Publication number
CN109542795A
CN109542795A CN201811524783.8A CN201811524783A CN109542795A CN 109542795 A CN109542795 A CN 109542795A CN 201811524783 A CN201811524783 A CN 201811524783A CN 109542795 A CN109542795 A CN 109542795A
Authority
CN
China
Prior art keywords
history
test action
test
action sequence
tested
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
Application number
CN201811524783.8A
Other languages
Chinese (zh)
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 Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen Co 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 Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201811524783.8A priority Critical patent/CN109542795A/en
Publication of CN109542795A publication Critical patent/CN109542795A/en
Pending legal-status Critical Current

Links

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

Abstract

The present invention relates to field of computer technology, disclose a kind of method, apparatus, medium and electronic equipment for recommending test action for user.This method comprises: inputting the first part of the beginning as test action sequence in test macro in response to tester, all history test action sequences started with the first part for being tested personnel in history and inputting in test macro are determined;It obtains the history test action sequence and is tested the operation note that personnel operated in history;Based on the operation note, test action sequence is recommended in selection;The test action recommendation that tester not yet inputs in test macro in the recommendation test action sequence is shown to tester.By the method, it is able to solve and may be such that test result inaccuracy by way of manually selecting the movement of the test program script unit combined test in pull-down menu in the prior art, the technical issues of test job inefficiency.

Description

Recommend method, apparatus, the medium, electronic equipment of test action for user
Technical field
It is the present invention relates to field of computer technology, in particular to a kind of to recommend the method, apparatus of test action for user, be situated between Matter and electronic equipment.
Background technique
Valuation system can be used for that people is assisted to carry out data analysis, for example, as the tool for predicting financial market.Currently, In order to optimize valuation system, keeps the function of valuation system more perfect, need to carry out valuation system to be continuously updated upgrading, rise Valuation system after grade is also tested, and test is by can just come into operation.
The test of valuation system after upgrading is completed generally by test macro, specifically: to valuation system into When row test, tester needs whole movements of specific definition test assignment, and corresponding one section of each test action detailed Test program script unit, test macro pass through fortune by the way that test script to be sent to valuation system to be tested, valuation system The row test script feeds back a test data to test macro, and last test system judges to test whether by analyzing the data Success.On the display interface of test macro, test program script unit is able to directly by way of visualizing pull-down menu The display of sight, tester are moved the test to be completed by the test program script unit manually selected in pull-down menu Make to be combined in input test system, the test script combined is then sent to valuation system to be tested by test macro.Thing In reality, saved by way of manually selecting the movement of the test program script unit combined test in pull-down menu in the above process Tester has been gone to carry out the work for repeating to write code, the work that can mitigate tester to a certain extent is appointed Business.
However, now in technology, by manually selecting the test program script unit combined test in pull-down menu There is also some technical barriers for the mode of movement: the performance due to needing to test valuation system in terms of different is surveyed Trial business is many kinds of, and different test assignments corresponds to different test actions, and different test actions need test program The various combination of script unit is completed, in this way, which it is corresponding in pull-down menu by manually selecting to allow for tester The work that test program script unit is combined becomes complicated trifling.If test assignment is complex, if tester It requires a great deal of time and finds test program script unit, so that working efficiency is low, it is more bad, when long Between carry out trifling work meeting so that tester in combined test procedure script unit be easy error so as to valuation System testing inaccuracy.
Summary of the invention
In field of computer technology, the technical issues of in order to solve test job inefficiency present in the relevant technologies, The present invention provides a kind of method, apparatus, medium and electronic equipments for recommending test action for user.
According to the one side of the application, a kind of method for recommending test action for user is provided, which comprises
The first part of the beginning as test action sequence is inputted in test macro in response to tester, determines and surveys All history test action sequences started with the first part for being tested personnel in history and inputting on test system Column;
All history test action sequences for obtaining the determination are tested the operation note that personnel operated in history Record;
All history test action sequences based on the determination are tested the operation note that personnel operated in history Test action sequence is recommended in record, selection;
The test action that tester not yet inputs in test macro in the recommendation test action sequence is recommended aobvious Show to tester, for tester's selection.
According to the another aspect of the application, a kind of device for recommending test action for user is provided, described device includes:
Determining module, be configured to determine that in test macro in history be tested personnel inputted with described first All history test action sequences of part beginning;
Module is obtained, all history test action sequences for being configured as obtaining the determination are tested people in history The operation note that member operated;
Selecting module is configured as recommending test action sequence;
Recommending module is configured as in test macro not yet inputting tester in the recommendation test action sequence Test action recommendation be shown to tester.
According to the another aspect of the application, a kind of computer-readable program medium is provided, computer program is stored with Instruction makes computer execute foregoing method when the computer program instructions are computer-executed.
According to the another aspect of the application, a kind of electronic equipment is provided, the electronic equipment includes:
Processor;
Memory is stored with computer-readable instruction on the memory, and the computer-readable instruction is by the processing When device executes, foregoing method is realized.
By the above technical solution of the present invention, compared with prior art, significant beneficial effect is: by for user Recommend test action, is able to solve existing in the prior art by manually selecting the test program script list in pull-down menu The technical issues of mode of member combination test action may be such that test result is inaccurate, test job inefficiency
It should be understood that the above general description and the following detailed description are merely exemplary, this can not be limited It is open.
Can be more fully appreciated from the following description in conjunction with attached drawing present invention teach that the foregoing and other aspects, reality Apply example and feature.The feature and beneficial effect of other additional aspects such as illustrative embodiments of the invention will be retouched in following Show in stating, or is learnt in the practice by the specific embodiment instructed according to the present invention.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows and meets implementation of the invention Example, and be used to explain the principle of the present invention together with specification.
Fig. 1 is the application scenarios signal of the method shown according to an exemplary embodiment for recommending test action for user Figure;
Fig. 2 is a kind of flow chart of method for recommending test action for user shown according to an exemplary embodiment;
Fig. 3 is the details flow chart of the step 220 of the embodiment shown in corresponding embodiment and step 230 according to fig. 2;
Fig. 4 is the details flow chart of the step 220 of another embodiment shown in corresponding embodiment and step 230 according to fig. 2;
Fig. 5 is the details flow chart of the step 220 of another embodiment shown in corresponding embodiment and step 230 according to fig. 2;
Fig. 6 is the details flow chart of the step 220 of the another embodiment shown in corresponding embodiment and step 230 according to fig. 2;
Fig. 7 is the details flow chart according to the step 236 of the embodiment shown in Fig. 6 corresponding embodiment;
Fig. 8 is a kind of block diagram of device for recommending test action for user shown according to an exemplary embodiment;
Fig. 9 is a kind of electronic equipment example block diagram for realizing the above method shown according to an exemplary embodiment;
Figure 10 is a kind of computer readable storage medium for realizing the above method shown according to an exemplary embodiment.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all embodiments consistented with the present invention.On the contrary, they be only with it is such as appended The example of device and method being described in detail in claims, some aspects of the invention are consistent.
In addition, attached drawing is only the schematic illustrations of the disclosure, it is not necessarily drawn to scale.Identical attached drawing mark in figure Note indicates same or similar part, thus will omit repetition thereof.Some block diagrams shown in the drawings are function Energy entity, not necessarily must be corresponding with physically or logically independent entity.
The disclosure provides firstly a kind of method for recommending test action for user.The test action in the present invention may be used To be completed by a series of director data, and described instruction data can be through a test program script unit or Person is the combination of multiple test program script units to embody.Implementation environment of the invention can be portable mobile equipment, such as Smart phone, tablet computer, laptop etc. are also possible to various fixed apparatus, for example, computer equipment, scene are eventually End, desktop computer, server, work station etc..
Fig. 1 is the application scenarios signal of the method shown according to an exemplary embodiment for recommending test action for user Figure.As the function of financial valuation system is more and more, the test assignment to be completed of test macro is also more and more, difference test Task corresponds to different test actions, and different test actions needs a test program script unit or multiple test journeys The combination of sequence script unit is completed, in order to reduce weight of the tester in the course of work of combined test procedure script unit Renaturation labour improves the efficiency that tester constructs test action, when tester constructs test action, needs for tester Member provides the test action built so that it is with reference to selection.In the application scenarios of embodiment shown in Fig. 1, the present invention passes through History test action sequence 110 is simultaneously come with reference to described about the operation note 120 in history test action sequence 110 for test Personnel provide the test action sequence 130 recommended.And will recommend test action sequence show on test macro display interface with It is selected for tester.It is designed in this way the working time that can save tester, improves test job efficiency, and can mention The accuracy of high test job.Summary of the invention of the invention will be described in detail by specific embodiment below.
Fig. 2 is a kind of flow chart of method for recommending test action for user shown according to an exemplary embodiment.Such as Shown in Fig. 2, the method the following steps are included:
Step 210, first of the beginning as test action sequence is inputted in test macro in response to tester Point, determine that all history with first part beginning that personnel inputted that are tested in history in test macro are surveyed Try action sequence.
The test action refer to update front and back valuation system in data operation (such as statistics, error calculation and Variance calculate etc.) either basic function operation (such as printing, save and data send etc.), each test action It can be defined by a test program script unit, test program script unit is inherently one section of program code, each Section program code has a label, and (such as label " 0001 " is for marking for test program script unit for identification for the label One test program script unit, the test action which executes can be the survey saved in valuation system Try data).Valuation system is realized by program code execution to the operation of valuation data or the operation of other function, thus complete At test assignment.It should be noted that in the present invention, test assignment is also possible to through multiple test program script units Combine to complete because under normal circumstances, a test process is less likely containing only a test assignment, but containing compared with More test assignments for some more complicated test process, or even need to complete hundreds and thousands of test assignments, execute at hundred Thousands of test actions.So those are contained with the test process of a plurality of test assignment, usually by a plurality of test program script Unit combination is executed.In addition, the combination of single test program script unit or multiple test program script units is at this It is known as test action sequence in invention.
The first part of the beginning of the test action sequence can be a test program of test action sequence beginning The combination of script unit or several test program script units, it should be noted that several test program script units Combination can also embody or identify by sequence label, such as sequence label " 0,001 0,002 0003 " then indicates 3 The combination of test program script unit.The tester inputs of the beginning as test action sequence in test macro A part, specifically, tester can input the beginning as test action sequence by writing test program manually First part, can also be by manually selecting single test program script unit or several test programs in pull-down menu Script unit combines to input the first part of the beginning as test action sequence.
The institute started with the first part for being tested personnel in history and inputting in the determining test macro Some history test action sequences, specifically, in a test system, it is provided with microprocessor and microstorage, microprocessor Effect is mainly used for searching, calling test action sequence, and microstorage is mainly used for storing history test action sequence.Work as survey Examination personnel are inputted in test macro after the first part as the beginning of test action sequence, and microprocessor can then be deposited micro- The test action sequence that the corresponding label of the beginning part or sequence label are inputted with the tester is found in reservoir to start First part corresponding to label or the identical all history test action sequences of sequence label, so that it is determined that test macro On all history tests with the beginning of test action sequence first part for being tested personnel in history and inputting Action sequence.
Step 220, all history test action sequences for obtaining the determination are tested personnel in history and operated Operation note.
In the present invention, the history test action sequence of the determination is tested the operation note that personnel operated in history The acquisition modes of record can there are many.In the present invention, acquisition equipment can be used or acquisition unit is adopted from test macro Collect the operation note to obtain.The operation note can also be crawled from test macro by running crawlers.It can be with It is the transmission medium by data, reads or receive the data that tester sends.It can also be copied by physical hard disk It is manually entered to obtain to operation note, or by staff.
In the present invention, the form of the operation note can be multiplicity.
In one embodiment, operation note is the total degree that history test action sequence is tested that personnel inputted.
In one embodiment, operation note is after history test action sequence is recommended to user in history by user The total degree of selection.
In one embodiment, when operation note is input of the history test action sequence in tested personnel's input Between.
Step 230, all history test action sequences based on the determination are tested personnel in history and operated Operation note, selection recommend test action sequence.
In one embodiment, all history test action sequences for obtaining the determination are tested in history The operation note that personnel operated;All history test action sequences based on the determination are tested personnel behaviour in history The operation note made, selection recommend test action sequence that can complete in the following way:
If Fig. 3 is the step 220 of the embodiment shown in corresponding embodiment according to fig. 2 and the details flow chart of step 230, Specifically includes the following steps:
Step 221, all history test action sequences for obtaining the determination are tested personnel's input in history Total degree.
In a test system, it is defeated to be all labeled with the test action sequence in history for each history test action sequence The number entered.Specifically, microprocessor can be by test action sequence after tester inputs test action sequence completion Tag extraction corresponding to test action comes out in column, and sorts according to original sequence, obtains sequence label (such as " 0001 0002 0003 "), stored sequence label in the sequence label and microstorage can be carried out first after sequence is completed pair Than identical sequence label, then increase by one for the history input number of sequence label corresponding to the test action sequence if it exists It is secondary.Identical sequence label if it does not exist, then using sequence label corresponding to the examination action sequence as history test action sequence The label of column is stored in memory, and marking the number that the sequence label was entered in history is 1 time.
Specifically, all history test action sequences for obtaining the determination are tested personnel's input in history Total degree only needs to read the history input time marked on sequence label corresponding to identified history test action sequence Number both may be used.
Step 231, select the highest history test of the total degree for being tested personnel's input in history of the determination dynamic Make sequence, as recommendation test action sequence.
The highest history test action sequence of total degree for being tested personnel's input in history for selecting the determination, makees To recommend test action sequence.Specifically, when be searched out in microstorage label corresponding to test action the beginning part or Sequence label institute identical with label corresponding to the test action sequence first part that tester has inputted or sequence label After having sequence label, microprocessor can compare the history input total degree being labeled on different sequence labels, and select to mark History inputs history test action sequence corresponding to the most sequence label of total degree as recommendation test action sequence.Example Such as, label corresponding to the test action sequence first part of tester's input is 0001, and three are shared in microstorage Sequence label meets label corresponding to the beginning part and label phase corresponding to the test action sequence first part that has inputted With requirement, this three strip labels sequence be respectively " 000100020003 (8) ", " 000100040005 (6) ", " 000100060007 (2) ", it is known that, this three sequence label sequences were entered 8 times, 6 times, 2 times respectively.Microprocessor then can Test action sequence corresponding to the sequence label " 000100020003 " for selecting history input number most is tested as recommendation Action sequence.
In one embodiment, all history test action sequences for obtaining the determination are tested in history The operation note that personnel operated;All history test action sequences based on the determination are tested personnel behaviour in history The operation note made, selection recommend test action sequence that can also complete in the following way:
If Fig. 4 is the step 220 of another embodiment shown in corresponding embodiment according to fig. 2 and the details process of step 230 Figure, specifically includes the following steps:
Step 221, all history test action sequences for obtaining the determination are tested personnel's input in history Total degree.
Step 232, S history tests are dynamic before the total degree for selecting the personnel tested in history of the determination to input Make sequence, as test action sequence is recommended, wherein S is the positive integer greater than 1.
S history test action sequences before the total degree for selecting the personnel tested in history of the determination to input, As test action sequence is recommended, wherein S is the positive integer greater than 1.Specifically, when searching out test action in microstorage Corresponding to the test action sequence first part that label corresponding to the beginning part or sequence label and tester have inputted After label or the identical all sequence labels of sequence label, microprocessor can be defeated to the history being labeled on different sequence labels Enter total degree and carry out ranking from big to small, and selects the mark of S (S is the positive integer greater than 1) name before the history input total degree History test action sequence corresponding to sequence is signed as recommendation test action sequence.It should be noted that the size of S value can be with It presets, temporarily can also intelligently be set according to the label of the searching or the number of sequence label (such as the searching The number of label or sequence label is more, and S value is bigger).For example, the institute, test action sequence first part of tester's input Corresponding label is 0001, and three strip label sequences are shared in microstorage and meets label corresponding to the beginning part and has inputted Test action sequence first part corresponding to the identical requirement of label, this three strip labels sequence is respectively " 000100020003 (8) ", " 000100040005 (6) ", " 000100060007 (2) ", it is known that, total degree is inputted according to history The result that this three strip labels sequence is ranked up are as follows: " 000100020003 ", " 000100040005 ", "000100060007".If S value is 2, microprocessor can then select 2 before history input number sequence labels Test action sequence corresponding to " " 000100020003 ", " 000100040005 " " is as recommendation test action sequence.This reality Applying example is advantageous in that, the size by controlling S can control the number for the recommendation test action sequence being shown on test interface Amount can prevent the laxative problem in bring test macro interface due to recommendation test action sequence quantity is excessive.
In one embodiment, all history test action sequences for obtaining the determination are tested in history The operation note that personnel operated;All history test action sequences based on the determination are tested personnel behaviour in history The operation note made, selection recommend test action sequence that can also complete in the following way:
If Fig. 5 is the step 220 of another embodiment shown in corresponding embodiment according to fig. 2 and the details process of step 230 Figure, specifically includes the following steps:
Step 221, all history test action sequences for obtaining the determination are tested personnel's input in history Total degree.
Step 233, the total degree for being tested personnel's input in history for selecting the determination is more than going through for predetermined threshold History test action sequence, as recommendation test action sequence.
Select the total degree for being tested personnel's input in history of the determination dynamic more than the history test of predetermined threshold Make sequence, as recommendation test action sequence.Specifically, when being searched out in microstorage corresponding to test action the beginning part Label or the test action sequence first part that has inputted of sequence label and tester corresponding to label or sequence label After identical all sequence labels, the history being labeled on different sequence labels can be inputted total degree and setting by microprocessor Predetermined threshold be compared, and selecting history input total degree is more than corresponding to the sequence label of the predetermined threshold History test action sequence is as recommendation test action sequence.It should be noted that the size of predetermined threshold can be preset, The interim intelligence of number can also be inputted according to the history marked on the label of the searching or the number of sequence label and sequence label It can setting.For example, label corresponding to the test action sequence first part of tester's input is 0001, in microstorage Share three strip label sequences meet label corresponding to the beginning part with corresponding to the test action sequence first part that has inputted The identical requirement of label, this three strip labels sequence be respectively " 000100020003 (8) ", " 000100040005 (6) ", "000100060007(2)".If predetermined threshold is 5, it is more than 5 label that microprocessor, which can then select history input number, Test action sequence corresponding to sequence " " 000100020003 ", " 000100040005 " " is as recommendation test action sequence. It is moved the advantage of this embodiment is that can control the recommendation being shown on test interface by the size for controlling predetermined threshold and test It is laxative to be also possible to prevent bring test macro interface due to recommendation test action sequence quantity is excessive for the quantity for making sequence Problem.
In one embodiment, all history test action sequences for obtaining the determination are tested in history The operation note that personnel operated;All history test action sequences based on the determination are tested personnel behaviour in history The operation note made, selection recommend test action sequence that can also complete in the following way:
If Fig. 6 is the step 220 of the another embodiment shown in corresponding embodiment according to fig. 2 and the details process of step 230 Figure.Specifically includes the following steps:
Step 222, obtain the determination all history test action sequences be tested personnel input total degree M and The total degree N that history test action sequence is easily selected by a user after being recommended in history to user.
Step 234, it is tested the total degree M of personnel's input in history according to the history test action sequence, determines First score of the history test action sequence.
In an embodiment in the specific implementation, first score can be the history test action sequence in history The multiple of the total degree M of tested personnel's input.
In an embodiment in the specific implementation, first score is also possible to be existed according to the history test action sequence It is tested the logarithm of the total degree M of personnel's input in history.
Step 235, it is easily selected by a user after being recommended in history to user according to the history test action sequence total Times N determines the second score of the history test action sequence.
In an embodiment in the specific implementation, second score can be the history test action sequence in history The multiple of the total degree M of tested personnel's input.
In an embodiment in the specific implementation, second score is also possible to be existed according to the history test action sequence It is tested the logarithm of the total degree M of personnel's input in history.
Step 236, according to first score and the second score, test action sequence is recommended in selection.
In an embodiment in the specific implementation, described according to first score and the second score, selection recommends test dynamic Making sequence can complete in the following way:
As Fig. 7 be according to Fig. 6 corresponding embodiment shown in an embodiment step 236 details flow chart.It specifically includes Following steps:
Step 2361, the weighted sum of the first score and the second score is determined.
In the weighted sum calculating process to first score and the second score, the weight of the first score and the second score There are many selections, wherein the weight that the first score can be set is 0.4, and the weight of the second score is 0.6, can also be by first The weight of score is set as 0.7, and the weight of the second score is set as 0.3, and setting requirements only need to meet the weight of the first score It is equal to 1 with the sum of the weight of the second score.
Specifically, weight 0.6, the second score is 30, weight 0.4 for example, the first score is 40, then the One exchange rate retention time is then are as follows:
0.6 × 40+0.4 × 30=36
Step 2362, it is based on the weighted sum, test action sequence is recommended in selection.
Based on the weighted sum, test action sequence is recommended in selection, specifically, can to the weighted sum from big to small into Row sequence selects history test action sequence corresponding to one or more weighted sum in the top as recommendation test action Sequence.
In an embodiment in the specific implementation, described according to first score and the second score, the recommendation test is dynamic Making sequence can also be by determining the proportionate relationship of the first score and the second score come selection.
As discussed above, it should be understood that all history test action sequences for obtaining the determination are in history The operation note that upper tested personnel operated;All history test action sequences based on the determination are tested in history The operation note that examination personnel operated, selection recommend test action sequence that can be arbitrary, however it is not limited to go out as shown above Those.
Step 240, the test that tester not yet inputs in test macro in the recommendation test action sequence is moved Make to recommend to be shown to tester, for tester's selection.
In conclusion can save the working time of tester by recommending test action for tester, work is improved Make efficiency, also improves the accuracy of test job.
It is the device of the invention embodiment below.
The disclosure additionally provides a kind of device for recommending test action for user.Fig. 8 is shown according to an exemplary embodiment A kind of block diagram of device for recommending test action for user out.As shown in figure 8, device 800 includes:
Determining module 810, be configured to determine that in test macro in history be tested personnel inputted with described All history test action sequences of first part's beginning;
Module 820 is obtained, all history test action sequences for being configured as obtaining the determination are tested in history The operation note that examination personnel operated;
Selecting module 830 is configured as recommending test action sequence;
Recommending module 840 is configured as tester in the recommendation test action sequence in test macro not yet The test action recommendation of input is shown to tester.
According to the third aspect of the disclosure, a kind of electronic equipment that can be realized the above method is additionally provided.
Person of ordinary skill in the field it is understood that various aspects of the invention can be implemented as system, method or Program product.Therefore, various aspects of the invention can be embodied in the following forms, it may be assumed that complete hardware embodiment, complete The embodiment combined in terms of full Software Implementation (including firmware, microcode etc.) or hardware and software, can unite here Referred to as circuit, " module " or " system ".
The electronic equipment 1000 of this embodiment according to the present invention is described referring to Fig. 9.The electronics that Fig. 9 is shown Equipment 1000 is only an example, should not function to the embodiment of the present invention and use scope bring any restrictions.
As shown in figure 9, electronic equipment 1000 is showed in the form of universal computing device.The component of electronic equipment 1000 can be with Including but not limited to: at least one above-mentioned processing unit 1010, connects not homologous ray group at least one above-mentioned storage unit 1020 The bus 1030 of part (including storage unit 1020 and processing unit 1010).
Wherein, the storage unit is stored with program code, and said program code can be held by the processing unit 1010 Row, so that various according to the present invention described in the execution of the processing unit 1010 above-mentioned " embodiment method " part of this specification The step of illustrative embodiments.
Storage unit 1020 may include the readable medium of volatile memory cell form, such as Random Access Storage Unit (RAM) 1021 and/or cache memory unit 1022, it can further include read-only memory unit (ROM) 1023.
Storage unit 1020 can also include program/utility with one group of (at least one) program module 1025 1024, such program module 1025 includes but is not limited to: operating system, one or more application program, other program moulds It may include the realization of network environment in block and program data, each of these examples or certain combination.
Bus 1030 can be to indicate one of a few class bus structures or a variety of, including storage unit bus or storage Cell controller, peripheral bus, graphics acceleration port, processing unit use any bus structures in a variety of bus structures Local bus.
Electronic equipment 1000 can also be with one or more external equipments 1200 (such as keyboard, sensing equipment, bluetooth equipment Deng) communication, can also be enabled a user to one or more equipment interact with the electronic equipment 1000 communicate, and/or with make The electronic equipment 1000 can with it is one or more of the other calculating equipment be communicated any equipment (such as router, modulation Demodulator etc.) communication.This communication can be carried out by input/output (I/O) interface 1050.Also, electronic equipment 1000 Network adapter 1060 and one or more network (such as local area network (LAN), wide area network (WAN) and/or public affairs can also be passed through Common network network, such as internet) communication.As shown, network adapter 1060 passes through its of bus 1030 and electronic equipment 1000 The communication of its module.It should be understood that although not shown in the drawings, other hardware and/or software can be used in conjunction with electronic equipment 1000 Module, including but not limited to: microcode, device driver, redundant processing unit, external disk drive array, RAID system, magnetic Tape drive and data backup storage system etc..
Through the above description of the embodiments, those skilled in the art is it can be readily appreciated that example described herein is implemented Mode can also be realized by software realization in such a way that software is in conjunction with necessary hardware.Therefore, according to the disclosure The technical solution of embodiment can be embodied in the form of software products, which can store non-volatile at one Property storage medium (can be CD-ROM, USB flash disk, mobile hard disk etc.) in or network on, including some instructions are so that a calculating Equipment (can be personal computer, server, terminal installation or network equipment etc.) is executed according to disclosure embodiment Method.
According to the fourth aspect of the disclosure, a kind of computer readable storage medium is additionally provided, being stored thereon with can be real The program product of existing this specification above method.In some possible embodiments, various aspects of the invention can also be real It is now a kind of form of program product comprising program code, when described program product is run on the terminal device, the journey Sequence code is each according to the present invention described in above-mentioned " illustrative methods " part of this specification for executing the terminal device The step of kind illustrative embodiments.
Refering to what is shown in Fig. 10, describing the program product for realizing the above method of embodiment according to the present invention 1100, can using portable compact disc read only memory (CD-ROM) and including program code, and can in terminal device, Such as it is run on PC.However, program product of the invention is without being limited thereto, in this document, readable storage medium storing program for executing can be with To be any include or the tangible medium of storage program, the program can be commanded execution system, device or device use or It is in connection.
Described program product can be using any combination of one or more readable mediums.Readable medium can be readable letter Number medium or readable storage medium storing program for executing.Readable storage medium storing program for executing for example can be but be not limited to electricity, magnetic, optical, electromagnetic, infrared ray or System, device or the device of semiconductor, or any above combination.The more specific example of readable storage medium storing program for executing is (non exhaustive List) include: electrical connection with one or more conducting wires, portable disc, hard disk, random access memory (RAM), read-only Memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read only memory (CD-ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal, In carry readable program code.The data-signal of this propagation can take various forms, including but not limited to electromagnetic signal, Optical signal or above-mentioned any appropriate combination.Readable signal medium can also be any readable Jie other than readable storage medium storing program for executing Matter, the readable medium can send, propagate or transmit for by instruction execution system, device or device use or and its The program of combined use.
The program code for including on readable medium can transmit with any suitable medium, including but not limited to wirelessly, have Line, optical cable, RF etc. or above-mentioned any appropriate combination.
The program for executing operation of the present invention can be write with any combination of one or more programming languages Code, described program design language include object oriented program language-Java, C++ etc., further include conventional Procedural programming language-such as " C " language or similar programming language.Program code can be fully in user It calculates and executes in equipment, partly executes on a user device, being executed as an independent software package, partially in user's calculating Upper side point is executed on a remote computing or is executed in remote computing device or server completely.It is being related to far Journey calculates in the situation of equipment, and remote computing device can pass through the network of any kind, including local area network (LAN) or wide area network (WAN), it is connected to user calculating equipment, or, it may be connected to external computing device (such as utilize ISP To be connected by internet).
In addition, above-mentioned attached drawing is only the schematic theory of processing included by method according to an exemplary embodiment of the present invention It is bright, rather than limit purpose.It can be readily appreciated that the time that above-mentioned processing shown in the drawings did not indicated or limited these processing is suitable Sequence.In addition, be also easy to understand, these processing, which can be, for example either synchronously or asynchronously to be executed in multiple modules.
It should be understood that the present invention is not limited to the precise structure already described above and shown in the accompanying drawings, and And various modifications and change can executed without departing from the scope.The scope of the present invention is limited only by the attached claims.

Claims (9)

1. a kind of method for recommending test action for user characterized by comprising
The first part of the beginning as test action sequence is inputted in test macro in response to tester, determines test system All history test action sequences started with the first part for being tested personnel in history and inputting on system;
All history test action sequences for obtaining the determination are tested the operation note that personnel operated in history;
All history test action sequences based on the determination are tested the operation note that personnel operated, choosing in history It selects and recommends test action sequence;
The test action recommendation that tester not yet inputs in test macro in the recommendation test action sequence is shown to Tester, for tester's selection.
2. the method according to claim 1, wherein the history test action sequence is tested people in history The operation note that member operated includes that history test action sequence is tested the total degree that personnel inputted in history;
All history test action sequences based on the determination are tested the operation note that personnel operated in history Test action sequence is recommended in record, selection, comprising:
The highest history test action sequence of total degree for being tested personnel's input in history for selecting the determination, as pushing away Recommend test action sequence.
3. the method according to claim 1, wherein the history test action sequence is tested people in history The operation note that member operated includes the total degree that history test action sequence is tested personnel's input in history;
All history test action sequences based on the determination are tested the operation note that personnel operated in history Test action sequence is recommended in record, selection, comprising:
S history test action sequences before the total degree for selecting the personnel tested in history of the determination to input, as Recommend test action sequence, wherein S is the positive integer greater than 1.
4. the method according to claim 1, wherein the history test action sequence is tested people in history The operation note that member operated includes the total degree that history test action sequence is tested personnel's input in history;
All history test action sequences based on the determination are tested the operation note that personnel operated in history Test action sequence is recommended in record, selection, comprising:
Select the total degree for being tested personnel's input in history of the determination more than the history test action sequence of predetermined threshold Column, as recommendation test action sequence.
5. the method according to claim 1, wherein the history test action sequence is tested people in history The operation note that member operated includes total degree M and the history survey that history test action sequence is tested personnel's input in history The total degree N that examination action sequence is easily selected by a user after being recommended in history to user,
All history test action sequences based on the determination are tested the operation note that personnel operated in history Test action sequence is recommended in record, selection, comprising:
It is tested the total degree M of personnel's input in history according to the history test action sequence, determines the history test First score of action sequence;
The total degree N being easily selected by a user after being recommended in history to user according to the history test action sequence, determines institute State the second score of history test action sequence;
According to the first score and the second score, test action sequence is recommended in selection.
6. according to the method described in claim 5, selection is recommended it is characterized in that, described according to the first score and the second score Test action sequence, comprising:
Determine the weighted sum of the first score and the second score;
Based on the weighted sum, test action sequence is recommended in selection.
7. a kind of device for recommending test action for user, which is characterized in that described device includes:
Determining module, what the personnel tested in history for determining in test macro inputted is started with the first part All history test action sequences;
Module is obtained, all history test action sequences for obtaining the determination are tested personnel in history and operated Operation note;
Selecting module, for recommending test action sequence;
Recommending module, for moving the test that tester not yet inputs in test macro in the recommendation test action sequence Make to recommend to be shown to tester.
8. a kind of computer-readable program medium, which is characterized in that it is stored with computer program instructions, when the computer journey When sequence instruction is computer-executed, computer is made to execute method according to any one of claim 1 to 6.
9. a kind of electronic equipment for recommending test action for user, which is characterized in that the electronic equipment includes:
Processor;
Memory is stored with computer-readable instruction on the memory, and the computer-readable instruction is held by the processor When row, such as method as claimed in any one of claims 1 to 6 is realized.
CN201811524783.8A 2018-12-13 2018-12-13 Recommend method, apparatus, the medium, electronic equipment of test action for user Pending CN109542795A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811524783.8A CN109542795A (en) 2018-12-13 2018-12-13 Recommend method, apparatus, the medium, electronic equipment of test action for user

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811524783.8A CN109542795A (en) 2018-12-13 2018-12-13 Recommend method, apparatus, the medium, electronic equipment of test action for user

Publications (1)

Publication Number Publication Date
CN109542795A true CN109542795A (en) 2019-03-29

Family

ID=65854514

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811524783.8A Pending CN109542795A (en) 2018-12-13 2018-12-13 Recommend method, apparatus, the medium, electronic equipment of test action for user

Country Status (1)

Country Link
CN (1) CN109542795A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113051183A (en) * 2021-04-30 2021-06-29 中国工商银行股份有限公司 Test data recommendation method and system, electronic device and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103970646A (en) * 2013-01-29 2014-08-06 国际商业机器公司 Automatic analysis method and system for operation sequence
CN104820634A (en) * 2014-12-25 2015-08-05 平安科技(深圳)有限公司 Method and device for detecting page test track
CN105487970A (en) * 2014-10-13 2016-04-13 中国移动通信集团公司 Interface display method and apparatus
CN107783894A (en) * 2016-08-26 2018-03-09 上海计算机软件技术开发中心 A kind of multitask multiple terminals Mobile solution method of testing and its system
CN108073519A (en) * 2018-01-31 2018-05-25 百度在线网络技术(北京)有限公司 Method for generating test case and device
CN108255706A (en) * 2017-11-27 2018-07-06 平安科技(深圳)有限公司 Edit methods, device, terminal device and the storage medium of automatic test script
CN108304324A (en) * 2018-01-22 2018-07-20 百度在线网络技术(北京)有限公司 Method for generating test case, device, equipment and storage medium
CN108647355A (en) * 2018-05-16 2018-10-12 平安普惠企业管理有限公司 Methods of exhibiting, device, equipment and the storage medium of test case
CN108733568A (en) * 2018-05-25 2018-11-02 平安科技(深圳)有限公司 Application testing method, device, equipment and readable storage medium storing program for executing

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103970646A (en) * 2013-01-29 2014-08-06 国际商业机器公司 Automatic analysis method and system for operation sequence
CN105487970A (en) * 2014-10-13 2016-04-13 中国移动通信集团公司 Interface display method and apparatus
CN104820634A (en) * 2014-12-25 2015-08-05 平安科技(深圳)有限公司 Method and device for detecting page test track
CN107783894A (en) * 2016-08-26 2018-03-09 上海计算机软件技术开发中心 A kind of multitask multiple terminals Mobile solution method of testing and its system
CN108255706A (en) * 2017-11-27 2018-07-06 平安科技(深圳)有限公司 Edit methods, device, terminal device and the storage medium of automatic test script
CN108304324A (en) * 2018-01-22 2018-07-20 百度在线网络技术(北京)有限公司 Method for generating test case, device, equipment and storage medium
CN108073519A (en) * 2018-01-31 2018-05-25 百度在线网络技术(北京)有限公司 Method for generating test case and device
CN108647355A (en) * 2018-05-16 2018-10-12 平安普惠企业管理有限公司 Methods of exhibiting, device, equipment and the storage medium of test case
CN108733568A (en) * 2018-05-25 2018-11-02 平安科技(深圳)有限公司 Application testing method, device, equipment and readable storage medium storing program for executing

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113051183A (en) * 2021-04-30 2021-06-29 中国工商银行股份有限公司 Test data recommendation method and system, electronic device and storage medium

Similar Documents

Publication Publication Date Title
CN104346372B (en) Method and apparatus for assessment prediction model
CN109064278B (en) Target object recommendation method and device, electronic equipment and storage medium
CN108171260B (en) Picture identification method and system
CN109492164A (en) A kind of recommended method of resume, device, electronic equipment and storage medium
CN109242044A (en) Training method, device, storage medium and the electronic equipment of vehicle and goods matching model
CN109360012A (en) The selection method and device, storage medium, electronic equipment of advertisement dispensing channel
CN107832662A (en) A kind of method and system for obtaining picture labeled data
CN113590776B (en) Knowledge graph-based text processing method and device, electronic equipment and medium
CN104993962A (en) Method and system for obtaining use state of terminal
CN109214585A (en) Customer consumption prediction technique, device, electronic equipment and storage medium
CN109871311A (en) A kind of method and apparatus for recommending test case
CN110457453A (en) Customer problem and customer service interconnection method, device, medium, electronic equipment
CN113592535B (en) Advertisement recommendation method and device, electronic equipment and storage medium
Louw et al. Design and implementation of a low cost RFID track and trace system in a learning factory
CN109656815A (en) There are test statement write method, device, medium and the electronic equipment of configuration file
CN111754278A (en) Article recommendation method and device, computer storage medium and electronic equipment
CN106598379A (en) Method and device for managing application program
CN112200538A (en) Data processing method, device, equipment and storage medium
CN114972877A (en) Image classification model training method and device and electronic equipment
US20150125844A1 (en) Server and method for managing learning
CN115359308A (en) Model training method, apparatus, device, storage medium, and program for identifying difficult cases
CN109542795A (en) Recommend method, apparatus, the medium, electronic equipment of test action for user
CN109684198A (en) Data capture method to be tested, device, medium, electronic equipment
CN110826306B (en) Data acquisition method and device, computer readable storage medium and electronic equipment
CN109783168A (en) The method, apparatus of individualized selection user interface element, medium, electronic 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