CN110415101A - Products Show test method, device, computer equipment and storage medium - Google Patents
Products Show test method, device, computer equipment and storage medium Download PDFInfo
- Publication number
- CN110415101A CN110415101A CN201910532452.7A CN201910532452A CN110415101A CN 110415101 A CN110415101 A CN 110415101A CN 201910532452 A CN201910532452 A CN 201910532452A CN 110415101 A CN110415101 A CN 110415101A
- Authority
- CN
- China
- Prior art keywords
- result
- user
- test
- products show
- response results
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/03—Credit; Loans; Processing thereof
Abstract
The embodiment of the invention discloses a kind of Products Show test method, device, computer equipment and storage mediums.The present invention is applied to the testing process improvement areas in test and management.The described method includes: reading default test job book, wherein, default test job book includes the user information worksheet filled with user information and user's application result worksheet filled with user's application result, and user information and user's application result are corresponding with user account;Products Show is carried out to obtain response results according to the corresponding user information of user account and user's application result by preset Products Show service interface;It obtains preset expected result and expected result worksheet is generated in default test job book according to expected result;Response results and expected result are compared to obtain test result.Method by implementing the embodiment of the present invention, which can be realized, is directly tested from logical process layer, the effect simple and fast, testing efficiency is high, test result easily traces.
Description
Technical field
The present invention relates to technical field of data processing more particularly to a kind of Products Show test method, device, computer to set
Standby and storage medium.
Background technique
With science and technology and expanding economy, people's lives level is continuously improved, and economic capability gradually improves, in order into one
Step ensures economic sustainable development, and finance company provides miscellaneous loan product to people, and people can be easily to loan
Money company application loan.Existing pattern of lending is usually to pass through APP or Web page operation application loan, is user first
It fills in application information and clicks application into the application result page is waited, then finance company is waited to feed back application result, if Shen
It please succeed and then enter the credit page, the loan product for recommending other to be more suitable for user if applying for failure.Wherein, it is related to
The loan product for recommending other to be more suitable for user when user's application failure, and determine the optimal loan product recommended then
It needs by largely testing to obtain.Existing test method is usually to input different user information in H5 page end, submits Shen
Finance company's approval results are please waited afterwards, can just check whether the loan product of recommendation is suitable after result comes out, it is entire to test
Long flow path wastes time, waste of manpower resource.
Summary of the invention
The embodiment of the invention provides a kind of Products Show test method, device, computer equipment and storage mediums, it is intended to
It solves the problems, such as that existing testing process is long, waste time, waste of manpower resource.
In a first aspect, the embodiment of the invention provides a kind of Products Show test methods comprising: read default test work
Make book, wherein the default test job book includes being filled with the user information worksheet of user information and filled with user
User's application result worksheet of application result, wherein the user information and user's application result with user's account
It is number corresponding;Applied by preset Products Show service interface according to the corresponding user information of the user account and user
As a result Products Show is carried out to obtain response results;Obtain preset expected result and according to the expected result described default
Expected result worksheet is generated in test job book;The response results and the expected result are compared to obtain test knot
Fruit.
Second aspect, the embodiment of the invention also provides a kind of Products Show test devices comprising: reading unit is used
Test job book is preset in reading, wherein the default test job book includes that the user information filled with user information works
Table and user's application result worksheet filled with user's application result, wherein the user information and the user Shen
Please result it is corresponding with user account;Recommendation unit is used for through preset Products Show service interface according to the user
The corresponding user information of account and user's application result carry out Products Show to obtain response results;First generation unit is used
It works in obtaining preset expected result and generating expected result in the default test job book according to the expected result
Table;Comparison unit, for comparing to obtain test result by the response results and the expected result.
The third aspect, the embodiment of the invention also provides a kind of computer equipments comprising memory and processor, it is described
Computer program is stored on memory, the processor realizes the above method when executing the computer program.
Fourth aspect, the embodiment of the invention also provides a kind of computer readable storage medium, the storage medium storage
There is computer program, the computer program can realize the above method when being executed by a processor.
The embodiment of the invention provides a kind of Products Show test method, device, computer equipment and storage mediums.Its
In, which comprises read default test job book, wherein the default test job book includes being filled with user information
User information worksheet and user's application result worksheet filled with user's application result, wherein the user information
And user's application result is corresponding with user account;By preset Products Show service interface according to the user
The corresponding user information of account and user's application result carry out Products Show to obtain response results;Obtain preset expectation knot
Fruit simultaneously generates expected result worksheet according to the expected result in the default test job book;By the response results with
The expected result compares to obtain test result.The embodiment of the present invention is due to according to the user's account preset in test job book
Number carrying out Products Show obtains response results, obtains expected result and compares response results with desired mechanism and is tested
As a result, it can be achieved that directly being tested from logical process layer, the effect simple and fast, testing efficiency is high, test result easily traces.
Detailed description of the invention
Technical solution in order to illustrate the embodiments of the present invention more clearly, below will be to needed in embodiment description
Attached drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the invention, general for this field
For logical technical staff, without creative efforts, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is the flow diagram of Products Show test method provided in an embodiment of the present invention;
Fig. 2 is the sub-process schematic diagram of Products Show test method provided in an embodiment of the present invention;
Fig. 3 be another embodiment of the present invention provides Products Show test method flow diagram;
Fig. 4 is the sub-process schematic diagram of Products Show test method provided in an embodiment of the present invention;
Fig. 5 be another embodiment of the present invention provides Products Show test method flow diagram;
Fig. 6 is the schematic block diagram of Products Show test device provided in an embodiment of the present invention;
Fig. 7 is the schematic block diagram of the specific unit of Products Show test device provided in an embodiment of the present invention;
Fig. 8 be another embodiment of the present invention provides Products Show test device schematic block diagram;And
Fig. 9 is the schematic block diagram of computer equipment provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts
Example, shall fall within the protection scope of the present invention.
It should be appreciated that ought use in this specification and in the appended claims, term " includes " and "comprising" instruction
Described feature, entirety, step, operation, the presence of element and/or component, but one or more of the other feature, whole is not precluded
Body, step, operation, the presence or addition of element, component and/or its set.
It is also understood that mesh of the term used in this description of the invention merely for the sake of description specific embodiment
And be not intended to limit the present invention.As description of the invention and it is used in the attached claims, unless on
Other situations are hereafter clearly indicated, otherwise " one " of singular, "one" and "the" are intended to include plural form.
It will be further appreciated that the term "and/or" used in description of the invention and the appended claims is
Refer to any combination and all possible combinations of one or more of associated item listed, and including these combinations.
Referring to Fig. 1, Fig. 1 is the schematic flow chart of Products Show test method provided in an embodiment of the present invention.The production
Product recommend test method to be applied in terminal, and the present invention proposes that a kind of Products Show test method, existing test method are first
First from the front end H5 page input different user information submit loan application, then wait finance company approval results, finally to
As a result can just check whether the loan product of recommendation is suitable, and entire testing process is long, wastes time after coming out, waste of manpower money
Source.It is directly tested from logical process layer relative to existing test method Products Show test method proposed by the present invention,
Simple and fast, testing efficiency is high.
Fig. 1 is the flow diagram of Products Show test method provided in an embodiment of the present invention.As shown, this method packet
Include following steps S110-S140.
S110, default test job book is read, wherein the default test job book includes the use filled with user information
Family information work table and user's application result worksheet filled with user's application result, wherein the user information and
User's application result is corresponding with user account.
In one embodiment, user information refers to the credit information that user inputs in front end, for example, loan profile, guarantor
Dangerous situation condition, purchase vehicle situation and house property situation etc., user's application result refer to user apply loan whether successful result.Its
In, user information and user's application result are constructed in advance by tester, and tester can be according to previous loan data
It is constructed.Specifically, after having constructed user information and user's application result, default test job book is initially set up, so
Afterwards in default test job two worksheets of thin middle creation, one of them is named as user information worksheet, another is named as
User's application result worksheet;Finally user information is filled into user information worksheet again and fills user's application result
To user's application result worksheet.Wherein, user information worksheet is as shown in table 1, includes user name, user in the field of table 1
Account, loan profile, insurance information, purchase vehicle situation and house property situation etc.;User's application result worksheet is as shown in table 2, table 2
Field in include user account and loan product application result.The user information worksheet and user application
It as a result include user account in worksheet, the user account corresponding user information in the user information worksheet, in institute
It states user account in user's application result worksheet and corresponds to user's application result.
User name | User account | Loan profile | Insurance information | Purchase vehicle situation | House property situation | …… |
User A | 2019101 | Nothing | Nothing | Nothing | Have | |
User B | 2019102 | Nothing | Nothing | Have | Nothing | |
User C | 2019103 | Nothing | Have | Nothing | Nothing | |
User D | 2019104 | Nothing | Have | Have | Nothing | |
User E | 2019105 | It is unknown | It is unknown | Nothing | Nothing |
Table 1
Table 2
S120, by preset Products Show service interface according to the corresponding user information of the user account and user
Application result carries out Products Show to obtain response results.
In one embodiment, user account refers to that the ID for unique identification user identity, each user are owned by it
Corresponding unique subscriber account, for example, 2019101, response results are to carry out Products Show in testing to test obtained reality
Border result.By obtaining the user account in default test job book, product then is called using user account as input parameter
Recommendation service, Products Show service based on subscriber information work table and user's application result worksheet recommended products, it is final handy
The corresponding product recommended of family account, as response results.
In one embodiment, as shown in Fig. 2, the step S120 may include step: S121-S123.
S121, user account is obtained from the default test job book by polling mechanism.
S122, using the user account as input parameter, call preset Products Show service interface according to the use
The corresponding user information of family account and user's application result carry out Products Show with output response result.
In one embodiment, polling mechanism refers to that timing issues inquiry to execute the mechanism of the service of generation, using wheel
Inquiry mechanism obtains user account from test job book.Specifically, all user accounts in test job book are formed one
Set, which is snoop queue, uses the polling mechanism poll set to obtain user account, is getting user account
Afterwards, Products Show service interface is called to carry out Products Show output response result using user account as input parameter.Wherein, it rings
Should result refer to the loan product being more suitable for by Products Show service recommendation to user, for example, product 1, product 2 and produce
Product 3 etc..Products Show service refer specifically to robo service, the corresponding user information of Products Show service based on subscriber account with
And user's application result carries out Products Show, to recommend the service of optimal loan product logic.For example, loan product includes product
1, product 2, product 3 and product 4, wherein product 1 is suitble to user to have the case where house property is without loan, and product 2 is suitble to user without loan
Money has the case where purchase vehicle, and product 3 is suitble to user to have the case where insurance without loan, and product 4 is that the popular product of default is suitble to use
Fill in the less situation of credit information in family.It is so serviced by the Products Show, the user A in table 1 is successfully then returned due to applying
Make the return trip empty value, then recommended products 2 user B, then recommended products 3 user C, then recommended products 2 and product 3, user E then recommend user D
Product 4.After one user account of every poll exports the corresponding response results of the user account, the then next user's account of poll again
Number all corresponding response results of user account are exported until all user account polls finish.
In one embodiment, as shown in figure 3, further comprising the steps of: S123 after the step S122.
If S123, the response results quantity be it is multiple, according to pre-set priority rule select highest priority sound
It should response results of the result as output.
In one embodiment, when the personal credit situation of user is relatively good, when relevant credit information is fairly perfect, often
Meet the recommendation condition of multiple products, purchase is insured and vehicle, the user account of user D are joined as input for example, user D has
It is product 2 and product 3 that number, which calls the response results of Products Show service interface output, then can push away in product 2 and product 3
In the case where recommending to user D, the higher product of priority is selected using pre-set priority rule, and result is output in response
The display page is supplied to user, for example, the priority of product 2 is 4 grades, the priority of product 3 is 3 poles, then then selection is preferential
Grade is the result in response of product 2 of 4 poles.Wherein, pre-set priority rule is set with specific reference to practical business, if enterprise is to beat
Brand response mainstay product 2 is made, then sets product 2 as preferably priority.
S130, it obtains preset expected result and the phase is generated in the default test job book according to the expected result
Hope result worksheet.
In one embodiment, expected result refers to preset Products Show as a result, being by the preparatory structure of tester
It makes.Specifically, after end of polling(EOP), a worksheet is created first in default test job book, which is named
For expected result worksheet, obtains the expected result that tester constructs in advance and expected result is filled into expected result work
In table.Expected result worksheet is as shown in table 3, and the field of table 3 includes user account and the product recommended, it would be desirable to result
It inserts in corresponding field.
User account | Product |
2019101 | Nothing |
2019102 | Product 2 |
2019103 | Product 3 |
2019104 | Product 2 |
2019105 | Product 4 |
Table 3
S140, the response results and the expected result are compared to obtain test result.
In one embodiment, it after generating expected result worksheet, will be pushed away by calling Products Show service to carry out product
The response results recommended are compared with the expected result in expected result worksheet to output test result.Wherein, test knot
Fruit includes meeting desired test result and test result undesirably, meets desired test result and illustrates to be recommended
Product it is identical as expected result, reach the expection of Products Show, and do not meet desired test result and illustrate recommended production
Product are excessively identical as expected result, not up to the expection of Products Show, need one of the response results for user account output
Serial procedures are adjusted, so that the product recommended meets expected result.
In one embodiment, as shown in figure 4, the step S140 may include step: S141-S143.
S141, the expected result is read from the expected result worksheet and by the expected result and the response
As a result it is compared one by one.
S142, output meets desired test result if the response results are identical as the expected result.
S143, test result undesirably is exported if the response results and the expected result are not identical.
In one embodiment, expected result worksheet is read first, it is corresponding according to obtained response results i.e. user account
The product of recommendation inquires the user account in expected result worksheet, the product that the corresponding expectation of the user account is recommended with
The product of the user account actual recommendation is compared one by one in response results, after the test result for having exported a user account
The comparison for carrying out next user account again exports the test result of next user account, until exporting all user accounts
Test result.Wherein, if the corresponding response results of user account are identical as expected result, output meets desired test knot
Fruit exports test result undesirably if the corresponding Xiang space result of user account is different from expected result.
In one embodiment, as shown in figure 5, further comprising the steps of: S150 after the step S140.
If S150, the test result are undesirably, according to test result undesirably in the default survey
It tries to generate test result worksheet in book.
In one embodiment, after obtaining test result, a worksheet is created first in test job book, by the work
It is named as test result worksheet as table, then test result undesirably is filled into test result worksheet, with
Facilitate tester to check test result undesirably, and tester is facilitated to trace record, searches undesirably
Reason.Test result worksheet is as shown in table 4, and the field of table 4 includes user account, response results and expected result, will survey
Test result is filled into corresponding field.
User account | Response results | Expected result | Test result |
2019101 | Nothing | Nothing | Meet |
2019102 | Product 1 | Product 2 | It does not meet |
2019103 | Product 4 | Product 3 | It does not meet |
Table 4
The embodiment of the present invention illustrates a kind of Products Show test method, by reading default test job book, wherein institute
Stating default test job book includes the user information worksheet filled with user information and the use filled with user's application result
Family application result worksheet, wherein the user information and user's application result are corresponding with user account;Pass through
Preset Products Show service interface carries out product according to the corresponding user information of the user account and user's application result
Recommend to obtain response results;Obtain preset expected result and according to the expected result in the default test job book
Generate expected result worksheet;The response results and the expected result are compared to obtain test result, may be implemented
It is directly tested from logical process layer, the effect simple and fast, testing efficiency is high, test result easily traces.
Fig. 6 is a kind of schematic block diagram of Products Show test device 200 provided in an embodiment of the present invention.As shown in fig. 6,
Corresponding to the above Products Show test method, the present invention also provides a kind of Products Show test devices 200.Products Show test
Device 200 includes the unit for recommending test method for executing the said goods, which can be configured in desktop computer, plate
Computer, laptop computer, etc. in terminals.Specifically, referring to Fig. 6, the Products Show test device 200 includes: reading unit
210, recommendation unit 220, the first generation unit 230 and comparison unit 240.
Reading unit 210, for reading default test job book, wherein the default test job book includes being filled with
The user information worksheet of user information and user's application result worksheet filled with user's application result, wherein described
User information and user's application result are corresponding with user account.
Recommendation unit 220 is used for through preset Products Show service interface according to the corresponding user of the user account
Information and user's application result carry out Products Show to obtain response results.
In one embodiment, as shown in fig. 7, the recommendation unit 220 includes: poll units 221 and recommendation subelement
222。
Poll units 221, for obtaining user account from the default test job book by polling mechanism.
Recommend subelement 222, for calling preset Products Show service to connect using the user account as input parameter
Mouth carries out Products Show according to the corresponding user information of the user account and user's application result with output response result.
In one embodiment, as shown in figure 8, the recommendation unit 220 further include: preferential recommendation unit 223.
Preferential recommendation unit 223, if for the response results quantity be it is multiple, according to pre-set priority rule select
Response results of the response results of highest priority as output.
First generation unit 230, for obtaining preset expected result and according to the expected result in the default survey
It tries to generate expected result worksheet in book.
Comparison unit 240, for comparing to obtain test result by the response results and the expected result.
In one embodiment, as shown in fig. 7, the comparison unit 240 includes: contrast subunit 241, the first output unit
242 and second output unit 243.
Contrast subunit 241, for reading the expected result from the expected result worksheet and by the expectation
As a result it is compared one by one with the response results.
First output unit 242, for if the response results are identical as the expected result output meet it is desired
Test result.
Second output unit 243 does not meet the phase for exporting if the response results and the expected result are not identical
The test result of prestige.
In one embodiment, as shown in fig. 7, the Products Show test device 200 further include: the second generation unit 250.
Second generation unit 250, if being undesirably, according to test knot undesirably for the test result
Fruit generates test result worksheet in the default test job book.
The embodiment of the present invention illustrates a kind of Products Show test device, by reading default test job book, wherein institute
Stating default test job book includes the user information worksheet filled with user information and the use filled with user's application result
Family application result worksheet, wherein the user information and user's application result are corresponding with user account;Pass through
Preset Products Show service interface carries out product according to the corresponding user information of the user account and user's application result
Recommend to obtain response results;Obtain preset expected result and according to the expected result in the default test job book
Generate expected result worksheet;The response results and the expected result are compared to obtain test result, may be implemented
It is directly tested from logical process layer, the effect simple and fast, testing efficiency is high, test result easily traces.
It should be noted that it is apparent to those skilled in the art that, the said goods recommend test device
200 and each unit specific implementation process, can with reference to the corresponding description in preceding method embodiment, for convenience of description and
Succinctly, details are not described herein.
The said goods recommend test device to can be implemented as the form of computer program a kind of, which can be
It is run in computer equipment as shown in Figure 9.
Referring to Fig. 9, Fig. 9 is a kind of schematic block diagram of computer equipment provided by the embodiments of the present application.The computer
Equipment 500 can be terminal, wherein terminal can be smart phone, tablet computer, laptop, desktop computer, a number
Word assistant and wearable device etc. have the electronic equipment of communication function.
Refering to Fig. 9, which includes processor 502, memory and the net connected by system bus 501
Network interface 505, wherein memory may include non-volatile memory medium 503 and built-in storage 504.
The non-volatile memory medium 503 can storage program area 5031 and computer program 5032.The computer program
5032 include program instruction, which is performed, and processor 502 may make to execute a kind of Products Show test method.
The processor 502 is for providing calculating and control ability, to support the operation of entire computer equipment 500.
The built-in storage 504 provides environment for the operation of the computer program 5032 in non-volatile memory medium 503, should
When computer program 5032 is executed by processor 502, processor 502 may make to execute a kind of Products Show test method.
The network interface 505 is used to carry out network communication with other equipment.It will be understood by those skilled in the art that in Fig. 9
The structure shown, only the block diagram of part-structure relevant to application scheme, does not constitute and is applied to application scheme
The restriction of computer equipment 500 thereon, specific computer equipment 500 may include more more or fewer than as shown in the figure
Component perhaps combines certain components or with different component layouts.
Wherein, the processor 502 is for running computer program 5032 stored in memory, to realize following step
It is rapid: to read default test job book, wherein the default test job book includes that the user information filled with user information works
Table and user's application result worksheet filled with user's application result, wherein the user information and the user Shen
Please result it is corresponding with user account;By preset Products Show service interface according to the corresponding user of the user account
Information and user's application result carry out Products Show to obtain response results;Obtain preset expected result and according to the phase
Result is hoped to generate expected result worksheet in the default test job book;By the response results and the expected result into
Row comparison obtains test result.
In one embodiment, processor 502 realize it is described by preset Products Show service interface according to the use
When the corresponding user information of family account and user's application result carry out Products Show to obtain response results step, specific implementation
Following steps: user account is obtained from the default test job book by polling mechanism;Using the user account as defeated
Enter parameter, preset Products Show service interface is called to apply for knot according to the corresponding user information of the user account and user
Fruit carries out Products Show with output response result.
In one embodiment, processor 502 is described using the user account as input parameter in realization, calls preset
Products Show service interface according to the corresponding user information of the user account and user's application result carry out Products Show with
After output response result step, also realization following steps: if the response results quantity be it is multiple, according to pre-set priority
Rule selects the response results of highest priority as the response results of output.
In one embodiment, processor 502 described compares the response results and the expected result realizing
When obtaining test result step, it is implemented as follows step: reading the expected result simultaneously from the expected result worksheet
The expected result and the response results are compared one by one;It is defeated if the response results are identical as the expected result
Meet desired test result out;Test undesirably is exported if the response results and the expected result are not identical
As a result.
In one embodiment, processor 502 described compares the response results and the expected result realizing
After obtaining test result step, following steps are also realized: if the test result is undesirably, according to undesirably
Test result test result worksheet is generated in the default test job book.
It should be appreciated that in the embodiment of the present application, processor 502 can be central processing unit (Central
Processing Unit, CPU), which can also be other general processors, digital signal processor (Digital
Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit,
ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic
Device, discrete gate or transistor logic, discrete hardware components etc..Wherein, general processor can be microprocessor or
Person's processor is also possible to any conventional processor etc..
Those of ordinary skill in the art will appreciate that be realize above-described embodiment method in all or part of the process,
It is that relevant hardware can be instructed to complete by computer program.The computer program includes program instruction, computer journey
Sequence can be stored in a storage medium, which is computer readable storage medium.The program instruction is by the department of computer science
At least one processor in system executes, to realize the process step of the embodiment of the above method.
Therefore, the present invention also provides a kind of storage mediums.The storage medium can be computer readable storage medium.This is deposited
Storage media is stored with computer program, and wherein computer program includes program instruction.The program instruction makes when being executed by processor
Processor executes following steps: reading default test job book, wherein the default test job book includes believing filled with user
The user information worksheet of breath and user's application result worksheet filled with user's application result, wherein user's letter
Breath and user's application result are corresponding with user account;By preset Products Show service interface according to the use
The corresponding user information of family account and user's application result carry out Products Show to obtain response results;Obtain preset expectation
As a result expected result worksheet and according to the expected result is generated in the default test job book;By the response results
It compares to obtain test result with the expected result.
In one embodiment, the processor is realized and described passes through preset Products Show executing described program instruction
Service interface carries out Products Show according to the corresponding user information of the user account and user's application result to be responded
When result step, it is implemented as follows step: user account is obtained from the default test job book by polling mechanism;It will
The user account calls preset Products Show service interface according to the corresponding user of the user account as input parameter
Information and user's application result carry out Products Show with output response result.
In one embodiment, the processor execute described program instruction and realize it is described using the user account as
Parameter is inputted, preset Products Show service interface is called to be applied according to the corresponding user information of the user account and user
As a result after carrying out Products Show with output response result step, following steps are also realized: if the response results quantity is more
It is a, then select the response results of highest priority as the response results of output according to pre-set priority rule.
In one embodiment, the processor is realized described by the response results and institute in the instruction of execution described program
When stating expected result and comparing to obtain test result step, it is implemented as follows step: from the expected result worksheet
It reads the expected result and is compared the expected result and the response results one by one;If the response results and institute
It is identical to state expected result, output meets desired test result;It is defeated if the response results and the expected result be not identical
Test result undesirably out.
In one embodiment, the processor is realized described by the response results and institute in the instruction of execution described program
It states expected result to compare after obtaining test result step, also realization following steps: if the test result is not meet
It is expected that generating test result worksheet in the default test job book according to test result undesirably.
The storage medium can be USB flash disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), magnetic disk
Or the various computer readable storage mediums that can store program code such as CD.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware
With the interchangeability of software, each exemplary composition and step are generally described according to function in the above description.This
A little functions are implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Specially
Industry technical staff can use different methods to achieve the described function each specific application, but this realization is not
It is considered as beyond the scope of this invention.
In several embodiments provided by the present invention, it should be understood that disclosed device and method can pass through it
Its mode is realized.For example, the apparatus embodiments described above are merely exemplary.For example, the division of each unit, only
Only a kind of logical function partition, there may be another division manner in actual implementation.Such as multiple units or components can be tied
Another system is closed or is desirably integrated into, or some features can be ignored or not executed.
The steps in the embodiment of the present invention can be sequentially adjusted, merged and deleted according to actual needs.This hair
Unit in bright embodiment device can be combined, divided and deleted according to actual needs.In addition, in each implementation of the present invention
Each functional unit in example can integrate in one processing unit, is also possible to each unit and physically exists alone, can also be with
It is that two or more units are integrated in one unit.
If the integrated unit is realized in the form of SFU software functional unit and when sold or used as an independent product,
It can store in one storage medium.Based on this understanding, technical solution of the present invention is substantially in other words to existing skill
The all or part of part or the technical solution that art contributes can be embodied in the form of software products, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a
People's computer, terminal or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can readily occur in various equivalent modifications or replace
It changes, these modifications or substitutions should be covered by the protection scope of the present invention.Therefore, protection scope of the present invention should be with right
It is required that protection scope subject to.
Claims (10)
1. a kind of Products Show test method characterized by comprising
Read default test job book, wherein the default test job book includes the user information work filled with user information
Make table and user's application result worksheet filled with user's application result, wherein the user information and the user
Application result is corresponding with user account;
By preset Products Show service interface according to the corresponding user information of the user account and user's application result
Products Show is carried out to obtain response results;
It obtains preset expected result and expected result work is generated in the default test job book according to the expected result
Make table;
The response results and the expected result are compared to obtain test result.
2. Products Show test method according to claim 1, which is characterized in that described to be taken by preset Products Show
Business interface carries out Products Show according to the corresponding user information of the user account and user's application result to obtain response knot
Fruit, comprising:
User account is obtained from the default test job book by polling mechanism;
Using the user account as input parameter, call preset Products Show service interface corresponding according to the user account
User information and user's application result carry out Products Show with output response result.
3. Products Show test method according to claim 2, which is characterized in that described using the user account as defeated
Enter parameter, preset Products Show service interface is called to apply for knot according to the corresponding user information of the user account and user
After fruit carries out Products Show with output response result, further includes:
If the response results quantity be it is multiple, according to pre-set priority rule select the response results of highest priority as
The response results of output.
4. Products Show test method according to claim 1, which is characterized in that it is described by the response results with it is described
Expected result compares to obtain test result, comprising:
The expected result is read from the expected result worksheet and carries out the expected result and the response results
It compares one by one;
Output meets desired test result if the response results are identical as the expected result;
Test result undesirably is exported if the response results and the expected result are not identical.
5. Products Show test method according to claim 1, which is characterized in that it is described by the response results with it is described
Expected result compares to obtain after test result, further includes:
If the test result is undesirably, according to test result undesirably in the default test job book
Generate test result worksheet.
6. a kind of Products Show test device characterized by comprising
Reading unit, for reading default test job book, wherein the default test job book includes being filled with user information
User information worksheet and user's application result worksheet filled with user's application result, wherein the user information
And user's application result is corresponding with user account;
Recommendation unit, for by preset Products Show service interface according to the corresponding user information of the user account and
User's application result carries out Products Show to obtain response results;
First generation unit, for obtaining preset expected result and according to the expected result in the default test job book
Middle generation expected result worksheet;
Comparison unit, for comparing to obtain test result by the response results and the expected result.
7. Products Show test device according to claim 6, which is characterized in that the recommendation unit includes:
Poll units, for obtaining user account from the default test job book by polling mechanism;
Recommend subelement, for using the user account as input parameter, call preset Products Show service interface according to
The corresponding user information of the user account and user's application result carry out Products Show with output response result.
8. Products Show test device according to claim 6, which is characterized in that the comparison unit includes:
Contrast subunit, for reading the expected result from the expected result worksheet and by the expected result and institute
Response results are stated to be compared one by one;
First output unit meets desired test knot for exporting if the response results are identical as the expected result
Fruit;
Second output unit, for exporting test undesirably if the response results and the expected result are not identical
As a result.
9. a kind of computer equipment, which is characterized in that the computer equipment includes memory and processor, on the memory
It is stored with computer program, the processor is realized as described in any one of claim 1-5 when executing the computer program
Method.
10. a kind of computer readable storage medium, which is characterized in that the storage medium is stored with computer program, the meter
Calculation machine program can realize method according to any one of claims 1 to 5 when being executed by a processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910532452.7A CN110415101A (en) | 2019-06-19 | 2019-06-19 | Products Show test method, device, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910532452.7A CN110415101A (en) | 2019-06-19 | 2019-06-19 | Products Show test method, device, computer equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110415101A true CN110415101A (en) | 2019-11-05 |
Family
ID=68359318
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910532452.7A Pending CN110415101A (en) | 2019-06-19 | 2019-06-19 | Products Show test method, device, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110415101A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111190801A (en) * | 2019-12-19 | 2020-05-22 | 广州华多网络科技有限公司 | Recommendation system testing method and device and electronic equipment |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102385601A (en) * | 2010-09-03 | 2012-03-21 | 阿里巴巴集团控股有限公司 | Product information recommendation method and system |
CN104461863A (en) * | 2014-10-29 | 2015-03-25 | 中国建设银行股份有限公司 | Service system testing method, device and system |
WO2015102429A1 (en) * | 2014-01-03 | 2015-07-09 | 에스케이플래닛 주식회사 | Electronic commerce service system, user log-based product recommendation method thereof, and method for associated product sales |
CN104951400A (en) * | 2015-07-13 | 2015-09-30 | 百度在线网络技术(北京)有限公司 | Method and device for testing product |
CN107577589A (en) * | 2016-07-04 | 2018-01-12 | 北京奇虎科技有限公司 | The method and device of fixed time test advertisement putting interface |
CN108664398A (en) * | 2018-05-09 | 2018-10-16 | 平安普惠企业管理有限公司 | Test data generating method, device, computer equipment and storage medium |
US20180308114A1 (en) * | 2017-04-24 | 2018-10-25 | Guangdong Matview Intelligent Science & Technology Co., Ltd. | Method, device and system for evaluating product recommendation degree |
CN109191201A (en) * | 2018-08-28 | 2019-01-11 | 深圳市元征科技股份有限公司 | A kind of information matching method and relevant device |
CN109636581A (en) * | 2018-10-30 | 2019-04-16 | 深圳壹账通智能科技有限公司 | Processing method and processing device, storage medium, the computer equipment of loan application information |
CN109739768A (en) * | 2018-12-29 | 2019-05-10 | 深圳Tcl新技术有限公司 | Search engine evaluating method, device, equipment and readable storage medium storing program for executing |
CN109767318A (en) * | 2018-12-15 | 2019-05-17 | 深圳壹账通智能科技有限公司 | Loan product recommended method, device, equipment and storage medium |
CN109785049A (en) * | 2018-12-19 | 2019-05-21 | 平安科技(深圳)有限公司 | A kind of Products Show method, apparatus and terminal device based on data analysis |
-
2019
- 2019-06-19 CN CN201910532452.7A patent/CN110415101A/en active Pending
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102385601A (en) * | 2010-09-03 | 2012-03-21 | 阿里巴巴集团控股有限公司 | Product information recommendation method and system |
WO2015102429A1 (en) * | 2014-01-03 | 2015-07-09 | 에스케이플래닛 주식회사 | Electronic commerce service system, user log-based product recommendation method thereof, and method for associated product sales |
CN104461863A (en) * | 2014-10-29 | 2015-03-25 | 中国建设银行股份有限公司 | Service system testing method, device and system |
CN104951400A (en) * | 2015-07-13 | 2015-09-30 | 百度在线网络技术(北京)有限公司 | Method and device for testing product |
CN107577589A (en) * | 2016-07-04 | 2018-01-12 | 北京奇虎科技有限公司 | The method and device of fixed time test advertisement putting interface |
US20180308114A1 (en) * | 2017-04-24 | 2018-10-25 | Guangdong Matview Intelligent Science & Technology Co., Ltd. | Method, device and system for evaluating product recommendation degree |
CN108664398A (en) * | 2018-05-09 | 2018-10-16 | 平安普惠企业管理有限公司 | Test data generating method, device, computer equipment and storage medium |
CN109191201A (en) * | 2018-08-28 | 2019-01-11 | 深圳市元征科技股份有限公司 | A kind of information matching method and relevant device |
CN109636581A (en) * | 2018-10-30 | 2019-04-16 | 深圳壹账通智能科技有限公司 | Processing method and processing device, storage medium, the computer equipment of loan application information |
CN109767318A (en) * | 2018-12-15 | 2019-05-17 | 深圳壹账通智能科技有限公司 | Loan product recommended method, device, equipment and storage medium |
CN109785049A (en) * | 2018-12-19 | 2019-05-21 | 平安科技(深圳)有限公司 | A kind of Products Show method, apparatus and terminal device based on data analysis |
CN109739768A (en) * | 2018-12-29 | 2019-05-10 | 深圳Tcl新技术有限公司 | Search engine evaluating method, device, equipment and readable storage medium storing program for executing |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111190801A (en) * | 2019-12-19 | 2020-05-22 | 广州华多网络科技有限公司 | Recommendation system testing method and device and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11430013B2 (en) | Configurable relevance service test platform | |
CN107748985B (en) | Network-based payment method and network payment server | |
CN110222293B (en) | Form page generation method and device | |
CN105389184B (en) | The configuration method and device of Product Interface information | |
CN110532041A (en) | Regulation engine method for parameter configuration, device, computer equipment and storage medium | |
JP7247131B2 (en) | Reprogrammable point-of-sale transaction flow | |
CN105553954A (en) | Data processing method and system | |
CN103729171A (en) | Generating method and device of service workflow codes | |
CN106998314B (en) | Account interaction method and device | |
CN106296178A (en) | Method of payment based on NFC and device | |
CN110838041B (en) | Virtual resource activity processing method and device, computer equipment and storage medium | |
CN106649638A (en) | Big data acquisition method | |
CN111415146A (en) | Resource data processing method, device and equipment | |
CN110415101A (en) | Products Show test method, device, computer equipment and storage medium | |
CN110490554A (en) | Workflow management method, device, computer equipment and storage medium | |
US20180330335A1 (en) | Method and apparatus for enabling scheduling of a meeting activity between a service professional and a customer of a service | |
CN105094789A (en) | Data exchanging method and device | |
CN110751455B (en) | Method and device for processing joint service | |
WO2017189228A1 (en) | Emphasizing communication based on past interaction related to promoted items | |
CN110244934B (en) | Method and device for generating product demand document and test information | |
CN111753203A (en) | Card number recommendation method, device, equipment and medium | |
JP7371285B1 (en) | Information processing device, information processing method, and program | |
US20220261788A1 (en) | Method and system for generating customized electronic checkout user interfaces | |
CN117311686A (en) | Application generation method, device, apparatus, medium and program product | |
CN116414440A (en) | Software modification method and device and 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 |