CN106951373A - A kind of automated testing method and device that O&M software is moved for power network webmaster - Google Patents

A kind of automated testing method and device that O&M software is moved for power network webmaster Download PDF

Info

Publication number
CN106951373A
CN106951373A CN201710274362.3A CN201710274362A CN106951373A CN 106951373 A CN106951373 A CN 106951373A CN 201710274362 A CN201710274362 A CN 201710274362A CN 106951373 A CN106951373 A CN 106951373A
Authority
CN
China
Prior art keywords
software
power network
test
network webmaster
case
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
CN201710274362.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.)
State Grid Corp of China SGCC
State Grid Sichuan Electric Power Co Ltd
Nari Information and Communication Technology Co
Nanjing NARI Group Corp
Original Assignee
State Grid Corp of China SGCC
State Grid Sichuan Electric Power Co Ltd
Nari Information and Communication Technology Co
Nanjing NARI Group Corp
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 State Grid Corp of China SGCC, State Grid Sichuan Electric Power Co Ltd, Nari Information and Communication Technology Co, Nanjing NARI Group Corp filed Critical State Grid Corp of China SGCC
Priority to CN201710274362.3A priority Critical patent/CN106951373A/en
Publication of CN106951373A publication Critical patent/CN106951373A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

The invention discloses a kind of automated testing method and device that O&M software is moved for power network webmaster, method, including extract the operation vestige that user moves O&M software in actual electric network webmaster;According to the operation vestige of extraction, the initial test case needed for O&M software automation Core Generator is generated is moved using power network webmaster;The initial use-case of generation is carried out to the judgement of information content, if meeting reliability requirement, the final test use-case that can be run is obtained;According to final test use-case, O&M software is moved to power network webmaster and performs automatic test.The present invention's is used for automated testing method and device that power network webmaster moves O&M software, the characteristics of more conforming to the practical operation of user, improve the reliability of test case, it is capable of the test of automated execution power network webmaster movement O&M software, testing cost is saved, efficiency is improved, easily power network webmaster movement O&M software can be modified, had a good application prospect.

Description

A kind of automated testing method and device that O&M software is moved for power network webmaster
Technical field
The present invention relates to software testing technology field, and in particular to a kind of to move the automatic of O&M software for power network webmaster Change method of testing and device.
Background technology
Intelligent grid provides a series of management function for the Service Management of power network, greatly facilitates staff. However, with growing, the Market competition of power network industry, all kinds of appreciation application functions become increasingly to enrich, More come complicated.At present, there is power network webmaster movement O&M software the complicated users such as multi-user concurrent, the exchange of multi-functional field to answer With scene, it is difficult to design the software test case for meeting user's use habit to cause the software test, is carrying out software test When, testing example design, the execution write and tested are the work wasted time and energy, and hand-designed, write test case The demand of the software test can not be met with testing results.
The automatic test of power network webmaster movement O&M software is mainly performed including the writing of test case, automatic test Two parts.At present, the Test cases technology of power network webmaster movement O&M software mainly includes:Manual creation test case and recording Test case two ways is generated, wherein manual creation test case refers to:Tester passes through to the conventional operation of the software Understand, these operations are translated directly into the test case of software using manual mode;Generation test case is recorded to refer to:Utilize Logging software gets off the process record of software hand-manipulated, and with the test case of this automatic generating software.Two ways is deposited In following problem:Manual creation test case mode inefficiency;It is not the behaviour for user to record generation test case mode Work is accustomed to, thus the test case of generation does not meet the probability distribution that user uses software.Moreover, two kinds of generation use-case tests are used The mode of example will be completed by professional, and generation test case process is complicated, and flexibility is relatively low.
The content of the invention
The purpose of the present invention is to overcome the Test cases technology side for moving O&M software for power network webmaster in the prior art The problems of formula.The present invention's is used for automated testing method and device that power network webmaster moves O&M software, more accords with The characteristics of sharing the practical operation at family, improve test case reliability, can automated execution power network webmaster movement O&M it is soft The test of part, has saved testing cost, improves efficiency, and easily power network webmaster movement O&M software can be modified, Have a good application prospect.
In order to achieve the above object, the technical solution adopted in the present invention is:
A kind of automated testing method that O&M software is moved for power network webmaster, comprises the following steps,
Step (A), extracts the operation vestige that user moves O&M software in actual electric network webmaster, and the operation vestige includes User operation log, system journal in power network webmaster movement O&M software, current and history alarm, system configuration data scale And system environmental information;
Step (B), according to the operation vestige of extraction, moves O&M software automation Core Generator using power network webmaster and generates Required initial test case;
Step (C), the initial use-case of generation is carried out the judgement of information content, if meeting reliability requirement, obtains transporting Capable final test use-case;
Step (D), according to final test use-case, moves O&M software to power network webmaster and performs automatic test.
A kind of foregoing automated testing method that O&M software is moved for power network webmaster, step (B), according to extraction Vestige is operated, the initial test case needed for being generated using power network webmaster movement O&M software automation Core Generator, including with Lower step,
(B1) power network webmaster movement O&M software automation Core Generator is according to current and history in the operation vestige of extraction Alarm, system configuration data scale, system environmental information, obtain the system environments situation of user's operation, are used as initial testing The test condition of example;
(B2) power network webmaster movement O&M software automation Core Generator operates day according to user in the operation vestige of extraction Will, system journal, obtain atomic operation and object information of each user in same time period, using the time as sequence, as initial The operating procedure of test case;
(B3) power network webmaster movement O&M software automation Core Generator is according to the corresponding object information of atomic operation, as The quasi- side of examination of initial test case.
(B4) according to the test condition of initial test case, operating procedure, the quasi- side of examination, power network webmaster is utilized to move O&M Software automation Core Generator, moves O&M software to the power network webmaster using method for visualizing and carries out initial test case Write, the initial test case needed for generation.
A kind of foregoing automated testing method that O&M software is moved for power network webmaster, step (C) can if being unsatisfactory for By property requirement, the atomic operation and object information obtained is analyzed, the computer history experts database on backstage is called, mould is carried out Matching treatment is pasted, until meeting reliability requirement, the final test use-case that can be run is obtained.
A kind of foregoing automated testing method that O&M software is moved for power network webmaster, step (D), according to final survey Example on probation, moves O&M software to power network webmaster and performs automatic test, comprise the following steps,
(D1) according to according to final test use-case, O&M software execution automatic test is moved to power network webmaster, and will note Record at the time of the power network webmaster movement O&M software fails and corresponding operating procedure information;
(D2) according at the time of failure and corresponding operating procedure information, O&M software is moved to the power network webmaster and carried out Corresponding amendment;
(D3) judge whether amended power network webmaster movement O&M software meets reliability requirement, if meeting, terminate Test;Otherwise, go to (D1) and perform test, until amended power network webmaster movement O&M software meets reliability requirement.
A kind of automatic test device that O&M software is moved for power network webmaster,
Separating latent marks unit is operated, the operation vestige of O&M software, institute is moved in actual electric network webmaster for extracting user State operation vestige and include power network webmaster and move User operation log in O&M software, system journal, current and history alarm, be It is under unified central planning to put data scale and system environmental information;
Initial test case generation unit, for the operation vestige according to extraction, O&M software is moved using power network webmaster Automate the initial test case needed for Core Generator generation;
Final test use-case generation unit, the judgement for the initial use-case of generation to be carried out to information content, if meeting reliable Property require, then obtain the final test use-case that can be run;
Automatic test unit, for according to final test use-case, automation to be performed to power network webmaster movement O&M software Test.
A kind of foregoing automatic test device that O&M software is moved for power network webmaster, the initial test case life Into unit, including test condition generation subelement, operating procedure generation subelement, the quasi- side generation subelement of examination, initial testing Use-case writes subelement member,
The test condition generates subelement, and O&M software automation Core Generator is moved according to extraction by power network webmaster Operation vestige in current and history alarm, system configuration data scale, system environmental information, obtain the system ring that user operates Border situation, generates the test condition of initial test case;
The operating procedure generates subelement, and O&M software automation Core Generator is moved according to extraction by power network webmaster Operation vestige in User operation log, system journal, the atomic operation and object for obtaining each user in same time period believe Breath, using the time as sequence, generates the operating procedure of initial test case;
It is described to check and accept quasi- side generation subelement, O&M software automation Core Generator is moved according to atom by power network webmaster Operate corresponding object information, the quasi- side of examination of the first initial test case of generation;
The initial test case writes subelement member, according to the test condition, operating procedure, examination of initial test case Quasi- side, is moved O&M software automation Core Generator using power network webmaster, the power network webmaster is moved using method for visualizing O&M software carries out writing for initial test case, the initial test case needed for generation.
A kind of foregoing automatic test device that O&M software is moved for power network webmaster, final test use-case generation is single Member, the judgement for the initial use-case of generation to be carried out to information content, if being unsatisfactory for reliability requirement, to the atomic operation obtained And object information is analyzed, the computer history experts database on backstage is called, fuzzy matching processing is carried out, will until meeting reliability Ask, obtain the final test use-case that can be run.
A kind of foregoing automated testing method that O&M software is moved for power network webmaster, automatic test unit includes Fail message record subelement, revise subelemen, judgment sub-unit,
The fail message records subelement, for according to according to final test use-case, moving O&M to power network webmaster soft Part performs automatic test, and will record at the time of the power network webmaster movement O&M software fails and corresponding operation step Rapid information;
The revise subelemen, for according to failure at the time of and corresponding operating procedure information, to the power network webmaster Mobile O&M software is corrected accordingly;
The judgment sub-unit, is wanted for judging whether amended power network webmaster movement O&M software meets reliability Ask, if meeting, terminate test;Otherwise, fail message record subelement, revise subelemen are gone to and performs test amendment, until Amended power network webmaster movement O&M software meets reliability requirement.
The beneficial effects of the invention are as follows:The present invention be used for power network webmaster move O&M software automated testing method and Device, automatically generates test case according to the operating habit that user moves O&M software for power network webmaster, more conforms to user Practical operation the characteristics of, carry out the processing of judgement property, raising test case for the actual atomic operation of user and object information Reliability, be capable of automated execution power network webmaster move O&M software test, saved testing cost, improved efficiency, When the movement O&M software test of power network webmaster is failed, the relevant information of automatic record failure can be easily to power network Webmaster movement O&M software is modified, and is had a good application prospect.
Brief description of the drawings
Fig. 1 is the system block diagram of the upgrading detection means of the database software based on dynamic programming algorithm of the present invention;
Fig. 2 is the flow chart of the database software upgrade detection method based on dynamic programming algorithm of the present invention;
Fig. 3 is the flow chart of third embodiment of the present invention database software upgrade detection method;
Embodiment
Below in conjunction with Figure of description, the present invention is further illustrated.
As shown in figure 1, the present invention's is used for the automated testing method that power network webmaster moves O&M software, including following step Suddenly,
Step (A), extracts the operation vestige that user moves O&M software in actual electric network webmaster, and the operation vestige includes User operation log, system journal in power network webmaster movement O&M software, current and history alarm, system configuration data scale And system environmental information;
Step (B), according to the operation vestige of extraction, moves O&M software automation Core Generator using power network webmaster and generates Required initial test case, comprises the following steps,
(B1) power network webmaster movement O&M software automation Core Generator is according to current and history in the operation vestige of extraction Alarm, system configuration data scale, system environmental information, obtain the system environments situation of user's operation, are used as initial testing The test condition of example;
(B2) power network webmaster movement O&M software automation Core Generator operates day according to user in the operation vestige of extraction Will, system journal, obtain atomic operation and object information of each user in same time period, using the time as sequence, as initial The operating procedure of test case;
(B3) power network webmaster movement O&M software automation Core Generator is according to the corresponding object information of atomic operation, as The quasi- side of examination of initial test case.
(B4) according to the test condition of initial test case, operating procedure, the quasi- side of examination, power network webmaster is utilized to move O&M Software automation Core Generator, moves O&M software to the power network webmaster using method for visualizing and carries out initial test case Write, the initial test case needed for generation;
Step (C), the initial use-case of generation is carried out the judgement of information content, if meeting reliability requirement, obtains transporting Capable final test use-case;If being unsatisfactory for reliability requirement, the atomic operation and object information obtained is analyzed, called The computer history experts database on backstage, carries out fuzzy matching processing, until meeting reliability requirement, obtains the final test that can be run Use-case;
Step (D), according to final test use-case, to power network webmaster movement O&M software execution automatic test, including with Lower step,
(D1) according to according to final test use-case, O&M software execution automatic test is moved to power network webmaster, and will note Record at the time of the power network webmaster movement O&M software fails and corresponding operating procedure information;
(D2) according at the time of failure and corresponding operating procedure information, O&M software is moved to the power network webmaster and carried out Corresponding amendment;
(D3) judge whether amended power network webmaster movement O&M software meets reliability requirement, if meeting, terminate Test;Otherwise, go to (D1) and perform test, until amended power network webmaster movement O&M software meets reliability requirement.
According to the automated testing method that power network webmaster moves O&M software that is used for of the present invention, its platform run is used The automatic test device of O&M software is moved in power network webmaster, as shown in Fig. 2 including
Separating latent marks unit 1 is operated, the operation vestige of O&M software, institute is moved in actual electric network webmaster for extracting user State operation vestige and include power network webmaster and move User operation log in O&M software, system journal, current and history alarm, be It is under unified central planning to put data scale and system environmental information;
Initial test case generation unit 2, for the operation vestige according to extraction, O&M software is moved using power network webmaster Automate the initial test case needed for Core Generator generation;
Final test use-case generation unit 3, the judgement for the initial use-case of generation to be carried out to information content, if meeting reliable Property require, then obtain the final test use-case that can be run;If being unsatisfactory for reliability requirement, to the atomic operation and object obtained Information is analyzed, and calls the computer history experts database on backstage, is carried out fuzzy matching processing, until meeting reliability requirement, is obtained To the final test use-case that can be run;
Automatic test unit 4, for according to final test use-case, automation to be performed to power network webmaster movement O&M software Test.
The initial test case generation unit 2, including test condition generation subelement 201, operating procedure generation are single Member 202, the quasi- side generation subelement 203 of examination, initial test case write subelement 204,
The test condition generates subelement 201, by power network webmaster move O&M software automation Core Generator according to Current and history alarm, system configuration data scale, system environmental information in the operation vestige of extraction, obtain that user operates is System ambient conditions, generates the test condition of initial test case;
The operating procedure generates subelement 202, by power network webmaster move O&M software automation Core Generator according to User operation log, system journal in the operation vestige of extraction, obtain each user in the atomic operation of same time period and right Image information, using the time as sequence, generates the operating procedure of initial test case;
It is described to check and accept quasi- side generation subelement 203, by power network webmaster move O&M software automation Core Generator according to The corresponding object information of atomic operation, the quasi- side of examination of the first initial test case of generation;
The initial test case writes subelement member 204, according to the test condition of initial test case, operating procedure, Quasi- side is checked and accepted, O&M software automation Core Generator is moved using power network webmaster, using method for visualizing to the power network webmaster Mobile O&M software carries out writing for initial test case, the initial test case needed for generation.
The automatic test unit 4 includes fail message record subelement 401, revise subelemen 402, judgment sub-unit 403,
The fail message records subelement 401, for according to according to final test use-case, O&M to be moved to power network webmaster Software performs automatic test, and will record at the time of the power network webmaster movement O&M software fails and corresponding operation Step Information;
The revise subelemen 402, for according to failure at the time of and corresponding operating procedure information, to the power network net Pipe movement O&M software is corrected accordingly;
The judgment sub-unit 403, for judging whether amended power network webmaster movement O&M software meets reliability It is required that, if meeting, terminate test;Otherwise, fail message record subelement, revise subelemen are gone to and performs test amendment, directly Reliability requirement is met to amended power network webmaster movement O&M software.
Below according to the automated testing method that power network webmaster moves O&M software that is used for of the present invention, one is introduced specific real Applying method, as shown in figure 3, comprise the following steps,
Step S01, extracts the operation vestige that user moves O&M software in actual electric network webmaster, and the operation vestige includes User operation log, system journal in power network webmaster movement O&M software, current and history alarm, system configuration data scale And system environmental information;
Step S02, according to the operation vestige of extraction, moves O&M software automation Core Generator using power network webmaster and generates Required initial test case, this example moves O&M software to the power network webmaster using method for visualizing and carries out initial testing Use-case is write, including:
The power network webmaster movement O&M software automation Core Generator is according to current and history alarm, system configuration data Scale, system environmental information, obtain the system environments situation of user's operation, are used as the test condition of initial use-case;
The power network webmaster movement O&M software automation Core Generator is obtained according to User operation log, system journal Each user, using the time as sequence, walks in the atomic operation and object information of same time period as the operation of initial test case Suddenly;
Information of the power network webmaster movement O&M software automation Core Generator according to actual atomic operation result, makees For the quasi- side of examination of initial test case.
In this example, by moving the operation vestige of actual user in O&M software to power network webmaster, actual use is analyzed The function at family, the information such as the object and multi-user concurrent of operation, last time initial test case, wherein generation initial testing is used Under illustrating for example:
Table 1
Step S03, power network webmaster movement O&M software automation Core Generator docking network management system software, obtains power network net The atomic operation and object information of pipe movement O&M software, as shown in table 2, object information is as shown in table 3 for atomic operation,
Table 2
Step S04, according to the atomic operation and object information of obtained actual user, information reliability progress is carried out to it Judge, S05 is directly entered if the requirement of informedness is met, the final test use-case that can be run is generated, by it if being unsatisfactory for Information calls history experts database to carry out fuzzy matching;
Step S05, will meet the final test use-case of the information generating run of the atomic operation and object of information reliability, Into S07;
Step S06, is analyzed the atomic operation and object information obtained, calls the computer history expert on backstage Storehouse, carries out fuzzy matching processing, until meeting reliability requirement, the final test use-case that can be run is obtained, into S07;.
Step S07, performs automatic test, and at the time of power network webmaster movement O&M software will be recorded failing And corresponding operating procedure information;
Step S08, according to failure at the time of and corresponding operating procedure information, to the power network webmaster move O&M software Corrected accordingly;
Step S09, judges whether amended power network webmaster movement O&M software meets reliability requirement, if it is satisfied, Then terminate test;Hair is walked, and goes to step S07, until amended power network webmaster movement O&M software meets reliability requirement.
In summary, of the invention automated testing method and device that O&M software is moved for power network webmaster, according to The operating habit that user moves O&M software for power network webmaster automatically generates test case, more conforms to the practical operation of user The characteristics of, the processing of judgement property is carried out for the actual atomic operation of user and object information, the reliability of test case, energy is improved Enough automated execution power network webmasters move the test of O&M software, have saved testing cost, have improved efficiency, are moved in power network webmaster When dynamic O&M software test is failed, the relevant information of automatic record failure easily can move O&M to power network webmaster Software is modified, and is had a good application prospect.
General principle, principal character and the advantage of the present invention has been shown and described above.The technical staff of the industry should Understand, the present invention is not limited to the above embodiments, the original for simply illustrating the present invention described in above-described embodiment and specification Reason, without departing from the spirit and scope of the present invention, various changes and modifications of the present invention are possible, these changes and improvements It all fall within the protetion scope of the claimed invention.The claimed scope of the invention is by appending claims and its equivalent circle It is fixed.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementation The method of example can select the suitable dynamic programming algorithm of design, be not limited to certain specific optimized algorithm as the case may be, and Realized by the mode of software plus required general hardware platform, naturally it is also possible to by hardware, but in many cases the former It is more preferably embodiment.Understood based on such, technical scheme substantially makes tribute to prior art in other words The part offered can be embodied in the form of software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disc, CD) in, including some instructions are make it that a station terminal equipment (can be mobile phone, computer, service Device, or the network equipment etc.) perform method described in each embodiment of the invention.
Embodiments of the invention additionally provide a kind of storage medium.Alternatively, in the present embodiment, above-mentioned storage medium can The program code for performing above-described embodiment method step to be arranged to storage to be used for:
In the present embodiment, above-mentioned storage medium can include but is not limited to:USB flash disk, read-only storage (ROM, Read- Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disc or CD etc. It is various can be with the medium of store program codes.
In the present embodiment, the method that processor performs above-described embodiment according to the program code stored in storage medium Step.

Claims (8)

1. a kind of automated testing method that O&M software is moved for power network webmaster, it is characterised in that:Comprise the following steps,
Step(A), the operation vestige that user moves O&M software in actual electric network webmaster is extracted, the operation vestige includes power network User operation log, system journal, current and history alarm, system configuration data scale in webmaster movement O&M software and it is System environmental information;
Step(B), according to the operation vestige of extraction, move the generation of O&M software automation Core Generator using power network webmaster required Initial test case;
Step(C), the initial use-case of generation is carried out to the judgement of information content, if meeting reliability requirement, obtains what can be run Final test use-case;
Step(D), according to final test use-case, O&M software is moved to power network webmaster and performs automatic test.
2. a kind of automated testing method that O&M software is moved for power network webmaster according to claim 1, its feature It is:Step(B), according to the operation vestige of extraction, move O&M software automation Core Generator using power network webmaster and generate institute The initial test case needed, comprises the following steps,
(B1)Power network webmaster move O&M software automation Core Generator according to current and history alarm in the operation vestige of extraction, System configuration data scale, system environmental information, obtain the system environments situation of user's operation, are used as the survey of initial test case Strip part;
(B2)Power network webmaster move O&M software automation Core Generator according to User operation log in the operation vestige of extraction, be System daily record, obtains each user in the atomic operation and object information of same time period, using the time as sequence, is used as initial testing The operating procedure of example;
(B3)Power network webmaster moves O&M software automation Core Generator according to the corresponding object information of atomic operation, as initial The quasi- side of examination of test case;
(B4)According to the test condition of initial test case, operating procedure, quasi- side is checked and accepted, O&M software is moved using power network webmaster Core Generator is automated, the volume that O&M software carries out initial test case is moved to the power network webmaster using method for visualizing Write, the initial test case needed for generation.
3. a kind of automated testing method that O&M software is moved for power network webmaster according to claim 2, its feature It is:Step(C)If being unsatisfactory for reliability requirement, the atomic operation and object information obtained is analyzed, backstage is called Computer history experts database, carry out fuzzy matching processing, until meeting reliability requirement, obtain the final test that can run and use Example.
4. a kind of automated testing method that O&M software is moved for power network webmaster according to claim 1, its feature It is:Step(D), according to final test use-case, O&M software is moved to power network webmaster and performs automatic test, including following step Suddenly,
(D1)According to according to final test use-case, O&M software is moved to power network webmaster and performs automatic test, and institute will be recorded State at the time of power network webmaster movement O&M software fails and corresponding operating procedure information;
(D2)According at the time of failure and corresponding operating procedure information, the power network webmaster is moved O&M software carry out it is corresponding Amendment;
(D3)Judge whether amended power network webmaster movement O&M software meets reliability requirement, if meeting, terminate test; Otherwise, go to(D1)Test is performed, until amended power network webmaster movement O&M software meets reliability requirement.
5. a kind of automatic test device that O&M software is moved for power network webmaster, it is characterised in that:
Separating latent marks unit is operated, the operation vestige of O&M software, the behaviour is moved in actual electric network webmaster for extracting user Make vestige to move User operation log in O&M software, system journal including power network webmaster, current with history alarm, system match somebody with somebody Put data scale and system environmental information;
Initial test case generation unit, for the operation vestige according to extraction, moves O&M software automatic using power network webmaster Change the initial test case needed for Core Generator generation;
Final test use-case generation unit, will if meeting reliability for the initial use-case of generation to be carried out to the judgement of information content Ask, then obtain the final test use-case that can be run;
Automatic test unit, for according to final test use-case, moving O&M software to power network webmaster and performing automatic test.
6. a kind of automatic test device that O&M software is moved for power network webmaster according to claim 5, its feature It is:The initial test case generation unit, including test condition generation subelement, operating procedure generation subelement, examination Quasi- side generates subelement, and initial test case writes subelement member,
The test condition generates subelement, and behaviour of the O&M software automation Core Generator according to extraction is moved by power network webmaster Make current and history alarm, system configuration data scale, system environmental information in vestige, obtain the system environments feelings of user's operation Condition, generates the test condition of initial test case;
The operating procedure generates subelement, and behaviour of the O&M software automation Core Generator according to extraction is moved by power network webmaster Make User operation log in vestige, system journal, obtain atomic operation and object information of each user in same time period, with Time is sequence, generates the operating procedure of initial test case;
It is described to check and accept quasi- side generation subelement, O&M software automation Core Generator is moved according to atomic operation by power network webmaster Corresponding object information, the quasi- side of examination of the first initial test case of generation;
The initial test case writes subelement member, according to the test condition of initial test case, operating procedure, checks and accepts accurate Side, O&M software automation Core Generator is moved using power network webmaster, and the power network webmaster is moved using method for visualizing and transported Dimension software carries out writing for initial test case, the initial test case needed for generation.
7. a kind of automatic test device that O&M software is moved for power network webmaster according to claim 6, its feature It is:Final test use-case generation unit, the judgement for the initial use-case of generation to be carried out to information content, if being unsatisfactory for reliability It is required that, the atomic operation and object information obtained is analyzed, the computer history experts database on backstage is called, fuzzy is carried out With processing, until meeting reliability requirement, the final test use-case that can be run is obtained.
8. a kind of automated testing method that O&M software is moved for power network webmaster according to claim 1, its feature It is:Automatic test unit includes fail message record subelement, revise subelemen, judgment sub-unit,
The fail message records subelement, for according to according to final test use-case, being held to power network webmaster movement O&M software Row automatic test, and will record at the time of the power network webmaster movement O&M software fails and corresponding operating procedure letter Breath;
The revise subelemen, for according to failure at the time of and corresponding operating procedure information, to the power network webmaster move O&M software is corrected accordingly;
The judgment sub-unit, for judging whether amended power network webmaster movement O&M software meets reliability requirement, if Meet, then terminate test;Otherwise, fail message record subelement, revise subelemen are gone to and performs test amendment, until after modification Power network webmaster movement O&M software meet reliability requirement.
CN201710274362.3A 2017-04-25 2017-04-25 A kind of automated testing method and device that O&M software is moved for power network webmaster Pending CN106951373A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710274362.3A CN106951373A (en) 2017-04-25 2017-04-25 A kind of automated testing method and device that O&M software is moved for power network webmaster

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710274362.3A CN106951373A (en) 2017-04-25 2017-04-25 A kind of automated testing method and device that O&M software is moved for power network webmaster

Publications (1)

Publication Number Publication Date
CN106951373A true CN106951373A (en) 2017-07-14

Family

ID=59477442

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710274362.3A Pending CN106951373A (en) 2017-04-25 2017-04-25 A kind of automated testing method and device that O&M software is moved for power network webmaster

Country Status (1)

Country Link
CN (1) CN106951373A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107872352A (en) * 2017-11-27 2018-04-03 瑞斯康达科技发展股份有限公司 A kind of performance test methods of network management system, apparatus and system
CN108415831A (en) * 2018-02-05 2018-08-17 五八有限公司 Method for generating test case and device, electronic equipment and readable storage medium storing program for executing
CN109460349A (en) * 2018-09-19 2019-03-12 武汉达梦数据库有限公司 A kind of method for generating test case and device based on log
CN113162784A (en) * 2020-01-22 2021-07-23 阿里巴巴集团控股有限公司 Operation and maintenance template generation method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106445806A (en) * 2016-08-26 2017-02-22 北京小米移动软件有限公司 Software testing method and device
CN106469115A (en) * 2015-08-19 2017-03-01 中兴通讯股份有限公司 A kind of telecommunication network management automatic software test method and device
US20170139811A1 (en) * 2015-11-18 2017-05-18 Institute For Information Industry System, method and non-transitory computer readable medium for software testing

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106469115A (en) * 2015-08-19 2017-03-01 中兴通讯股份有限公司 A kind of telecommunication network management automatic software test method and device
US20170139811A1 (en) * 2015-11-18 2017-05-18 Institute For Information Industry System, method and non-transitory computer readable medium for software testing
CN106445806A (en) * 2016-08-26 2017-02-22 北京小米移动软件有限公司 Software testing method and device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107872352A (en) * 2017-11-27 2018-04-03 瑞斯康达科技发展股份有限公司 A kind of performance test methods of network management system, apparatus and system
CN107872352B (en) * 2017-11-27 2021-08-24 瑞斯康达科技发展股份有限公司 Performance test method, device and system of network management system
CN108415831A (en) * 2018-02-05 2018-08-17 五八有限公司 Method for generating test case and device, electronic equipment and readable storage medium storing program for executing
CN109460349A (en) * 2018-09-19 2019-03-12 武汉达梦数据库有限公司 A kind of method for generating test case and device based on log
CN113162784A (en) * 2020-01-22 2021-07-23 阿里巴巴集团控股有限公司 Operation and maintenance template generation method and device
CN113162784B (en) * 2020-01-22 2023-08-22 阿里巴巴集团控股有限公司 Method and device for generating operation and maintenance template

Similar Documents

Publication Publication Date Title
CN106951373A (en) A kind of automated testing method and device that O&M software is moved for power network webmaster
CN108197114A (en) Detection method, device, storage medium and the electronic device of list data
CN112464105B (en) Internet platform information pushing method based on big data positioning and cloud computing center
CN110399286B (en) Independent path-based automatic test data generation method
CN109726105A (en) Test data building method, device, equipment and storage medium
CN109858019A (en) Dialogue state tracking and device, storage medium and semantics recognition system
CN102915493A (en) Information processing apparatus and method
CN113051362B (en) Data query method, device and server
CN110188264A (en) A kind of user data exchange method and device
CN115169810A (en) Artificial intelligence system construction method and device for power grid regulation
CN108255702A (en) A kind of test case creation method, apparatus, equipment and storage medium
CN106294128B (en) A kind of automated testing method and device exporting report data
CN111143178A (en) User behavior analysis method, device and equipment
CN109903122A (en) House prosperity transaction information processing method, device, equipment and storage medium
CN112818162A (en) Image retrieval method, image retrieval device, storage medium and electronic equipment
CN111126626A (en) Training method, device, server, platform and storage medium
CN110209576A (en) The calculation method and relevant device of test case coverage rate
CN112417852B (en) Method and device for judging importance of code segment
CN112631920A (en) Test method, test device, electronic equipment and readable storage medium
CN115344504B (en) Software test case automatic generation method and tool based on requirement specification
CN114661616A (en) Target code generation method and device
CN115438158A (en) Intelligent dialogue method, device, equipment and storage medium
CN111401032A (en) Text processing method and device, computer equipment and storage medium
CN110597874A (en) Data analysis model creation method and device, computer equipment and storage medium
CN109657079A (en) A kind of Image Description Methods and terminal device

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: 20170714

RJ01 Rejection of invention patent application after publication