CN108197033A - A kind of method that automatic test result notifies related personnel automatically - Google Patents
A kind of method that automatic test result notifies related personnel automatically Download PDFInfo
- Publication number
- CN108197033A CN108197033A CN201810069299.4A CN201810069299A CN108197033A CN 108197033 A CN108197033 A CN 108197033A CN 201810069299 A CN201810069299 A CN 201810069299A CN 108197033 A CN108197033 A CN 108197033A
- Authority
- CN
- China
- Prior art keywords
- automatic test
- test
- bug
- related personnel
- test result
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3688—Test management for test execution, e.g. scheduling of test suites
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3684—Test management for test design, e.g. generating new test cases
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3692—Test management for test results analysis
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)
- Stored Programmes (AREA)
- Debugging And Monitoring (AREA)
Abstract
The present invention provides a kind of methods that automatic test result notifies related personnel automatically, include the following steps:S1, according to tested software, edit corresponding test case;S2, automated test tool is called, carries out automatic test;S3, automatic test structure is counted and is classified;S4, bug test systems are automatically write, and notifies related personnel.The beneficial effects of the invention are as follows:Automatic test result can be notified related personnel automatically, reduce human cost.
Description
Technical field
The present invention relates to a kind of methods that test more particularly to automatic test result notify related personnel automatically.
Background technology
Intelligent terminal develops rapidly, and needs a large amount of IT engineers, it is also desirable to which a large amount of tester also gives software company's band
Carry out no small cost, its positive activity of the test of many IT companies is very mechanical, and exactly ceaselessly test program person is write repeatability
Module, it has been verified that problem, the test script that can also write with high content of technology are tested, but most of Test Engineer
Institute's work taken up is all more mechanical single.In consideration of it, there are many automated test tools, greatly reduce corresponding survey
Manpower is tried, still, existing automated testing method and system, being only in that reduces test manpower, it is still desirable to will test
As a result related personnel is notified by manpower, staff is needed to be registered in corresponding bug systems, registered, filled in corresponding
Test process arranges test result, distributes to a series of cumbersome work of related research staff etc., these work still need
Manpower is completed.
Therefore, how a kind of method that can test result be notified to related personnel automatically is provided, to reduce human cost,
It is the technical issues of those skilled in the art institute is urgently to be resolved hurrily.
Invention content
In order to solve the problems in the prior art, the present invention provides a kind of automatic test results to notify relevant people automatically
The method of member.
The present invention provides a kind of methods that automatic test result notifies related personnel automatically, include the following steps:
S1, according to tested software, edit corresponding test case;
S2, automated test tool is called, carries out automatic test;
S3, automatic test structure is counted and is classified;
S4, bug test systems are automatically write, and notifies related personnel.
As a further improvement on the present invention, step S3 includes following sub-step:
S31, test bug module statistical items are obtained;
S32, screenshotss crawl bug module contextual datas;
S33, crawl bug problem incident points;
S34, whether interception module contact person, if it is, S35 is entered step, if it is not, then entering step S36;
S35, online acquisition system people;
S36, writing module log daily records.
As a further improvement on the present invention, in step s3, automatic test structure is counted and is classified, structure is certainly
The data structure doubly linked list of dynamicization test result traverses, and searches all test modules, and in chained list in data field
, backstage bug register systems are written.
The beneficial effects of the invention are as follows:Through the above scheme, automatic test result can be notified related personnel automatically,
Reduce human cost.
Description of the drawings
Fig. 1 is the overall flow figure for the method that a kind of automatic test result of the present invention notifies related personnel automatically.
Fig. 2 is the flow chart for the method that a kind of automatic test result of the present invention notifies related personnel automatically.
Specific embodiment
The invention will be further described for explanation and specific embodiment below in conjunction with the accompanying drawings.
As shown in Figure 1 to Figure 2, a kind of method that automatic test result notifies related personnel automatically, includes the following steps:
1st, according to tested software, corresponding test case is edited;
2nd, automated test tool is called, carries out automatic test;
3rd, automatic test structure is counted and is classified;
4th, bug test systems are automatically write, and notify related personnel.
Step 3 includes following sub-step:
3.1st, test bug module statistical items are obtained;
3.2nd, screenshotss crawl bug module contextual datas;
3.3rd, bug problem incident points are captured;
3.4th, whether interception module contact person, if it is, 3.5 are entered step, if it is not, then entering step 3.6;
3.5th, system people is obtained online;
3.6th, writing module log daily records.
In step 3, automatic test structure is counted and is classified, the data structure for building automatic test result is double
It is traversed to chained list, searches all test modules, and in chained list in data field, backstage bug register systems are written.
A kind of automatic test result provided by the invention notifies the method for related personnel that detailed description are as follows automatically:
1 writes automatic test case according to use-case, interface
Automatic testing instrument, generally has patterned, typically there is running background third equation, is carrying out automatic test
When one program, generally according to tested software, corresponding test case is edited, that is, warn automatic test program,
You need go to test those modules, function, routine interface, while warn automated test tool you need test the step of be assorted
.These etc. are formulated test case and are editted, and give automated test tool him and are tested, these just should not manpower one
Sample equally goes to test.
2 call automated test tool, are tested
Automated test tool is called, is tested with existing automated test tool, mainly software is realized automatic
Change test script.
3 pairs of automatic test results count, classification
The benefit for counting and classifying to automatic test result type is to provide more accurate number to automate typing later
According to building automatic test result, data structure doubly linked list.Here the script methods such as corresponding python, shell can be selected
It realizes.
The modular structure tested of wherein data structure chained list is as follows, wherein in chained list doubly linked list, DListTest
Represent the structure of chained list, * data are the contents values tested every time, and * prev represent the predecessor pointers of chained list, * next tables
Show the descendant node pointer for being directed toward next chained list.
In automatic test course, the content tested sequentially in time, can by predecessor pointers and later stage pointer
The content association of automatic test result is got up, also very easily realizes traversal and search operation.
In each chained list DListTest effective aspects, there is the content for recording corresponding chained list, the content of chained list is also
It is stored in the form of tables of data.Inside the data content * data of chained list, module classification is had recorded, bug point modules occurs,
Enrollment time and module research staff's register information, in fact it could happen that problem points, problem crawl point field.
3.1 obtain test bug module statistical items
Since system automation is tested according to use-case and one by one to systems such as intelligent terminals, correlation is called automatically according to use-case
Use-case is tested, and it is also sub-module progress to test, for example contact person is called in phone item, the incoming call to phone, exhalation, group
Dialer, the setting use-cases such as project, call forwarding are tested.
3.2 Screenshot capture bug module contextual datas
When test, if encountering problematic module, it is certain to this when reflect in system related interfaces,
If phenomenon, correlation Screenshot methods is called to be captured, because of many bug, see too many log, also not
As research staff has a look next intuitive, the method for calling screenshotss of bug phenomenons.Android system screenshotss are directed in the present invention
Aspect, which can be called, pins power key, volume+,-call response screenshotss method interceptScreenshotChord () with
And receive response and take takeScreenshot () to realize.
For other intelligence systems, this system is not limited to this method.
3.3 crawl bug problem incident points
Obtain use-case in terms of having obtained the bug of relevant automatic test module by screenshotss the phenomenon that, then pass through needle
The operation log daily records of correlation module problem points are obtained to the daily record logcat of system operation, case point includes obtaining crash,
The common log recordings of systems such as faile, ANR, fail close, NO Menory capture the correlation module bug times
Point.
When capturing bug time points, in order to linked list data item is built, wherein may the corresponding word of problem points
The data that section obtains are more, and enrollment time point can be used, when can be in total daily record according to registration in the later stage so as to programmer
Between point transfer related system operation information.
3.4 interception module contact persons
In this system program module, obtained primarily directed to relevant item use-case module software responsible person's register information early period
It takes, this module can be obtained according to automatic test cases register information.
Since each module of intelligence system has corresponding research staff to safeguard and develop, when system development, survey
Which project team examination personnel clearly some automatic module can return, which research staff is in charge of, to test out problem points
When, will be corresponding the problem of, offers corresponding research staff, and traditional mode is by tester, when test is gone wrong
Individual goes in bug systems to be registered, distribution, but can waste the manpower of tester significantly in this way, in an item
Purpose peak period is sometimes increased the problem of test bug with kilounit, and traditional manpower is very limited.
The personnel of the module can be obtained automatically by this module, problem points are dealt into corresponding registration research staff's automatically
Inside mail and mobile phone short message.
3.5 online acquisition research staff contact persons
The data item inside automatic test result chained list can be dealt into corresponding research and development people according to 3.4 systems in the module
Member.
In the form of the registration of the transmission of the module, the present invention can do one and limit systems automatically according to can basis
Register information is notified.
3.6 write-in day module log daily records
In the system module according to 3.4 systems, if not getting related personnel, this when cannot notify related research and development
Personnel, this when, relevant bug can be recorded module log daily records in the past by system.
4 automatically write bug test systems, and notify related research staff
According to the classification to automatic test result, structure, system calls correlation method, and automatic test result is written and is tested
System is being researched and developed responsible person by what is obtained with 34 module of upper module, due to there is corresponding module personnel, is issuing corresponding personnel
The content information of this record.
The method that a kind of automatic test result provided by the invention notifies related personnel automatically, has the characteristics that:
(1) automated test tool is called, automatic test result is counted, is classified, builds automatic test notifier
Member's data double-way chained list traverses, and searches all test modules, and in chained list in data field, and write-in backstage bug is stepped on
Note system.
(2)After automatic test, according to the correlation module of this system, register information information is obtained, and according to difference
The record of bug issue corresponding program research staff automatically.
The method that a kind of automatic test result provided by the invention notifies related personnel automatically, can be by automatic test
As a result related personnel is notified automatically, reduces human cost, suitable for mobile intelligent terminal, hand-held intelligent terminal information, automatic
Change testing field, monkey tests, automation control area.
The above content is a further detailed description of the present invention in conjunction with specific preferred embodiments, it is impossible to assert
The specific implementation of the present invention is confined to these explanations.For those of ordinary skill in the art to which the present invention belongs, exist
Under the premise of not departing from present inventive concept, several simple deduction or replace can also be made, should all be considered as belonging to the present invention's
Protection domain.
Claims (3)
1. a kind of method that automatic test result notifies related personnel automatically, which is characterized in that include the following steps:
S1, according to tested software, edit corresponding test case;
S2, automated test tool is called, carries out automatic test;
S3, automatic test structure is counted and is classified;
S4, bug test systems are automatically write, and notifies related personnel.
2. the method that automatic test result according to claim 1 notifies related personnel automatically, which is characterized in that step
S3 includes following sub-step:
S31, test bug module statistical items are obtained;
S32, screenshotss crawl bug module contextual datas;
S33, crawl bug problem incident points;
S34, whether interception module contact person, if it is, S35 is entered step, if it is not, then entering step S36;
S35, online acquisition system people;
S36, writing module log daily records.
3. the method that automatic test result according to claim 1 notifies related personnel automatically, it is characterised in that:In step
In rapid S3, automatic test structure is counted and classified, next time of the data structure doubly linked list of structure automatic test result
It goes through, searches all test modules, and in chained list in data field, backstage bug register systems are written.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810069299.4A CN108197033A (en) | 2018-01-24 | 2018-01-24 | A kind of method that automatic test result notifies related personnel automatically |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810069299.4A CN108197033A (en) | 2018-01-24 | 2018-01-24 | A kind of method that automatic test result notifies related personnel automatically |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108197033A true CN108197033A (en) | 2018-06-22 |
Family
ID=62591072
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810069299.4A Pending CN108197033A (en) | 2018-01-24 | 2018-01-24 | A kind of method that automatic test result notifies related personnel automatically |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108197033A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108959096A (en) * | 2018-07-18 | 2018-12-07 | 郑州云海信息技术有限公司 | A kind of system and method for automatic submission bug |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1648872A (en) * | 2004-12-08 | 2005-08-03 | 上海科泰世纪科技有限公司 | Automatic detection building method |
US20130024842A1 (en) * | 2011-07-21 | 2013-01-24 | International Business Machines Corporation | Software test automation systems and methods |
CN103092756A (en) * | 2013-01-08 | 2013-05-08 | 彭勇 | Interactive automated testing system and method thereof |
CN103902446A (en) * | 2012-12-27 | 2014-07-02 | 北京新媒传信科技有限公司 | Network server automated testing method and device |
CN105373469A (en) * | 2014-08-25 | 2016-03-02 | 广东金赋信息科技有限公司 | Interface based software automation test method |
-
2018
- 2018-01-24 CN CN201810069299.4A patent/CN108197033A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1648872A (en) * | 2004-12-08 | 2005-08-03 | 上海科泰世纪科技有限公司 | Automatic detection building method |
US20130024842A1 (en) * | 2011-07-21 | 2013-01-24 | International Business Machines Corporation | Software test automation systems and methods |
CN103902446A (en) * | 2012-12-27 | 2014-07-02 | 北京新媒传信科技有限公司 | Network server automated testing method and device |
CN103092756A (en) * | 2013-01-08 | 2013-05-08 | 彭勇 | Interactive automated testing system and method thereof |
CN105373469A (en) * | 2014-08-25 | 2016-03-02 | 广东金赋信息科技有限公司 | Interface based software automation test method |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108959096A (en) * | 2018-07-18 | 2018-12-07 | 郑州云海信息技术有限公司 | A kind of system and method for automatic submission bug |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101916225B (en) | Graphical user interface software function coverage testing method | |
CN104407980B (en) | Mobile solution automatic test device and method | |
US8555253B2 (en) | System and method for monitoring exploratory testing by a plurality of testers | |
Gehlot et al. | An introduction to systems modeling and simulation with colored petri nets | |
CN100589420C (en) | Function operation packaging based automatization test script implementing method and apparatus | |
CN109271808A (en) | A kind of data inactivity desensitization system and method based on the discovery of database sensitivity | |
CN104183027B (en) | A kind of User Status determines method and device | |
CN107506451A (en) | abnormal information monitoring method and device for data interaction | |
CN104966172A (en) | Large data visualization analysis and processing system for enterprise operation data analysis | |
CN109101519B (en) | Information acquisition system and heterogeneous information fusion system | |
CN101772760A (en) | Database management program and database management device | |
CN106598834A (en) | UI (User Interface) testing method and device | |
CN105760296A (en) | Automation testing control method, device and terminal | |
CN107124325A (en) | A kind of power communication network operation safety evaluation method and system | |
CN103455313B (en) | Method and device for associating input information with output information of detected system | |
CN112540975B (en) | Multi-source heterogeneous data quality detection method and system based on petri net | |
CN109978495A (en) | A kind of nuclear power station debugging test Report workout method and system | |
CN103324563A (en) | Method for checking terminal event of communication terminal and communication terminal thereof | |
CN106326095A (en) | Test script setting method and system | |
CN108197033A (en) | A kind of method that automatic test result notifies related personnel automatically | |
CN112508541A (en) | Portable mobile phone acquisition software system based on training trainee information data acquisition | |
CN117472988A (en) | Log checking method, device and equipment for process instance and readable medium | |
CN108897633A (en) | A kind of method for diagnosing faults and device based on machine data | |
CN112650673A (en) | Method and device for creating test case in transaction tracking system and electronic equipment | |
CN103902590A (en) | Method and device for automated testing of terminal |
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 | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20180622 |