CN104268724A - Business process testing method and device - Google Patents

Business process testing method and device Download PDF

Info

Publication number
CN104268724A
CN104268724A CN201410593375.3A CN201410593375A CN104268724A CN 104268724 A CN104268724 A CN 104268724A CN 201410593375 A CN201410593375 A CN 201410593375A CN 104268724 A CN104268724 A CN 104268724A
Authority
CN
China
Prior art keywords
measured
operation flow
link
execution result
scene
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
CN201410593375.3A
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.)
Agricultural Bank of China
Original Assignee
Agricultural Bank of China
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 Agricultural Bank of China filed Critical Agricultural Bank of China
Priority to CN201410593375.3A priority Critical patent/CN104268724A/en
Publication of CN104268724A publication Critical patent/CN104268724A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/02Banking, e.g. interest calculation or account maintenance

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Human Resources & Organizations (AREA)
  • Economics (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Development Economics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Physics & Mathematics (AREA)
  • Finance (AREA)
  • General Physics & Mathematics (AREA)
  • Marketing (AREA)
  • Accounting & Taxation (AREA)
  • Educational Administration (AREA)
  • Technology Law (AREA)
  • Game Theory and Decision Science (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a business process testing method and device. The method comprises the following steps: selecting one of to-be-tested scenes corresponding to to-be-tested business processes input by a user, and using as a target scene to be tested; sequentially executing to-be-tested links included by the to-be-tested target scene, and judging whether an execution result is the same as an execution result reference value of the to-be-tested link or not; if not, outputting an error flag and quitting from the to-be-tested scene; otherwise, continuing to select the to-be-tested link in order from the to-be-tested links included by the to-be-tested target scene and executing the to-be-tested link; after all the to-be-tested links included by the to-be-tested target scene are selected and executed, selecting the other to-be-tested scene from the to-be-tested scenes corresponding to the to-be-tested business processes again and using as a new target scene to be tested, continuing to execute the above processes until all the to-be-tested scenes are selected. The testing process does not need manual operation, and the problem of low test accuracy caused by manually simulating exercises is avoided.

Description

A kind of operation flow method of testing and device
Technical field
The application relates to operation flow technical field of measurement and test, more particularly, relates to a kind of operation flow method of testing and device.
Background technology
As everyone knows, in the spring tide that banking industry is in " Functional Bank " builds, banking industry now and in the future all exists and will build a large amount of operation flows.Operation flow is the process of the business conduct that of being made up of multiple service link is complete.Operation flow all needs before going into operation through perfect test again, test by after can put into operation.
At present, financial industry adopts traditional coding or manual type to carry out the test of operation flow mostly, needs to organize a large number of services operating personnel repeatedly to carry out simulated maneuver, thus test operation flow in process.Period, need to drop into huge human and material resources, financial resources and time, and due to the subjectivity of operating personnel and one-sidedness, affect the accuracy that operation flow is tested.
Summary of the invention
In view of this, this application provides a kind of operation flow method of testing and device, relying on manpower to carry out the low problem of test accuracy existing for simulated maneuver for solving existing business flow testing.
To achieve these goals, the existing scheme proposed is as follows:
A kind of operation flow method of testing, comprising:
The operation flow to be measured of S1, reception user input;
S2, from preset the to be measured scene set corresponding with described operation flow to be measured choose a scene to be measured, be defined as target scene to be measured;
S3, the execution sequence of link to be measured comprised according to the described target scene to be measured preset, choose link to be measured successively, and perform the link to be measured chosen;
Whether the execution result of the link to be measured chosen described in S4, judgement is identical with the execution result reference value of this link to be measured preset, and if not, output error identifies and exits this scene to be measured, then performs step S6, if so, performs step S5;
S5, judge the link to be measured whether do not chosen in addition in described target scene to be measured, if so, return and perform step S3, if not, perform step S6;
S6, judge the scene to be measured whether do not chosen in addition in described scene set to be measured, if so, return and perform step S2, if not, export and correctly identify.
Preferably, described in the execution result of link to be measured chosen comprise operation flow state, then whether the execution result of the link to be measured chosen described in described judgement identical with the execution result reference value of this link to be measured preset, and comprising:
Judge that whether described operation flow state is identical with the operation flow state reference value preset, described operation flow state comprises the running status of operation flow and the link state of operation flow;
The execution result of the link to be measured chosen described in if so, then determining is identical with the execution result reference value of this link to be measured preset;
If not, then determine described in the execution result of link to be measured chosen not identical with the execution result reference value of this link to be measured preset.
Preferably, the execution result of the described link to be measured chosen comprises operation flow state, operation flow data and output parameter, whether the execution result of the link to be measured then chosen described in described judgement is identical with the execution result reference value of this link to be measured preset, and comprising:
Judge that whether described operation flow state is identical with the operation flow state reference value preset, described operation flow state comprises the running status of operation flow and the link state of operation flow;
Judge that whether described operation flow data are identical with the operation flow data reference value preset;
Judge that whether described output parameter is identical with the output parameter reference value preset;
If above-mentioned three judged results are be, the execution result of the link to be measured chosen described in then determining is identical with the execution result reference value of this link to be measured preset, otherwise the execution result of the link to be measured chosen described in determining is not identical with the execution result reference value of this link to be measured preset.
Preferably, also comprise:
Generate the examining report of described operation flow to be measured, whether described examining report comprises described operation flow to be measured correct, and when described operation flow to be measured is incorrect, mistake occurs in which link to be measured of which scene to be measured.
Preferably, when the operation flow to be measured that described user inputs is multiple, the method also comprises:
Add up the final number exporting the operation flow test scene to be measured of correct mark in multiple operation flow to be measured;
Calculate the ratio that the operation flow test scene to be measured exporting correct mark accounts for all operation flow test scenes to be measured.
A kind of operation flow proving installation, comprising:
Flow process receiving element, for receiving the operation flow to be measured of user's input;
Scene chooses unit, for choosing a scene to be measured from the scene set to be measured corresponding with described operation flow to be measured preset, is defined as target scene to be measured;
Link chooses unit, for the execution sequence of link to be measured comprised according to the described target scene to be measured preset, chooses link to be measured successively, and performs the link to be measured chosen;
First judging unit, whether the execution result for the link to be measured chosen described in judging is identical with the execution result reference value of this link to be measured preset;
First mark output unit, for when the judged result of described first judging unit is no, output error identifies and exits this test scene, enters the 3rd judging unit;
Second judging unit, for when the judged result of described first judging unit is for being, judges the link to be measured whether do not chosen in addition in described target scene to be measured, and when judged result is for being, returns described link and choosing unit;
3rd judging unit, for when the judged result of described second judging unit is no, judges the scene to be measured whether do not chosen in addition in described scene set to be measured, and when judged result is for being, returns described scene and choosing unit;
Second mark output unit, for when the judged result of described second judging unit is no, exports and correctly identifies.
Preferably, described in the execution result of link to be measured chosen when comprising operation flow state, described first judging unit comprises:
Flow state judging unit, for judging that whether described operation flow state is identical with the operation flow state reference value preset, described operation flow state comprises the running status of operation flow and the link state of operation flow;
First determining unit, for when described flow state judging unit is judged as YES, the execution result of the link to be measured chosen described in determining is identical with the execution result reference value of this link to be measured preset;
Second determining unit, for when described flow state judging unit is judged as NO, the execution result of the link to be measured chosen described in determining is not identical with the execution result reference value of this link to be measured preset.
Preferably, described in the execution result of link to be measured chosen comprise operation flow state, operation flow data and output parameter, then described first judging unit comprises:
Flow state judging unit, for judging that whether described operation flow state is identical with the operation flow state reference value preset, described operation flow state comprises the running status of operation flow and the link state of operation flow;
Flow data judging unit, for judging that whether described operation flow data are identical with the operation flow data reference value preset;
Output parameter judging unit, for judging that whether described output parameter is identical with the output parameter reference value preset;
3rd determining unit, when for being in above-mentioned three judged results being, the execution result of the link to be measured chosen described in determining is identical with the execution result reference value of this link to be measured preset, otherwise the execution result of the link to be measured chosen described in determining is not identical with the execution result reference value of this link to be measured preset.
Preferably, also comprise:
Examining report generation unit, for generating the examining report of described operation flow to be measured, whether described examining report comprises described operation flow to be measured correct, and when described operation flow to be measured is incorrect, mistake occurs in which link to be measured of which scene to be measured.
Preferably, when the operation flow to be measured that described user inputs is multiple, this device also comprises:
Number statistic unit, for adding up the final number exporting the operation flow test scene to be measured of correct mark in multiple operation flow to be measured;
Ratio computing unit, accounts for the ratio of all operation flow test scenes to be measured for calculating the operation flow test scene to be measured exporting correct mark.
As can be seen from above-mentioned technical scheme, the operation flow method of testing that the embodiment of the present application provides, one is chosen as target scene to be measured from the scene to be measured that the operation flow to be measured of user's input is corresponding, link to be measured is performed in order from the link to be measured that target scene to be measured comprises, and judge that whether execution result is identical with the execution result reference value of this link to be measured preset, if different, then output error identifies and exits this scene to be measured, otherwise continue in order choose link to be measured and perform from the link to be measured that target scene to be measured comprises, until the link to be measured comprised in target scene to be measured is all selected, it is out-of-date to perform, again from scene to be measured corresponding to operation flow to be measured, choose another scene to be measured, as new target scene to be measured, continue to perform said process, until whole scene to be measured is all chosen complete.By the method for the application, achieve the test process to operation flow to be measured, and whole process is without the need to manual operation, thus avoids and rely on manpower to carry out the low problem of test accuracy existing for simulated maneuver.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present application or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only the embodiment of the application, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to the accompanying drawing provided.
Fig. 1 is a kind of operation flow method of testing process flow diagram disclosed in the embodiment of the present application;
Fig. 2 is a kind of disclosed in the embodiment of the present application judges the method flow diagram whether link execution result is correct;
Fig. 3 is that the disclosed another kind of the embodiment of the present application judges the method flow diagram whether link execution result is correct;
Fig. 4 is another kind of operation flow method of testing process flow diagram disclosed in the embodiment of the present application;
Fig. 5 is the embodiment of the present application another operation flow method of testing process flow diagram disclosed;
Fig. 6 is a kind of operation flow proving installation structural representation disclosed in the embodiment of the present application;
A kind of structural representation of Fig. 7 first judging unit disclosed in the embodiment of the present application;
The another kind of structural representation of Fig. 8 first judging unit disclosed in the embodiment of the present application;
Fig. 9 is another kind of operation flow proving installation structural representation disclosed in the embodiment of the present application;
Figure 10 is the embodiment of the present application another operation flow proving installation structural representation disclosed.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present application, be clearly and completely described the technical scheme in the embodiment of the present application, obviously, described embodiment is only some embodiments of the present application, instead of whole embodiments.Based on the embodiment in the application, those of ordinary skill in the art are not making the every other embodiment obtained under creative work prerequisite, all belong to the scope of the application's protection.
Before introducing the scheme of the application, first introduce the several nouns used herein.
Flow process: herein also referred to as operation flow, is made up of the process of a complete business conduct, can be described as flow process multiple service link (or claim " step ", " activity " etc.)." housing loan approval process " i.e. flow process of such as bank's industry.
Business scenario: be certain operation action that flow process occurs under certain environment and data qualification.Such as " housing loan approval process ", we can list three kinds of typical scenes.Scene one, client A, after application housing loan, successfully make loans after " accepting " link progressively of bank, " investigation " link, " examination & approval " link.Scene two, client B, after application housing loan, in " investigation " link of bank, find the house-purchase qualification that it does not meet " five, state " specifies, thus stop its housing loan request.Scene three, client C, after application housing loan, in " investigation " link of bank, find that client lacks some application materials, thus need these data supplementary, after client supplements complete related data, continued the examination & approval of whole flow process.For all Run-time scenarios good abstract of a flow process, then can reach the good covering to flow logic.
Link: each step forming flow process, is called link.Such as " housing loan approval process " generally can be made up of the link such as " client's consulting ", " bank accepts application ", " before borrowing investigation ", " loan examination & approval ", " loan origination ".
Flow instance: flow instance is the once execution to flow process.For " housing loan approval process ", a specific client completes once the implementation of " housing loan approval process ", i.e. a flow instance of " housing loan approval process ".
See Fig. 1, Fig. 1 a kind of operation flow method of testing process flow diagram disclosed in the embodiment of the present application.
As shown in Figure 1, the method comprises:
The operation flow to be measured of step S1, reception user input;
Step S2, from preset the to be measured scene set corresponding with described operation flow to be measured choose a scene to be measured, be defined as target scene to be measured;
Particularly, an operation flow, to there being several scenes, all needs for each scene the test job carrying out flow process.Therefore, we first choose arbitrarily a scene to be measured here, be not selected, this scene to be measured is defined as target scene to be measured before this scene to be measured.
Step S3, the execution sequence of link to be measured comprised according to the described target scene to be measured preset, choose link to be measured successively, and perform the link to be measured chosen;
Particularly, all comprise several links under each scene, the execution sequence of these links is pre-set.Here, the link to be measured that we comprise for target scene to be measured, chooses link to be measured in order successively, and performs this link chosen.When performing some links, need, according to scene creation flow instance to be measured, then in flow instance, to perform link to be measured.
Step S4, judge that execution result is whether identical with the execution result reference value of this link to be measured preset, if not, then perform step S7, output error identify and exit this scene to be measured, then execution step S6; If so, then step S5 is performed;
Particularly, for the execution result of each link under each scene, we have all preset the reference value of desired output, this is treated that flow gauge performs the result that link to be measured exports and detects under target scene to be measured herein, determine that whether it is identical with the reference value preset, just think the correctness of this link when only having the two identical, otherwise think that this link goes wrong, output error identifies and exits.
Step S5, judge the link to be measured whether do not chosen in addition in described target scene to be measured, if so, return and perform step S3, otherwise perform step S6;
Step S6, judge the scene to be measured whether do not chosen in addition in described scene set to be measured, if so, return and perform step S2, otherwise perform step S8, export and correctly identify.
Through above-mentioned steps S5 and S6, achieve the test of the scene whole to be measured treating flow gauge, whole link to be measured.
One until flow gauge only whole links of whole scene to be measured test all by time, just think that this treats that flow gauge is correct.
The operation flow method of testing that the embodiment of the present application provides, one is chosen as target scene to be measured from the scene to be measured that the operation flow to be measured of user's input is corresponding, link to be measured is performed in order from the link to be measured that target scene to be measured comprises, and judge that whether execution result is identical with the execution result reference value of this link to be measured preset, if different, then output error identifies and exits this scene to be measured, otherwise continue in order choose link to be measured and perform from the link to be measured that target scene to be measured comprises, until the link to be measured comprised in target scene to be measured is all selected, it is out-of-date to perform, again from scene to be measured corresponding to operation flow to be measured, choose another scene to be measured, as new target scene to be measured, continue to perform said process, until whole scene to be measured is all chosen complete.By the method for the application, achieve the test process to operation flow to be measured, and whole process is without the need to manual operation, thus avoids and rely on manpower to carry out the low problem of test accuracy existing for simulated maneuver.
It is to be understood that the execution result of link to be measured can embody with the form of operation flow state, operation flow state comprises the link state of operation flow running status and operation flow.Wherein, operation flow running status comprises operation, time-out, end etc., and which link is operation flow link state be in for sign is current.On this basis, judge see Fig. 2, Fig. 2 are a kind of disclosed in the embodiment of the present application the method flow diagram whether link execution result is correct.
As shown in Figure 2, above-mentioned steps S4 can comprise:
Step S200, judge that described operation flow state is whether identical with the operation flow state reference value preset; If so, then perform step S210, determine described in the execution result of link to be measured chosen identical with the execution result reference value of this default link to be measured; If not, then perform step S220, determine described in the execution result of link to be measured chosen not identical with the execution result reference value of this default link to be measured.
Particularly, for the execution result of each link, we all set corresponding operation flow state reference value, are determined the correctness of this link by contrast the actual running results and preset value.
On the basis of the above, it should be noted that, the execution result of link to be measured, except can comprising operation flow state, can also comprise operation flow data and output parameter.Wherein, operation flow data comprise flow instance, task instances, active instance etc., the scene that flow process is determined based on certain, after running to certain link determined, flow instance number in the operation of uniqueness, history flow instance number, operating task instances number, historic task instance number, operating active instance number, historical act instance number etc. should be had.Output parameter generally comprises business datum and flow data.On this basis, being that the embodiment of the present application is disclosed another kind of see Fig. 3, Fig. 3 judges the method flow diagram whether link execution result is correct.
As shown in Figure 3, the method comprises:
Step S300, judge that described operation flow state is whether identical with the operation flow state reference value preset;
Step S310, judge that described operation flow data are whether identical with the operation flow data reference value preset;
Step S320, judge that described output parameter is whether identical with the output parameter reference value preset;
If above-mentioned three judged results are be, then perform step S330, determine described in the execution result of link to be measured chosen identical with the execution result reference value of this default link to be measured; Otherwise, perform step S340, determine described in the execution result of link to be measured chosen not identical with the execution result reference value of this default link to be measured.
Further, see Fig. 4, Fig. 4 another kind of operation flow method of testing process flow diagram disclosed in the embodiment of the present application.
On the basis of embodiment one, the present embodiment increases step S400 further, generates the examining report of described operation flow to be measured.
Particularly, whether described examining report can comprise described operation flow to be measured correct, and when described operation flow to be measured is incorrect, mistake occurs in which link to be measured of which scene to be measured.The information that examining report comprises can tell user the correctness of operation flow to be measured, and further can when operation flow to be measured makes a mistake, in which link under telling user error to occur in which scene of operation flow.Thus instruct user to improve operation flow.
Examining report can also comprise the output parameter reference value of expectation and the comparison situation of actual execution result.By such setting, once our testing process makes a mistake, know it is wrong in certain link, and the comparison situation between actual output situation and desired output reference value can be known, thus be convenient to developer and analyze why this error situations to occur.
Further, in embodiment one, the operation flow to be measured of user's input can be one or more, when it is multiple, is the embodiment of the present application another operation flow method of testing process flow diagram disclosed see Fig. 5, Fig. 5.
Composition graphs 1 and Fig. 5 known, the method can also comprise:
Step S500, to add up in multiple operation flow to be measured the final number exporting the operation flow test scene to be measured of correct mark;
Step S510, calculating export the ratio that the correct operation flow test scene to be measured identified accounts for all operation flow test scenes to be measured.
In the present embodiment, the operation flow correct for test result is added up, thus completes the calculating of the accuracy of the test scene of the operation flow multiple to be measured for user's input.
When the operation flow multiple to be measured of user's input belongs to a project, the accuracy of the operation flow to be measured that this project comprises can be drawn by said process.
Be described the operation flow proving installation that the embodiment of the present application provides below, operation flow proving installation described below can mutual corresponding reference with above-described operation flow method of testing.
See Fig. 6, Fig. 6 a kind of operation flow proving installation structural representation disclosed in the embodiment of the present application.
As shown in Figure 6, this device comprises:
Flow process receiving element 61, for receiving the operation flow to be measured of user's input;
Scene chooses unit 62, for choosing a scene to be measured from the scene set to be measured corresponding with described operation flow to be measured preset, is defined as target scene to be measured;
Link chooses unit 63, for the execution sequence of link to be measured comprised according to the described target scene to be measured preset, chooses link to be measured successively, and performs the link to be measured chosen;
First judging unit 64, whether the execution result for the link to be measured chosen described in judging is identical with the execution result reference value of this link to be measured preset;
First mark output unit 65, for when the judged result of described first judging unit 64 is no, output error identifies and exits this scene to be measured, and enters the 3rd judging unit 67;
Second judging unit 66, for when the judged result of described first judging unit 64 is for being, judges the link to be measured whether do not chosen in addition in described target scene to be measured, and when judged result is for being, returns described link and choosing unit 63;
3rd judging unit 67, for when the judged result of described second judging unit 66 is no, judges the scene to be measured whether do not chosen in addition in described scene set to be measured, and when judged result is for being, returns described scene and choosing unit 62;
Second mark output unit 68, for when the judged result of described second judging unit 66 is no, exports and correctly identifies.
Optionally, when the execution result of the described link to be measured chosen comprises operation flow state, Fig. 7 illustrates a kind of alternate configurations of the first judging unit disclosed in the embodiment of the present application, and as shown in Figure 7, described first judging unit 64 comprises:
Flow state judging unit 641, for judging that whether described operation flow state is identical with the operation flow state reference value preset, described operation flow state comprises the running status of operation flow and the link state of operation flow;
First determining unit 642, for when described flow state judging unit 641 is judged as YES, the execution result of the link to be measured chosen described in determining is identical with the execution result reference value of this link to be measured preset;
Second determining unit 643, for when described flow state judging unit 641 is judged as NO, the execution result of the link to be measured chosen described in determining is not identical with the execution result reference value of this link to be measured preset.
Optionally, when the execution result of the described link to be measured chosen comprises operation flow state, operation flow data and output parameter, Fig. 8 illustrates the another kind of alternate configurations of the first judging unit disclosed in the embodiment of the present application, and as shown in Figure 8, described first judging unit 64 comprises:
Flow state judging unit 641, for judging that whether described operation flow state is identical with the operation flow state reference value preset, described operation flow state comprises the running status of operation flow and the link state of operation flow;
Flow data judging unit 644, for judging that whether described operation flow data are identical with the operation flow data reference value preset;
Output parameter judging unit 645, for judging that whether described output parameter is identical with the output parameter reference value preset;
3rd determining unit 646, when for being in above-mentioned three judged results being, the execution result of the link to be measured chosen described in determining is identical with the execution result reference value of this link to be measured preset, otherwise the execution result of the link to be measured chosen described in determining is not identical with the execution result reference value of this link to be measured preset.
Optionally, Fig. 9 illustrates the another kind of alternate configurations of operation flow proving installation disclosed in the embodiment of the present application, composition graphs 6 and Fig. 9 known, this device can also comprise:
Examining report generation unit 91, for generating the examining report of described operation flow to be measured, whether described examining report comprises described operation flow to be measured correct, and when described operation flow to be measured is incorrect, mistake occurs in which link to be measured of which scene to be measured.
Examining report can also comprise the output parameter reference value of expectation and the comparison situation of actual execution result.By such setting, once our testing process makes a mistake, know it is wrong in certain link, and the comparison situation between actual output situation and desired output reference value can be known, thus be convenient to developer and analyze why this error situations to occur.
Optionally, when the operation flow to be measured that described user inputs is multiple, illustrate another alternate configurations of operation flow proving installation disclosed in the embodiment of the present application see Figure 10, Figure 10, composition graphs 6 and Figure 10 known, this device also comprises:
Number statistic unit 10, for adding up the final number exporting the operation flow test scene to be measured of correct mark in multiple operation flow to be measured;
Ratio computing unit 11, accounts for the ratio of all operation flow test scenes to be measured for calculating the operation flow test scene to be measured exporting correct mark.
The operation flow proving installation that the embodiment of the present application provides, one is chosen as target scene to be measured from the scene to be measured that the operation flow to be measured of user's input is corresponding, link to be measured is performed in order from the link to be measured that target scene to be measured comprises, and judge that whether execution result is identical with the execution result reference value of this link to be measured preset, if different, then output error identifies and exits this scene to be measured, otherwise continue in order choose link to be measured and perform from the link to be measured that target scene to be measured comprises, until the link to be measured comprised in target scene to be measured is all selected, it is out-of-date to perform, again from scene to be measured corresponding to operation flow to be measured, choose another scene to be measured, as new target scene to be measured, continue to perform said process, until whole scene to be measured is all chosen complete.By the device of the application, achieve the test process to operation flow to be measured, and whole process is without the need to manual operation, thus avoids and rely on manpower to carry out the low problem of test accuracy existing for simulated maneuver.
Finally, also it should be noted that, in this article, the such as relational terms of first and second grades and so on is only used for an entity or operation to separate with another entity or operational zone, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or equipment.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment comprising described key element and also there is other identical element.
In this instructions, each embodiment adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar portion mutually see.
To the above-mentioned explanation of the disclosed embodiments, professional and technical personnel in the field are realized or uses the application.To be apparent for those skilled in the art to the multiple amendment of these embodiments, General Principle as defined herein when not departing from the spirit or scope of the application, can realize in other embodiments.Therefore, the application can not be restricted to these embodiments shown in this article, but will meet the widest scope consistent with principle disclosed herein and features of novelty.

Claims (10)

1. an operation flow method of testing, is characterized in that, comprising:
The operation flow to be measured of S1, reception user input;
S2, from preset the to be measured scene set corresponding with described operation flow to be measured choose a scene to be measured, be defined as target scene to be measured;
S3, the execution sequence of link to be measured comprised according to the described target scene to be measured preset, choose link to be measured successively, and perform the link to be measured chosen;
Whether the execution result of the link to be measured chosen described in S4, judgement is identical with the execution result reference value of this link to be measured preset, and if not, output error identifies and exits this scene to be measured, then performs step S6, if so, performs step S5;
S5, judge the link to be measured whether do not chosen in addition in described target scene to be measured, if so, return and perform step S3, if not, perform step S6;
S6, judge the scene to be measured whether do not chosen in addition in described scene set to be measured, if so, return and perform step S2, if not, export and correctly identify.
2. operation flow method of testing according to claim 1, it is characterized in that, the execution result of the described link to be measured chosen comprises operation flow state, whether the execution result of the link to be measured then chosen described in described judgement is identical with the execution result reference value of this link to be measured preset, and comprising:
Judge that whether described operation flow state is identical with the operation flow state reference value preset, described operation flow state comprises the running status of operation flow and the link state of operation flow;
The execution result of the link to be measured chosen described in if so, then determining is identical with the execution result reference value of this link to be measured preset;
If not, then determine described in the execution result of link to be measured chosen not identical with the execution result reference value of this link to be measured preset.
3. operation flow method of testing according to claim 1, it is characterized in that, the execution result of the described link to be measured chosen comprises operation flow state, operation flow data and output parameter, whether the execution result of the link to be measured then chosen described in described judgement is identical with the execution result reference value of this link to be measured preset, and comprising:
Judge that whether described operation flow state is identical with the operation flow state reference value preset, described operation flow state comprises the running status of operation flow and the link state of operation flow;
Judge that whether described operation flow data are identical with the operation flow data reference value preset;
Judge that whether described output parameter is identical with the output parameter reference value preset;
If above-mentioned three judged results are be, the execution result of the link to be measured chosen described in then determining is identical with the execution result reference value of this link to be measured preset, otherwise the execution result of the link to be measured chosen described in determining is not identical with the execution result reference value of this link to be measured preset.
4. operation flow method of testing according to claim 1, is characterized in that, also comprise:
Generate the examining report of described operation flow to be measured, whether described examining report comprises described operation flow to be measured correct, and when described operation flow to be measured is incorrect, mistake occurs in which link to be measured of which scene to be measured.
5. operation flow method of testing according to claim 1, is characterized in that, when the operation flow to be measured that described user inputs is multiple, the method also comprises:
Add up the final number exporting the operation flow test scene to be measured of correct mark in multiple operation flow to be measured;
Calculate the ratio that the operation flow test scene to be measured exporting correct mark accounts for all operation flow test scenes to be measured.
6. an operation flow proving installation, is characterized in that, comprising:
Flow process receiving element, for receiving the operation flow to be measured of user's input;
Scene chooses unit, for choosing a scene to be measured from the scene set to be measured corresponding with described operation flow to be measured preset, is defined as target scene to be measured;
Link chooses unit, for the execution sequence of link to be measured comprised according to the described target scene to be measured preset, chooses link to be measured successively, and performs the link to be measured chosen;
First judging unit, whether the execution result for the link to be measured chosen described in judging is identical with the execution result reference value of this link to be measured preset;
First mark output unit, for when the judged result of described first judging unit is no, output error identifies and exits this test scene, enters the 3rd judging unit;
Second judging unit, for when the judged result of described first judging unit is for being, judges the link to be measured whether do not chosen in addition in described target scene to be measured, and when judged result is for being, returns described link and choosing unit;
3rd judging unit, for when the judged result of described second judging unit is no, judges the scene to be measured whether do not chosen in addition in described scene set to be measured, and when judged result is for being, returns described scene and choosing unit;
Second mark output unit, for when the judged result of described second judging unit is no, exports and correctly identifies.
7. operation flow proving installation according to claim 6, is characterized in that, described in the execution result of link to be measured chosen when comprising operation flow state, described first judging unit comprises:
Flow state judging unit, for judging that whether described operation flow state is identical with the operation flow state reference value preset, described operation flow state comprises the running status of operation flow and the link state of operation flow;
First determining unit, for when described flow state judging unit is judged as YES, the execution result of the link to be measured chosen described in determining is identical with the execution result reference value of this link to be measured preset;
Second determining unit, for when described flow state judging unit is judged as NO, the execution result of the link to be measured chosen described in determining is not identical with the execution result reference value of this link to be measured preset.
8. operation flow proving installation according to claim 6, is characterized in that, described in the execution result of link to be measured chosen comprise operation flow state, operation flow data and output parameter, then described first judging unit comprises:
Flow state judging unit, for judging that whether described operation flow state is identical with the operation flow state reference value preset, described operation flow state comprises the running status of operation flow and the link state of operation flow;
Flow data judging unit, for judging that whether described operation flow data are identical with the operation flow data reference value preset;
Output parameter judging unit, for judging that whether described output parameter is identical with the output parameter reference value preset;
3rd determining unit, when for being in above-mentioned three judged results being, the execution result of the link to be measured chosen described in determining is identical with the execution result reference value of this link to be measured preset, otherwise the execution result of the link to be measured chosen described in determining is not identical with the execution result reference value of this link to be measured preset.
9. operation flow proving installation according to claim 6, is characterized in that, also comprise:
Examining report generation unit, for generating the examining report of described operation flow to be measured, whether described examining report comprises described operation flow to be measured correct, and when described operation flow to be measured is incorrect, mistake occurs in which link to be measured of which scene to be measured.
10. operation flow proving installation according to claim 6, is characterized in that, when the operation flow to be measured that described user inputs is multiple, this device also comprises:
Number statistic unit, for adding up the final number exporting the operation flow test scene to be measured of correct mark in multiple operation flow to be measured;
Ratio computing unit, accounts for the ratio of all operation flow test scenes to be measured for calculating the operation flow test scene to be measured exporting correct mark.
CN201410593375.3A 2014-10-29 2014-10-29 Business process testing method and device Pending CN104268724A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410593375.3A CN104268724A (en) 2014-10-29 2014-10-29 Business process testing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410593375.3A CN104268724A (en) 2014-10-29 2014-10-29 Business process testing method and device

Publications (1)

Publication Number Publication Date
CN104268724A true CN104268724A (en) 2015-01-07

Family

ID=52160244

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410593375.3A Pending CN104268724A (en) 2014-10-29 2014-10-29 Business process testing method and device

Country Status (1)

Country Link
CN (1) CN104268724A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107798540A (en) * 2017-11-16 2018-03-13 上海携程商务有限公司 Risk control method, system, storage medium and the electronic equipment that order is paid
CN107943705A (en) * 2017-12-08 2018-04-20 中国银行股份有限公司 A kind of test method and device of workflow examination and approval class system
CN110351161A (en) * 2019-05-22 2019-10-18 口碑(上海)信息技术有限公司 Business end-to-end test method, apparatus, storage medium and computer equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201435074Y (en) * 2009-06-04 2010-03-31 中国工商银行股份有限公司 Device for generating test case based on member
CN202339542U (en) * 2011-03-21 2012-07-18 中国工商银行股份有限公司 Software product test system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201435074Y (en) * 2009-06-04 2010-03-31 中国工商银行股份有限公司 Device for generating test case based on member
CN202339542U (en) * 2011-03-21 2012-07-18 中国工商银行股份有限公司 Software product test system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
中国农业银行测试研究组: ""基于QTP 场景测试用例执行工具的设计与实现"", 《金融电子化》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107798540A (en) * 2017-11-16 2018-03-13 上海携程商务有限公司 Risk control method, system, storage medium and the electronic equipment that order is paid
CN107943705A (en) * 2017-12-08 2018-04-20 中国银行股份有限公司 A kind of test method and device of workflow examination and approval class system
CN110351161A (en) * 2019-05-22 2019-10-18 口碑(上海)信息技术有限公司 Business end-to-end test method, apparatus, storage medium and computer equipment
CN110351161B (en) * 2019-05-22 2021-05-07 口碑(上海)信息技术有限公司 Business end-to-end test method, device, storage medium and computer equipment

Similar Documents

Publication Publication Date Title
CN105610654B (en) Server, and method and system for policy online testing
CN106294120B (en) Method, apparatus and computer program product for testing code
CN106294174B (en) The various dimensions measure and device of testing adequacy
CN104268724A (en) Business process testing method and device
WO2020113526A1 (en) Chip verification method and device
Abhishek et al. Test effort estimation using neural network
CN106557419A (en) The method of testing and device of program
CN104090185A (en) Testing system and method
CN110888809B (en) Risk prediction method and device for test task
CN104516815A (en) Method and device used for supporting test based on risks
Bian et al. Concrete hyperheuristic framework for test case prioritization
CN116383048A (en) Software quality information processing method and device
CN108845945A (en) Using test optimization method and device
Damm et al. Company-wide implementation of metrics for early software fault detection
KR20130086083A (en) Risk-profile generation device
CN103049648B (en) A kind of pipe stress assessment method for engineering problem
Vats et al. AVISAR-a three tier architectural framework for the testing of Object Oriented Programs
De Sousa Coelho et al. System dynamics model for simulation of the software inspection process
Iqbal et al. Improving Software Cost Estimation With Function Points Analysis Using Fuzzy Logic Method
Koochakzadeh et al. Social network analysis in software testing to categorize unit test cases based on coverage information
Befani Pathways to change: Evaluating development interventions with QCA
Laurids Boring Human reliability analysis for verification and validation of new designs
Castro-Cabrera et al. Application of metamorphic testing to a case study in web services compositions
Maina et al. A Literature Survey of Complexity Metrics for Object-Oriented Programs
Jian et al. Civil aircraft suppliers selection based on grey target and grey cluster decision method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20150107