CN109815123A - Interface testing case script classification method, device, electronic equipment and medium - Google Patents

Interface testing case script classification method, device, electronic equipment and medium Download PDF

Info

Publication number
CN109815123A
CN109815123A CN201811537817.7A CN201811537817A CN109815123A CN 109815123 A CN109815123 A CN 109815123A CN 201811537817 A CN201811537817 A CN 201811537817A CN 109815123 A CN109815123 A CN 109815123A
Authority
CN
China
Prior art keywords
case script
case
interface
script
subsystem
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
CN201811537817.7A
Other languages
Chinese (zh)
Inventor
何新荣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Life Insurance Company of China Ltd
Original Assignee
Ping An Life Insurance Company of China Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Life Insurance Company of China Ltd filed Critical Ping An Life Insurance Company of China Ltd
Priority to CN201811537817.7A priority Critical patent/CN109815123A/en
Publication of CN109815123A publication Critical patent/CN109815123A/en
Pending legal-status Critical Current

Links

Abstract

The present invention provides a kind of interface testing case script classification method, device, electronic equipment and medium.The interface testing case script classification method includes: to obtain at least one after receiving with case script sort instructions and use case script;Using regular expression to it is described at least one split with each of case script with case script, obtain each multiple fractionation modules with case script;From each multiple fractionation modules with case script, each first fractionation module with case script is determined;According to each first fractionation module with case script, each subsystem belonging to case script is determined;According to the corresponding relationship of each subsystem and interface, each corresponding interface of case script is determined;Same-interface will be corresponded to and with case script be divided into one kind, with to it is described at least one classified with case script.The present invention can classify to case script, not only saved human cost, avoided classification error, also improve classification effectiveness, user experience is more preferably.

Description

Interface testing case script classification method, device, electronic equipment and medium
Technical field
The present invention relates to interface testing technical field more particularly to a kind of interface testing case script classification method, device, Electronic equipment and medium.
Background technique
In prior art, when user want to carry out in interface test process with the classification of case script when, usually need Want manual operation, that is to say, that user needs to be grouped to case script by hand, and classification results are being added to database When, while the title of the affiliated subsystem of each classification is manually added, human cost consumption is higher, and since data volume is larger, people Very likely there is the case where erroneous packet for operation, brings inconvenience to the next lookup of user and use, and artificially grasp The workload of work is excessive, and user experience is bad.
Summary of the invention
In view of the foregoing, it is necessary to which a kind of interface testing case script classification method, device, electronic equipment and Jie are provided Matter is able to achieve the auto-associating with case script and interface and has not only saved human cost to classify to case script, Classification error is avoided, also improves classification effectiveness, user experience is more preferably.
A kind of interface testing case script classification method, which comprises
After receiving with case script sort instructions, obtains at least one and use case script;
Using regular expression to it is described at least one split with each of case script with case script, obtain each With multiple fractionation modules of case script;
From each multiple fractionation modules with case script, each first fractionation module with case script is determined;
According to each first fractionation module with case script, each subsystem belonging to case script is determined;
According to the corresponding relationship of each subsystem and interface, each corresponding interface of case script is determined;
Same-interface will be corresponded to and with case script be divided into one kind, with to it is described at least one divided with case script Class.
Preferred embodiment according to the present invention, reception case script sort instructions include the group of following one or more kinds of modes It closes:
Reception user touches the signal with case script classification key, to receive the case script sort instructions;And/or
The voice signal of user's input is received, to receive the case script sort instructions, wherein the voice Signal is classified for execution with case script.
Preferred embodiment according to the present invention, it is described after receiving with case script sort instructions, obtain at least one use-case Script includes the combination of following one or more kinds of modes:
Prompt the user to input with case script, and receive user's input uses case script, using as it is described at least One is used case script;And/or
The history case script for executing interface testing is transferred from configuration database, using as at least one described use-case foot This.
Preferred embodiment according to the present invention, it is described using regular expression to it is described at least one each of with case script Split with case script, obtain each include: with multiple fractionation modules of case script
Identify each configuration symbols in case script;
With the character among every two configuration symbols and every two configuration symbols for a fractionation module, by each use-case foot Originally multiple fractionation modules are split as.
Preferred embodiment according to the present invention, it is described according to each first fractionation module with case script, determine each use-case Subsystem belonging to script includes:
The character of each first fractionation module with case script is obtained, to get each subsystem belonging to case script Title.
Preferred embodiment according to the present invention, it is described to be divided into one kind with case script corresponding to same-interface, to institute It states at least one and classify with case script and include:
One kind is divided into case script with correspond to same-interface in case script by each;
Each classification is named according to the corresponding interface of each classification.
Preferred embodiment according to the present invention is divided into one kind with case script will correspond to same-interface, to described After at least one is classified with case script, the method also includes:
Receive the first subsystem title of user's input;
Corresponding first interface title is determined according to the first subsystem title;
Use-case subscription categories are determined according to the first interface title;
Calling carries out interface testing with case script from the use-case subscription categories.
A kind of interface testing case script sorter, described device include:
Acquiring unit, for obtaining at least one and using case script after receiving with case script sort instructions;
Split cells, for regular expression to it is described at least one torn open with each of case script with case script Point, obtain each multiple fractionation modules with case script;
Determination unit each is torn open for determining from each multiple fractionation modules with case script with the first of case script Sub-module;
The determination unit is also used to determine each case script institute according to each first fractionation module with case script The subsystem of category;
The determination unit is also used to the corresponding relationship according to each subsystem and interface, determines each case script pair The interface answered;
Taxon is divided into one kind with case script for will correspond to same-interface, at least one described use Case script is classified.
Preferred embodiment according to the present invention, reception case script sort instructions include the group of following one or more kinds of modes It closes:
Reception user touches the signal with case script classification key, to receive the case script sort instructions;And/or
The voice signal of user's input is received, to receive the case script sort instructions, wherein the voice Signal is classified for execution with case script.
Preferred embodiment according to the present invention, after receiving with case script sort instructions, the acquiring unit is obtained at least One with case script include following one or more kinds of mode combination:
Prompt the user to input with case script, and receive user's input uses case script, using as it is described at least One is used case script;And/or
The history case script for executing interface testing is transferred from configuration database, using as at least one described use-case foot This.
Preferred embodiment according to the present invention, the split cells are specifically used for:
Identify each configuration symbols in case script;
With the character among every two configuration symbols and every two configuration symbols for a fractionation module, by each use-case foot Originally multiple fractionation modules are split as.
Preferred embodiment according to the present invention, the determination unit are determined according to each first fractionation module with case script Each subsystem belonging to case script includes:
The character of each first fractionation module with case script is obtained, to get each subsystem belonging to case script Title.
Preferred embodiment according to the present invention, the taxon are specifically used for:
One kind is divided into case script with correspond to same-interface in case script by each;
Each classification is named according to the corresponding interface of each classification.
Preferred embodiment according to the present invention, described device further include:
Receiving unit, for being divided into one kind with case script will correspond to same-interface, with to it is described at least one After being classified with case script, the first subsystem title of user's input is received;
The determination unit is also used to determine corresponding first interface title according to the first subsystem title;
The determination unit is also used to determine use-case subscription categories according to the first interface title;
Test cell, for from the use-case subscription categories calling with case script carry out interface testing.
A kind of electronic equipment, the electronic equipment include:
Memory stores at least one instruction;And
Processor executes the instruction stored in the memory to realize the interface testing case script classification method.
A kind of computer readable storage medium is stored at least one instruction, institute in the computer readable storage medium At least one instruction is stated to be executed by the processor in electronic equipment to realize the interface testing case script classification method.
As can be seen from the above technical solutions, the present invention can obtain after receiving the use case script sort instructions At least one uses case script, and to it is described at least one with each of case script with case script carry out regular expression fractionation, To accurately obtain each multiple fractionation modules with case script, to realize to each automatic fractionation with case script, in turn From each multiple fractionation modules with case script, each first fractionation module with case script is obtained, and according to each use-case The first fractionation module of script, determines each subsystem belonging to case script, further combined with each subsystem and interface Corresponding relationship determines each corresponding interface of case script, to realize the auto-associating with case script and interface, further root The corresponding interface of case script is used according to each, is classified to described with case script, has not only saved human cost, avoid classification wrong Accidentally, classification effectiveness is also improved, user experience is more preferably.
Detailed description of the invention
Fig. 1 is the flow chart of the preferred embodiment of interface testing case script classification method of the present invention.
Fig. 2 is the functional block diagram of the preferred embodiment of interface testing case script sorter of the present invention.
Fig. 3 is that the structure of the electronic equipment for the preferred embodiment that the present invention realizes interface testing case script classification method is shown It is intended to.
Main element symbol description
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, right in the following with reference to the drawings and specific embodiments The present invention is described in detail.
As shown in Figure 1, being the flow chart of the preferred embodiment of interface testing case script classification method of the present invention.According to not With demand, the sequence of step can change in the flow chart, and certain steps can be omitted.
The interface testing is applied in one or more electronic equipment with case script classification method, the electronic equipment It is that one kind can be according to the instruction for being previously set or storing, the automatic equipment for carrying out numerical value calculating and/or information processing, hardware Including but not limited to microprocessor, specific integrated circuit (Application Specific Integrated Circuit, ASIC), programmable gate array (Field-Programmable Gate Array, FPGA), digital processing unit (Digital Signal Processor, DSP), embedded device etc..
The electronic equipment can be any electronic product that human-computer interaction can be carried out with user, for example, personal meter Calculation machine, tablet computer, smart phone, personal digital assistant (Personal Digital Assistant, PDA), game machine, friendship Mutual formula Web TV (Internet Protocol Television, IPTV), intellectual wearable device etc..
The electronic equipment can also include the network equipment and/or user equipment.Wherein, the network equipment includes, but It is not limited to single network server, the server group of multiple network servers composition or based on cloud computing (Cloud Computing the cloud being made of a large amount of hosts or network server).
Network locating for the electronic equipment include but is not limited to internet, wide area network, Metropolitan Area Network (MAN), local area network, it is virtual specially With network (Virtual Private Network, VPN) etc..
S10, after receiving with case script sort instructions, the electronic equipment obtains at least one and uses case script.
Of the invention uses case script classification application in an interface testing platform, and the interface testing platform is equivalent to one A WEB server (Website server), is developed using Java sentence, is deployed in Linux platform, when there is external server When accessing the interface testing platform, the interface testing platform provides interface document test, interface for angstrom cloth server The service such as document management.
In at least one embodiment of the present invention, user is when carrying out interface testing, it usually needs to case script into Row manual classification is more clear using the classification of case script with being associated with for realization case script and test interface, is clear, also more Add convenient for subsequent use, to have the value repeatedly utilized, in this way, tester can not only grasp test interface with it is corresponding The relationship of subsystem, can also be by further grasp subsystem and the relationship for using case script of classifying, and understands a subsystem Under which have use case script.
Specifically, in interface testing, the corresponding subsystem of interface, and a subsystem corresponding one or more It is a to use case script.
Preferably, the electronic equipment reception case script sort instructions include, but are not limited to following one or more The combination of mode:
(1) the electronic equipment reception user touches the signal with case script classification key, to receive the use-case foot This sort instructions.
Specifically, the touch operation of the user includes, but are not limited to: slide, clicking operation (such as: single-click operation, Double click operation etc.).
Specifically, the programmable button can be the physical button on the electronic equipment, is also possible to the electronics and sets Standby upper virtual key etc..
(2) electronic equipment receives the voice signal of user's input, is referred to receiving the case script classification It enables, wherein the voice signal is classified for execution with case script.
Specifically, the voice signal can be a Duan Yuyin of the preparatory typing of the user, and the voice signal can be with It is that the user is customized according to being accustomed to, is also possible to the user according to the prompt of the electronic equipment and carries out typing, The present invention does not limit.
Such as: the voice signal can be " come in, and row is classified with case script " etc..
In at least one embodiment of the present invention, described with case script is the electronic equipment when carrying out interface testing It is used to use case script.Therefore, described with case script may include at least one.
Preferably, described after receiving with case script sort instructions, the electronic equipment obtains at least one use-case foot Originally include, but are not limited to the combination of following one or more kinds of modes:
(1) user described in the electronic device prompts inputs with case script, and receive user's input uses case script, Using as it is described at least one use case script.
It is understood that interface testing may include that more than once, and the user for executing interface testing also may include Multiple, therefore, in order to guarantee that the electronic equipment has sufficient space to support operation, interface testing may then be protected with case script There are in the storage equipment of multiple users.At this point, the electronic equipment needs to prompt associated user's input case script, and Receive user input uses case script, using as it is described at least one use case script.
By above embodiment, the electronic equipment is available to be arrived more sufficient and comprehensively uses case script, to make For data basis.
(2) electronic equipment transfers the history case script for executing interface testing from configuration database, using as institute It states at least one and uses case script.
It is understood that carrying out coherent management for the ease of the data to interface testing, the electronic equipment can To configure the database for being exclusively used in using case script in memory interface test.In this way, the electronic equipment then can be from described Transferred in configuration database execute interface testing history case script, using as it is described at least one use case script.
By above embodiment, the electronic equipment can described in effectively save acquisition at least one with case script when Between, to improve efficiency.
S11, the electronic equipment using regular expression to it is described at least one with each of case script case script It is split, obtains each multiple fractionation modules with case script.
In at least one embodiment of the present invention, the regular expression, be otherwise known as regular expression.The canonical Expression formula is usually used to retrieval or replacement meets the text of preset mode.Due to the regular expression have flexibility and Logicality, and it is functional very strong, therefore can promptly reach the complex control of character string with simple mode.
It is split by the regular expression, available each multiple fractionation modules with case script, a fractionation mould A part of program module of the block to application examples script.
Preferably, the electronic equipment using regular expression to it is described at least one with each use-case foot in case script This is split, obtain each include: with multiple fractionation modules of case script
The electronic equipment identifies each configuration symbols in case script, is configured with every two configuration symbols and every two Character among symbol is a fractionation module, is split as multiple fractionation modules with case script for each.
Specifically, the label that the configuration symbols refer to for realizing fractionation, the configuration symbols can roots before programming It is determined according to programming language etc..For example, the configuration symbols can be the "/" symbol in regular expression, then a fractionation Module can be expressed as "/* */", wherein the part " * * " indicates to use in case script corresponding, included in the module of fractionation Content.
By above embodiment, the electronic equipment can be divided into multiple fractionation modules with case script for each, with Classify convenient for subsequent determined according to the multiple fractionation module.
S12, the electronic equipment determine each first with case script from each multiple fractionation modules with case script Split module.
In at least one embodiment of the present invention, the electronic equipment by it is each with case script according to the suitable of program language Sequence is successively split, in this way, after the electronic equipment splits one with case script, obtained first fractionation mould Block can be used as the first fractionation module.
S13, the electronic equipment determine each belonging to case script according to each first fractionation module with case script Subsystem.
In at least one embodiment of the present invention, according to the normalized written of program language, the head that is obtained after fractionation Content in a fractionation module is the corresponding subsystem belonging to case script.Therefore, the electronic equipment can be according to every A first fractionation module with case script, determines each subsystem belonging to case script.
Preferably, the electronic equipment determines each case script institute according to each first fractionation module with case script The subsystem of category includes:
The electronic equipment obtains the character of each first fractionation module with case script, each uses case script to get The title of affiliated subsystem.
Specifically, the first character for splitting module is the title to subsystem belonging to application examples script.
Such as: for a fractionation module "/subsystem A/ ", the electronic equipment is available into the fractionation module Character be subsystem A, then the electronic equipment can determine the entitled son of the corresponding subsystem of the fractionation module System A.
S14, the electronic equipment determine each corresponding with case script according to the corresponding relationship of each subsystem and interface Interface.
In at least one embodiment of the present invention, the corresponding relationship of each subsystem and interface is predetermined, because This, the electronic equipment only needs to transfer the corresponding relationship of each subsystem and interface.
Specifically, the corresponding relationship of each subsystem and interface can be recorded in the electronic equipment by the electronic equipment In (memory of electronic equipment as described in being stored in is medium), or by with corresponding relationship interface and subsystem add upper phase Same label, to facilitate the electronic equipment to be identified.
In at least one embodiment of the present invention, after the corresponding relationship of each subsystem and interface has been determined, due to Each relationship with case script and affiliated subsystem also determines, and therefore, the electronic equipment can then pass through above-mentioned two respectively Kind corresponding relationship determines each corresponding interface of case script.
S15, the electronic equipment will correspond to same-interface and with case script be divided into one kind, with to it is described at least one Classified with case script.
In at least one embodiment of the present invention, classified by corresponding interface to case script, it can be more square Just user is according to interface calling case script.Not only make classification definitely and targetedly, calling efficiency is also improved, into one Step improves the efficiency of interface testing.
Preferably, the electronic equipment will correspond to same-interface and with case script be divided into one kind, with to it is described at least One with case script carry out classification include:
The electronic equipment is divided into one kind with case script with correspond to same-interface in case script for each, and according to every The each classification of a corresponding interface name of classification.
By above embodiment, corresponding same-interface can be divided into one kind with case script by the electronic equipment, And be named according to the title of interface, to facilitate the user to call the use-case of each interface according to the title of each interface Script brings better usage experience to user.
Preferably, it is divided into one kind with case script will correspond to same-interface, at least one described use-case foot After this is classified, the method also includes:
The electronic equipment receives the first subsystem title of user's input, according to determining pair of the first subsystem title The first interface title answered, the electronic equipment determine use-case subscription categories according to the first interface title, and from the use Calling carries out interface testing with case script in case script classification.
Specifically, the electronic equipment is after the first subsystem title for receiving user's input, due to every height There is one-to-one relationships for system and interface, and therefore, the electronic equipment can be according to the first subsystem title, really Fixed corresponding first interface title, but due to it is described at least one with each classification in case script be name according to corresponding interface Claim name, therefore, the electronic equipment obtains classification corresponding with the first interface title from each classification of storage As the classification with case script to be searched, a step of going forward side by side uses case script in the classification with case script, to be used for Execute interface testing.
By above embodiment, the purpose according to specific classification calling case script is can be realized in the electronic equipment, To accurately be called.
In conclusion the present invention can obtain at least one use-case foot after receiving the use case script sort instructions This, and to it is described at least one with each of case script with case script carry out regular expression fractionation, to accurately obtain often A multiple fractionation modules with case script to realize to each automatic fractionation with case script, and then use case script from each Multiple fractionation modules in, obtain each first fractionation module with case script, and according to each first fractionation with case script Module determines each subsystem belonging to case script, further combined with the corresponding relationship of each subsystem and interface, determines every It is a further to use case script according to each to realize the auto-associating with case script and interface with the corresponding interface of case script Corresponding interface is classified with case script to described, has not only saved human cost, avoided classification error, is also improved point Class efficiency, user experience is more preferably.
As shown in Fig. 2, being the functional block diagram of the preferred embodiment of interface testing case script sorter of the present invention.Institute Stating interface testing case script sorter 11 includes acquiring unit 110, split cells 111, determination unit 112, taxon 113, receiving unit 114 and test cell 115.So-called module/the unit of the present invention refers to that one kind can be held by processor 13 Row, and the series of computation machine program segment of fixed function can be completed, storage is in memory 12.In the present embodiment, Function about each module/unit will be described in detail in subsequent embodiment.
After receiving with case script sort instructions, acquiring unit 110 obtains at least one and uses case script.
Of the invention uses case script classification application in an interface testing platform, and the interface testing platform is equivalent to one A WEB server (Website server), is developed using Java sentence, is deployed in Linux platform, when there is external server When accessing the interface testing platform, the interface testing platform provides interface document test, interface for angstrom cloth server The service such as document management.
In at least one embodiment of the present invention, user is when carrying out interface testing, it usually needs to case script into Row manual classification is more clear using the classification of case script with being associated with for realization case script and test interface, is clear, also more Add convenient for subsequent use, to have the value repeatedly utilized, in this way, tester can not only grasp test interface with it is corresponding The relationship of subsystem, can also be by further grasp subsystem and the relationship for using case script of classifying, and understands a subsystem Under which have use case script.
Specifically, in interface testing, the corresponding subsystem of interface, and a subsystem corresponding one or more It is a to use case script.
Preferably, the electronic equipment reception case script sort instructions include, but are not limited to following one or more The combination of mode:
(1) the electronic equipment reception user touches the signal with case script classification key, to receive the use-case foot This sort instructions.
Specifically, the touch operation of the user includes, but are not limited to: slide, clicking operation (such as: single-click operation, Double click operation etc.).
Specifically, the programmable button can be the physical button on the electronic equipment, is also possible to the electronics and sets Standby upper virtual key etc..
(2) electronic equipment receives the voice signal of user's input, is referred to receiving the case script classification It enables, wherein the voice signal is classified for execution with case script.
Specifically, the voice signal can be a Duan Yuyin of the preparatory typing of the user, and the voice signal can be with It is that the user is customized according to being accustomed to, is also possible to the user according to the prompt of the electronic equipment and carries out typing, The present invention does not limit.
Such as: the voice signal can be " come in, and row is classified with case script " etc..
In at least one embodiment of the present invention, described with case script is the electronic equipment when carrying out interface testing It is used to use case script.Therefore, described with case script may include at least one.
Preferably, described after receiving with case script sort instructions, the acquiring unit 110 obtains at least one use-case Script includes, but are not limited to the combination of following one or more kinds of modes:
(1) acquiring unit 110 prompts the user to input with case script, and receives the use-case foot of user's input This, using as it is described at least one use case script.
It is understood that interface testing may include that more than once, and the user for executing interface testing also may include Multiple, therefore, in order to guarantee that the electronic equipment has sufficient space to support operation, interface testing may then be protected with case script There are in the storage equipment of multiple users.At this point, the acquiring unit 110 needs that associated user is prompted to input the use-case foot This, and receive user input uses case script, using as it is described at least one use case script.
By above embodiment, the acquiring unit 110 is available to be arrived more sufficient and comprehensively uses case script, with As data basis.
(2) acquiring unit 110 transferred from configuration database execute interface testing history case script, using as It is described at least one use case script.
It is understood that carrying out coherent management for the ease of the data to interface testing, the electronic equipment can To configure the database for being exclusively used in using case script in memory interface test.In this way, the acquiring unit 110 then can be from institute State transferred in configuration database execute interface testing history case script, using as it is described at least one use case script.
By above embodiment, the acquiring unit 110 at least one can use case script described in effectively save acquisition Time, to improve efficiency.
Split cells 111 using regular expression to it is described at least one torn open with each of case script with case script Point, obtain each multiple fractionation modules with case script.
In at least one embodiment of the present invention, the regular expression, be otherwise known as regular expression.The canonical Expression formula is usually used to retrieval or replacement meets the text of preset mode.Due to the regular expression have flexibility and Logicality, and it is functional very strong, therefore can promptly reach the complex control of character string with simple mode.
It is split by the regular expression, available each multiple fractionation modules with case script, a fractionation mould A part of program module of the block to application examples script.
Preferably, the split cells 111 using regular expression to it is described at least one with each use in case script Case script is split, obtain each include: with multiple fractionation modules of case script
The split cells 111 identifies each configuration symbols in case script, with every two configuration symbols and every two Character among configuration symbols is a fractionation module, is split as multiple fractionation modules with case script for each.
Specifically, the label that the configuration symbols refer to for realizing fractionation, the configuration symbols can roots before programming It is determined according to programming language etc..For example, the configuration symbols can be the "/" symbol in regular expression, then a fractionation Module can be expressed as "/* */", wherein the part " * * " indicates to use in case script corresponding, included in the module of fractionation Content.
By above embodiment, the split cells 111 can be divided into multiple fractionation modules with case script for each, In order to which subsequent determined according to the multiple fractionation module is classified.
Determination unit 112 determines each first fractionation with case script from each multiple fractionation modules with case script Module.
In at least one embodiment of the present invention, the split cells 111 uses case script according to program language for each Sequence successively split, in this way, after the split cells 111 splits one with case script, obtain first Module is split, can be used as the first fractionation module.
The determination unit 112 determines each belonging to case script according to each first fractionation module with case script Subsystem.
In at least one embodiment of the present invention, according to the normalized written of program language, the head that is obtained after fractionation Content in a fractionation module is the corresponding subsystem belonging to case script.Therefore, the determination unit 112 can basis Each first fractionation module with case script, determines each subsystem belonging to case script.
Preferably, the determination unit 112 is according to each first fractionation module with case script, determines and each uses case script Affiliated subsystem includes:
The determination unit 112 obtains the character of each first fractionation module with case script, to get each use-case The title of subsystem belonging to script.
Specifically, the first character for splitting module is the title to subsystem belonging to application examples script.
Such as: for a fractionation module "/subsystem A/ ", the electronic equipment is available into the fractionation module Character be subsystem A, then the electronic equipment can determine the entitled son of the corresponding subsystem of the fractionation module System A.
The determination unit 112 determines each corresponding with case script according to the corresponding relationship of each subsystem and interface Interface.
In at least one embodiment of the present invention, the corresponding relationship of each subsystem and interface is predetermined, because This, the determination unit 112 only needs to transfer the corresponding relationship of each subsystem and interface.
Specifically, the corresponding relationship of each subsystem and interface can be recorded in the electronics by the determination unit 112 In equipment (memory of electronic equipment as described in being stored in is medium), or by with corresponding relationship interface and subsystem add Upper identical label, to facilitate the determination unit 112 to be identified.
In at least one embodiment of the present invention, after the corresponding relationship of each subsystem and interface has been determined, due to Each relationship with case script and affiliated subsystem also determines, and therefore, the determination unit 112 then can be respectively by above-mentioned Two kinds of corresponding relationships determine each corresponding interface of case script.
Taxon 113 will be divided into one kind with case script corresponding to same-interface, at least one described use-case Script is classified.
In at least one embodiment of the present invention, classified by corresponding interface to case script, it can be more square Just user is according to interface calling case script.Not only make classification definitely and targetedly, calling efficiency is also improved, into one Step improves the efficiency of interface testing.
Preferably, the taxon 113 will correspond to same-interface and with case script be divided into one kind, with to it is described extremely Few one carries out classification with case script and includes:
The taxon 113 is divided into one kind, and root with case script with correspond to same-interface in case script for each Each classification is named according to the corresponding interface of each classification.
By above embodiment, corresponding same-interface can be divided into one with case script by the taxon 113 Class, and be named according to the title of interface, to facilitate the user to call the use of each interface according to the title of each interface Case script brings better usage experience to user.
Preferably, it is divided into one kind with case script will correspond to same-interface, at least one described use-case foot After this is classified, the method also includes:
Receiving unit 114 receives the first subsystem title of user's input, and the determination unit 112 is according to first son Systematic name determines that corresponding first interface title, the determination unit 112 determine use-case foot according to the first interface title This classification, the calling from the use-case subscription categories of test cell 115 with case script carry out interface testing.
Specifically, the receiving unit 114 is after the first subsystem title for receiving user's input, due to each There is one-to-one relationships for subsystem and interface, and therefore, the determination unit 112 can be according to the first subsystem name Claim, determine corresponding first interface title, but due to it is described at least one with each classification in case script connect according to correspondence The name nominating of mouth, therefore, the determination unit 112 obtains and the first interface title from each classification of storage As the classification with case script to be searched, the test cell 115 further calls described with case script corresponding classification Case script is used in classification, for executing interface testing.
By above embodiment, the purpose according to specific classification calling case script is can be realized in the electronic equipment, To accurately be called.
In conclusion the present invention can obtain at least one use-case foot after receiving the use case script sort instructions This, and to it is described at least one with each of case script with case script carry out regular expression fractionation, to accurately obtain often A multiple fractionation modules with case script to realize to each automatic fractionation with case script, and then use case script from each Multiple fractionation modules in, obtain each first fractionation module with case script, and according to each first fractionation with case script Module determines each subsystem belonging to case script, further combined with the corresponding relationship of each subsystem and interface, determines every It is a further to use case script according to each to realize the auto-associating with case script and interface with the corresponding interface of case script Corresponding interface is classified with case script to described, has not only saved human cost, avoided classification error, is also improved point Class efficiency, user experience is more preferably.
As shown in figure 3, being the electronic equipment for the preferred embodiment that the present invention realizes interface testing case script classification method Structural schematic diagram.
The electronic equipment 1 be it is a kind of can according to the instruction for being previously set or store, automatic progress numerical value calculating and/or The equipment of information processing, hardware include but is not limited to microprocessor, specific integrated circuit (Application Specific Integrated Circuit, ASIC), programmable gate array (Field-Programmable Gate Array, FPGA), number Word processing device (Digital Signal Processor, DSP), embedded device etc..
The electronic equipment 1, which can also be but not limited to any one, to pass through keyboard, mouse, remote controler, touching with user The modes such as template or voice-operated device carry out the electronic product of human-computer interaction, for example, personal computer, tablet computer, smart phone, Personal digital assistant (Personal Digital Assistant, PDA), game machine, Interactive Internet TV (Internet Protocol Television, IPTV), intellectual wearable device etc..
The electronic equipment 1 can also be that the calculating such as desktop PC, notebook, palm PC and cloud server are set It is standby.
Network locating for the electronic equipment 1 include but is not limited to internet, wide area network, Metropolitan Area Network (MAN), local area network, it is virtual specially With network (Virtual Private Network, VPN) etc..
In one embodiment of the invention, the electronic equipment 1 includes, but are not limited to memory 12, processor 13, And it is stored in the computer program that can be run in the memory 12 and on the processor 13, such as interface testing use-case Script sort program.
It will be understood by those skilled in the art that the schematic diagram is only the example of electronic equipment 1, not structure paired electrons The restriction of equipment 1 may include perhaps combining certain components or different components, example than illustrating more or fewer components Such as described electronic equipment 1 can also include input-output equipment, network access equipment, bus.
Alleged processor 13 can be central processing unit (Central Processing Unit, CPU), 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) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor Deng the processor 13 is arithmetic core and the control centre of the electronic equipment 1, entire using various interfaces and connection The various pieces of electronic equipment 1, and execute the operating system of the electronic equipment 1 and types of applications program, the program of installation Code etc..
The processor 13 executes the operating system of the electronic equipment 1 and the types of applications program of installation.The place Reason device 13 executes the application program to realize the step in above-mentioned each interface testing case script classification method embodiment, example Step S10, S11, S12, S13, S14, S15 as shown in Figure 1.
Alternatively, the processor 13 realizes each module in above-mentioned each Installation practice/mono- when executing the computer program The function of member, such as: after receiving with case script sort instructions, obtains at least one and use case script;Utilize regular expression To it is described at least one split with each of case script with case script, obtain each multiple fractionation moulds with case script Block;From each multiple fractionation modules with case script, each first fractionation module with case script is determined;According to each use-case The first fractionation module of script, determines each subsystem belonging to case script;It is closed according to each subsystem is corresponding with interface System determines each corresponding interface of case script;Same-interface will be corresponded to and with case script be divided into one kind, with to it is described extremely Few one is classified with case script.
Illustratively, the computer program can be divided into one or more module/units, one or more A module/unit is stored in the memory 12, and is executed by the processor 13, to complete the present invention.It is one Or multiple module/units can be the series of computation machine program instruction section that can complete specific function, the instruction segment is for retouching State implementation procedure of the computer program in the electronic equipment 1.It is obtained for example, the computer program can be divided into Take unit 110, split cells 111, determination unit 112, taxon 113, receiving unit 114 and test cell 115.
The memory 12 can be used for storing the computer program and/or module, the processor 13 by operation or The computer program and/or module being stored in the memory 12 are executed, and calls the data being stored in memory 12, Realize the various functions of the electronic equipment 1.The memory 12 can mainly include storing program area and storage data area, In, storing program area can application program needed for storage program area, at least one function (such as sound-playing function, image Playing function etc.) etc.;Storage data area, which can be stored, uses created data (such as audio data, phone directory according to mobile phone Deng) etc..In addition, memory 12 may include high-speed random access memory, it can also include nonvolatile memory, such as firmly Disk, memory, plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) block, flash card (Flash Card), at least one disk memory, flush memory device or other volatile solid-states Part.
The memory 12 can be the external memory and/or internal storage of electronic equipment 1.Further, described Memory 12 can be the circuit with store function for not having physical form in integrated circuit, such as RAM (Random-Access Memory, random access memory), FIFO (First In First Out) etc..Alternatively, the memory 12 is also possible to Memory with physical form, such as memory bar, TF card (Trans-flash Card).
If the integrated module/unit of the electronic equipment 1 is realized in the form of SFU software functional unit and as independent Product when selling or using, can store in a computer readable storage medium.Based on this understanding, the present invention is real All or part of the process in existing above-described embodiment method, can also instruct relevant hardware come complete by computer program At the computer program can be stored in a computer readable storage medium, which is being executed by processor When, it can be achieved that the step of above-mentioned each embodiment of the method.
Wherein, the computer program includes computer program code, and the computer program code can be source code Form, object identification code form, executable file or certain intermediate forms etc..The computer-readable medium may include: can Carry any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic disk, CD, computer of the computer program code Memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that the computer-readable medium The content for including can carry out increase and decrease appropriate according to the requirement made laws in jurisdiction with patent practice, such as in certain departments Method administrative area does not include electric carrier signal and telecommunication signal according to legislation and patent practice, computer-readable medium.
In conjunction with Fig. 1, the memory 12 in the electronic equipment 1 stores multiple instruction to realize that a kind of interface testing is used The multiple instruction can be performed to realize in case script classification method, the processor 13: being referred to when receiving with case script classification After order, obtains at least one and use case script;Using regular expression to it is described at least one with each use-case foot in case script This is split, and each multiple fractionation modules with case script are obtained;From each multiple fractionation modules with case script, determine Each first fractionation module with case script;According to each first fractionation module with case script, each case script institute is determined The subsystem of category;According to the corresponding relationship of each subsystem and interface, each corresponding interface of case script is determined;It will correspond to Same-interface is divided into one kind with case script, with to it is described at least one classified with case script.
Preferred embodiment according to the present invention, the processor 13 also execute multiple instruction and include:
Reception user touches the signal with case script classification key, to receive the case script sort instructions;And/or
The voice signal of user's input is received, to receive the case script sort instructions, wherein the voice Signal is classified for execution with case script.
Preferred embodiment according to the present invention, the processor 13 also execute multiple instruction and include:
Prompt the user to input with case script, and receive user's input uses case script, using as it is described at least One is used case script;And/or
The history case script for executing interface testing is transferred from configuration database, using as at least one described use-case foot This.
Preferred embodiment according to the present invention, the processor 13 also execute multiple instruction and include:
Identify each configuration symbols in case script;
With the character among every two configuration symbols and every two configuration symbols for a fractionation module, by each use-case foot Originally multiple fractionation modules are split as.
Preferred embodiment according to the present invention, the processor 13 also execute multiple instruction and include:
The character of each first fractionation module with case script is obtained, to get each subsystem belonging to case script Title.
Preferred embodiment according to the present invention, the processor 13 also execute multiple instruction and include:
One kind is divided into case script with correspond to same-interface in case script by each;
Each classification is named according to the corresponding interface of each classification.
Preferred embodiment according to the present invention, the processor 13 also execute multiple instruction and include:
Receive the first subsystem title of user's input;
Corresponding first interface title is determined according to the first subsystem title;
Use-case subscription categories are determined according to the first interface title;
Calling carries out interface testing with case script from the use-case subscription categories.
Specifically, the processor 13 can refer to the concrete methods of realizing of above-metioned instruction related in Fig. 1 corresponding embodiment The description of step, this will not be repeated here.
In several embodiments provided by the present invention, it should be understood that disclosed system, device and method can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the module It divides, only a kind of logical function partition, there may be another division manner in actual implementation.
The module as illustrated by the separation member may or may not be physically separated, aobvious as module The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.Some or all of the modules therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
It, can also be in addition, each functional module in each embodiment of the present invention can integrate in one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of hardware adds software function module.
It is obvious to a person skilled in the art that invention is not limited to the details of the above exemplary embodiments, Er Qie In the case where without departing substantially from spirit or essential attributes of the invention, the present invention can be realized in other specific forms.
Therefore, in all respects, the present embodiments are to be considered as illustrative and not restrictive, this The range of invention is indicated by the appended claims rather than the foregoing description, it is intended that the equivalent requirements of the claims will be fallen in All changes in meaning and scope are included in the present invention.Any attached associated diagram label in claim should not be considered as limit Claim involved in making.
Furthermore, it is to be understood that one word of " comprising " does not exclude other units or steps, odd number is not excluded for plural number.In system claims The multiple units or device of statement can also be implemented through software or hardware by a unit or device.Second equal words are used It indicates title, and does not indicate any particular order.
Finally it should be noted that the above examples are only used to illustrate the technical scheme of the present invention and are not limiting, although reference Preferred embodiment describes the invention in detail, those skilled in the art should understand that, it can be to of the invention Technical solution is modified or equivalent replacement, without departing from the spirit and scope of the technical solution of the present invention.

Claims (10)

1. a kind of interface testing case script classification method, which is characterized in that the described method includes:
After receiving with case script sort instructions, obtains at least one and use case script;
Using regular expression to it is described at least one split with each of case script with case script, obtain each use-case Multiple fractionation modules of script;
From each multiple fractionation modules with case script, each first fractionation module with case script is determined;
According to each first fractionation module with case script, each subsystem belonging to case script is determined;
According to the corresponding relationship of each subsystem and interface, each corresponding interface of case script is determined;
Same-interface will be corresponded to and with case script be divided into one kind, with to it is described at least one classified with case script.
2. interface testing as described in claim 1 case script classification method, which is characterized in that the classification of reception case script refers to Enable the combination including following one or more kinds of modes:
Reception user touches the signal with case script classification key, to receive the case script sort instructions;And/or
The voice signal of user's input is received, to receive the case script sort instructions, wherein the voice signal Classify for execution case script.
3. interface testing as described in claim 1 case script classification method, which is characterized in that described to receive use-case foot After this sort instructions, the combination that at least one includes following one or more kinds of mode with case script is obtained:
Prompt the user to input with case script, and receive user's input uses case script, using as it is described at least one Use case script;And/or
Transferred from configuration database execute interface testing history case script, using as it is described at least one use case script.
4. interface testing as described in claim 1 case script classification method, which is characterized in that described to utilize regular expression To it is described at least one split with each of case script with case script, obtain each multiple fractionation modules with case script Include:
Identify each configuration symbols in case script;
With the character among every two configuration symbols and every two configuration symbols for a fractionation module, torn open each with case script It is divided into multiple fractionation modules.
5. interface testing as described in claim 1 case script classification method, which is characterized in that described according to each use-case foot This first fractionation module, determines that each subsystem belonging to case script includes:
The character of each first fractionation module with case script is obtained, to get the name of each subsystem belonging to case script Claim.
6. interface testing as described in claim 1 case script classification method, which is characterized in that described to correspond to identical connect Mouthful be divided into one kind with case script, with to it is described at least one with case script carry out classification include:
One kind is divided into case script with correspond to same-interface in case script by each;
Each classification is named according to the corresponding interface of each classification.
7. interface testing as described in claim 1 case script classification method, which is characterized in that same-interface will corresponded to Be divided into one kind with case script, with to it is described at least one classified with case script after, the method also includes:
Receive the first subsystem title of user's input;
Corresponding first interface title is determined according to the first subsystem title;
Use-case subscription categories are determined according to the first interface title;
Calling carries out interface testing with case script from the use-case subscription categories.
8. a kind of interface testing case script sorter, which is characterized in that described device includes:
Acquiring unit, for obtaining at least one and using case script after receiving with case script sort instructions;
Split cells, for regular expression to it is described at least one split with each of case script with case script, Obtain each multiple fractionation modules with case script;
Determination unit, for from each multiple fractionation modules with case script, determining each first fractionation mould with case script Block;
The determination unit is also used to be determined each belonging to case script according to each first fractionation module with case script Subsystem;
The determination unit is also used to the corresponding relationship according to each subsystem and interface, determines each corresponding with case script Interface;
Taxon is divided into one kind with case script for will correspond to same-interface, at least one described use-case foot This is classified.
9. a kind of electronic equipment, which is characterized in that the electronic equipment includes:
Memory stores at least one instruction;And
Processor executes the instruction stored in the memory to realize interface as claimed in any of claims 1 to 7 in one of claims Test case script classification method.
10. a kind of computer readable storage medium, it is characterised in that: be stored at least one in the computer readable storage medium A instruction, at least one described instruction are executed by the processor in electronic equipment to realize such as any one of claim 1 to 7 Interface testing case script classification method.
CN201811537817.7A 2018-12-15 2018-12-15 Interface testing case script classification method, device, electronic equipment and medium Pending CN109815123A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811537817.7A CN109815123A (en) 2018-12-15 2018-12-15 Interface testing case script classification method, device, electronic equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811537817.7A CN109815123A (en) 2018-12-15 2018-12-15 Interface testing case script classification method, device, electronic equipment and medium

Publications (1)

Publication Number Publication Date
CN109815123A true CN109815123A (en) 2019-05-28

Family

ID=66601651

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811537817.7A Pending CN109815123A (en) 2018-12-15 2018-12-15 Interface testing case script classification method, device, electronic equipment and medium

Country Status (1)

Country Link
CN (1) CN109815123A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111104274A (en) * 2019-12-19 2020-05-05 广东浪潮大数据研究有限公司 Automatic testing method, device and equipment for SSD (solid State disk) and readable storage medium

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101174240A (en) * 2006-11-03 2008-05-07 凌阳科技股份有限公司 Software testing management method and system thereof
US20100070231A1 (en) * 2008-09-05 2010-03-18 Hanumant Patil Suhas System and method for test case management
CN101706753A (en) * 2009-12-11 2010-05-12 武汉虹信通信技术有限责任公司 Unit testing framework and method based on Perl
CN103942144A (en) * 2014-04-10 2014-07-23 国家电网公司 Testing method for achieving graphical mapping by parameter relationship
CN105095059A (en) * 2014-04-15 2015-11-25 阿里巴巴集团控股有限公司 Method and device for automated testing
CN106815133A (en) * 2015-11-27 2017-06-09 北京奇虎科技有限公司 System detection method and device
CN106980571A (en) * 2016-01-15 2017-07-25 阿里巴巴集团控股有限公司 The construction method and equipment of a kind of test use cases
CN107678951A (en) * 2017-09-21 2018-02-09 平安科技(深圳)有限公司 Test exemple automation management method, device, equipment and storage medium
CN107729251A (en) * 2017-10-23 2018-02-23 中国联合网络通信集团有限公司 Testing case management and device
CN107943695A (en) * 2017-11-21 2018-04-20 郑州云海信息技术有限公司 Testing case management, device, equipment and computer-readable recording medium
CN108268348A (en) * 2017-12-08 2018-07-10 广州视源电子科技股份有限公司 Interface test method, device, mobile terminal and storage medium
CN108459953A (en) * 2017-02-22 2018-08-28 北京京东尚科信息技术有限公司 test method and device
CN108459964A (en) * 2018-03-06 2018-08-28 平安科技(深圳)有限公司 Test cases selection method, apparatus, equipment and computer readable storage medium
CN108845950A (en) * 2018-08-03 2018-11-20 平安科技(深圳)有限公司 Test device, the method for test and storage medium

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101174240A (en) * 2006-11-03 2008-05-07 凌阳科技股份有限公司 Software testing management method and system thereof
US20100070231A1 (en) * 2008-09-05 2010-03-18 Hanumant Patil Suhas System and method for test case management
CN101706753A (en) * 2009-12-11 2010-05-12 武汉虹信通信技术有限责任公司 Unit testing framework and method based on Perl
CN103942144A (en) * 2014-04-10 2014-07-23 国家电网公司 Testing method for achieving graphical mapping by parameter relationship
CN105095059A (en) * 2014-04-15 2015-11-25 阿里巴巴集团控股有限公司 Method and device for automated testing
CN106815133A (en) * 2015-11-27 2017-06-09 北京奇虎科技有限公司 System detection method and device
CN106980571A (en) * 2016-01-15 2017-07-25 阿里巴巴集团控股有限公司 The construction method and equipment of a kind of test use cases
CN108459953A (en) * 2017-02-22 2018-08-28 北京京东尚科信息技术有限公司 test method and device
CN107678951A (en) * 2017-09-21 2018-02-09 平安科技(深圳)有限公司 Test exemple automation management method, device, equipment and storage medium
CN107729251A (en) * 2017-10-23 2018-02-23 中国联合网络通信集团有限公司 Testing case management and device
CN107943695A (en) * 2017-11-21 2018-04-20 郑州云海信息技术有限公司 Testing case management, device, equipment and computer-readable recording medium
CN108268348A (en) * 2017-12-08 2018-07-10 广州视源电子科技股份有限公司 Interface test method, device, mobile terminal and storage medium
CN108459964A (en) * 2018-03-06 2018-08-28 平安科技(深圳)有限公司 Test cases selection method, apparatus, equipment and computer readable storage medium
CN108845950A (en) * 2018-08-03 2018-11-20 平安科技(深圳)有限公司 Test device, the method for test and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
陈增荣, 复旦大学出版社 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111104274A (en) * 2019-12-19 2020-05-05 广东浪潮大数据研究有限公司 Automatic testing method, device and equipment for SSD (solid State disk) and readable storage medium

Similar Documents

Publication Publication Date Title
US20210304075A1 (en) Batching techniques for handling unbalanced training data for a chatbot
CN107613022B (en) Content pushing method and device and computer equipment
WO2018210440A1 (en) Improved data clustering
CN111190689B (en) Digital twin system simulation method and device
US20180253431A1 (en) Question Pre-Processing in a Question and Answer System
US20210174109A1 (en) Optical Character Recognition Error Correction Model
US20200265042A1 (en) Candidate name generation
CN106844550B (en) Virtualization platform operation recommendation method and device
US20150269234A1 (en) User Defined Functions Including Requests for Analytics by External Analytic Engines
WO2020003109A1 (en) Facet-based query refinement based on multiple query interpretations
CN109542737A (en) Platform alert processing method, device, electronic device and storage medium
CN109542757A (en) Interface testing environment determines method, apparatus, electronic equipment and storage medium
CN107506494B (en) Document handling method, mobile terminal and computer readable storage medium
CN110516164B (en) Information recommendation method, device, equipment and storage medium
US11226832B2 (en) Dynamic generation of user interfaces based on dialogue
US20180144235A1 (en) Cognitive online meeting assistant facility
CN110442803A (en) Data processing method, device, medium and the calculating equipment executed by calculating equipment
US8930387B1 (en) Techniques for suggesting correct identifiers
CN109815123A (en) Interface testing case script classification method, device, electronic equipment and medium
CN110362294A (en) Development task executes method, apparatus, electronic equipment and storage medium
US11922129B2 (en) Causal knowledge identification and extraction
CN109829744A (en) Consultation method, device, electronic equipment and medium based on natural language processing
US10963490B2 (en) Text extraction and processing
WO2024040914A1 (en) Knowledge search method and related device
CN109828870A (en) Interface testing environmental management technique, device, electronic equipment and storage medium

Legal Events

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

Application publication date: 20190528

RJ01 Rejection of invention patent application after publication