CN106844204A - A kind of utilization mobile terminal generates the method and system of defect report - Google Patents

A kind of utilization mobile terminal generates the method and system of defect report Download PDF

Info

Publication number
CN106844204A
CN106844204A CN201710019300.8A CN201710019300A CN106844204A CN 106844204 A CN106844204 A CN 106844204A CN 201710019300 A CN201710019300 A CN 201710019300A CN 106844204 A CN106844204 A CN 106844204A
Authority
CN
China
Prior art keywords
information
mobile terminal
defect
application program
tested application
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.)
Granted
Application number
CN201710019300.8A
Other languages
Chinese (zh)
Other versions
CN106844204B (en
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.)
Fujian Star Net E Video Information Systems Co Ltd
Original Assignee
Fujian Star Net E Video Information Systems Co 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 Fujian Star Net E Video Information Systems Co Ltd filed Critical Fujian Star Net E Video Information Systems Co Ltd
Priority to CN201710019300.8A priority Critical patent/CN106844204B/en
Publication of CN106844204A publication Critical patent/CN106844204A/en
Application granted granted Critical
Publication of CN106844204B publication Critical patent/CN106844204B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING; 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/3688Test management for test execution, e.g. scheduling of test suites

Abstract

The present invention provides a kind of method that utilization mobile terminal generates defect report, including:Running of mobile terminal is tested application program, obtains the progress information and log information of tested application program;Defect to occurring in test process carries out sectional drawing, edits sectional drawing, and obtain the hardware parameter of mobile terminal;Progress information, log information, sectional drawing and hardware parameter are assembled to form defect report, and submits to defect management platform automatically.The present invention also provides the system that a kind of utilization mobile terminal generates defect report.Advantage of the present invention:The time that relevant information is obtained when defect occurs can be greatly reduced, realization generates most detailed defect report within the most short time, and submits to defect management platform automatically, to facilitate related personnel to reappear and investigate defect.

Description

A kind of utilization mobile terminal generates the method and system of defect report
Technical field
The present invention relates to the method and system that a kind of utilization mobile terminal generates defect report.
Background technology
Software BUG is submitted to and has currently been widely used in the test process of software product, the test of each software product It is required for experiencing the process.And prior art is when carrying out software BUG and submitting to, tester needs what manually recorded BUG occurred Step, performs caused actual result after the step, and desired result, more crucial is a little to provide for the environment that BUG occurs, Now it is accomplished by describing the running environment of software, for the product of mobile terminal, in addition it is also necessary to which more detailed content is provided, Such as essential information such as system platform, system version, network type, unit type, screen resolution, live sectional drawing.Therefore, it is right For mobile terminal, the description of such a BUG describes complicated many than traditional problem, in the test process of product In, recording these information can take the plenty of time of product test, or even acquisition of information deviation occurs and causes to mislead exploitation Situation.
Through retrieval, the applying date is:06 month 2016 02 day, Application No.:201610392338.5 Chinese invention patent The generation method and device of test report are disclosed, the disclosure method is used according to report generation Rule and survey to be generated Examination is reported the version information for associating and the testing requirement information associated with version information and is needed by version information and test Ask information to generate the mode of test report, artificial collection test status, hand are replaced by automatically generating the method for test report The dynamic existing method for writing test report, so as to reduce the operation complexity of generation test report, improves test report Formation efficiency, it is to avoid the situation that the test process real-time alteration that manually generation test report is reacted relatively lags behind Occur.But the method is described to merge version information and demand information according to established rule and is organized into test report Process, it is directed to test the data preparation after terminating, and the defect information for occurring in test process still needs to hand Dynamic to be recorded, i.e., what the disclosure method stressed is the collection of conventionally test result, the purpose is to automatically generate test report with Just obtain test result, its implementation when towards be operation or market end business personnel, its treatment object be only raw Into some test results, application program is not related in test process, how developer should collect, submit movement to The operating method of terminal defect information.
The content of the invention
One of the technical problem to be solved in the present invention, is to provide the side that a kind of utilization mobile terminal generates defect report Method, realizes generating most detailed defect report within the most short time by the method, and it is flat to submit to defect management automatically Platform, to facilitate related personnel to reappear and investigate defect.
The present invention is realized in one of technical problem:A kind of utilization mobile terminal generates the method for defect report, institute The method of stating includes:
Running of mobile terminal is tested application program, obtains the progress information and log information of tested application program;
Defect to occurring in test process carries out sectional drawing, edits sectional drawing, and obtain the hardware parameter of mobile terminal;
Progress information, log information, sectional drawing and the hardware parameter that will be got assemble to form defect report, and carry automatically Give defect management platform.
Further, described " obtaining the progress information of tested application program " is specially:
The routine interface of the background service calling system of mobile terminal obtains the progress information of tested application program, wherein, The progress information comprises at least following one kind:Process identifier information, subscriber identifier information and process name;Meanwhile, lead to The resource information of the tested application program of the Process identifier information record is crossed, the resource information comprises at least following one kind: The memory information shared by CPU, system free memory and Process identifier shared by the total CPU of system, tested application program.
Further, described " defect to occurring in test process carries out sectional drawing, edits sectional drawing " is specially:
When running of mobile terminal is tested application program, an icon is shown on screen;If tested application program Occurs defect in test process, then clicking on icon carries out sectional drawing, records the time point of sectional drawing, and sectional drawing is saved in In system sectional drawing catalogue;
Background service reads out a newest sectional drawing file from system sectional drawing catalogue, opens sectional drawing and sectional drawing is carried out Editor, including sectional drawing is marked and word description is added, preserve the sectional drawing after editor.
It is further, described that " defect to occurring in test process carries out sectional drawing, edits sectional drawing, and obtain mobile terminal Hardware parameter " after also include:
Background service is obtained 30 seconds before tested application program with the time point of sectional drawing as middle time point from journal file Solicited message with latter 30 seconds, and extract the URL information included in solicited message.
Further, described " assemble progress information, log information, sectional drawing and hardware parameter and to form defect report " has Body is:
Sectional drawing, solicited message after Process identifier information, subscriber identifier information, process name, the editor that will get, URL information, log information, hardware parameter and the Process identifier information for extracting recorded it is tested should The data form recognized by defect management platform is assembled into the resource information of program, defect report is formed.
Further, the log information of tested application program is obtained from journal file by logcat.
Further, the hardware parameter comprises at least following one kind:System platform, system version, network type, equipment Model and screen resolution.
The second technical problem to be solved by the present invention, be a kind of utilization mobile terminal generation defect report is provided be System, realizes generating most detailed defect report within the most short time by the system, and it is flat to submit to defect management automatically Platform, to facilitate related personnel to reappear and investigate defect.
The present invention is realized in the twos' of technical problem:A kind of utilization mobile terminal generates the system of defect report, institute State system and submit module to including data obtaining module, screen capture module and data;
Described information acquisition module, application program is tested for running of mobile terminal, obtains the process of tested application program Information and log information;
The screen capture module, for carrying out sectional drawing to the defect occurred in test process, edits sectional drawing, and obtain mobile whole The hardware parameter at end;
The data submit module to, for progress information, log information, sectional drawing and the hardware parameter assembling that will get Defect report is formed, and submits to defect management platform automatically.
Further, in described information acquisition module, " the obtaining the progress information of tested application program " is specially:
The routine interface of the background service calling system of mobile terminal obtains the progress information of tested application program, wherein, The progress information comprises at least following one kind:Process identifier information, subscriber identifier information and process name;Meanwhile, lead to The resource information of the tested application program of the Process identifier information record is crossed, the resource information comprises at least following one kind: The memory information shared by CPU, system free memory and Process identifier shared by the total CPU of system, tested application program.
Further, in the screen capture module, " defect to occurring in test process carries out sectional drawing, edits sectional drawing " Specially:
When running of mobile terminal is tested application program, an icon is shown on screen;If tested application program Occurs defect in test process, then clicking on icon carries out sectional drawing, records the time point of sectional drawing, and sectional drawing is saved in In system sectional drawing catalogue;
Background service reads out a newest sectional drawing file from system sectional drawing catalogue, opens sectional drawing and sectional drawing is carried out Editor, including sectional drawing is marked and word description is added, preserve the sectional drawing after editor.
Further, also include after the screen capture module:Extraction module;
The extraction module, for background service with the time point of sectional drawing as middle time point, obtains from journal file The solicited message of 30 seconds and latter 30 seconds before tested application program, and extract the URL letter included in solicited message Breath.
Further, it is described " by progress information, log information, sectional drawing and hardware parameter in the data submission module Assembling forms defect report " it is specially:
Sectional drawing, solicited message after Process identifier information, subscriber identifier information, process name, the editor that will get, URL information, log information, hardware parameter and the Process identifier information for extracting recorded it is tested should The data form recognized by defect management platform is assembled into the resource information of program, defect report is formed.
The invention has the advantages that:Obtained using the sectional drawing of mobile terminal, picture editor, device parameter, daily record and entered The technologies such as journey acquisition of information, are realized and automatically generate defect report in mobile terminal, and this is asked with traditional manually recorded and acquisition Topic information is compared, and can greatly reduce the time that relevant information is obtained when defect occurs, and realization is generated most within the most short time Detailed defect report, and defect management platform is submitted to automatically, to facilitate related personnel to reappear and investigate defect.
Brief description of the drawings
The present invention is further illustrated in conjunction with the embodiments with reference to the accompanying drawings.
Fig. 1 is a kind of execution flow chart of the method for utilization mobile terminal generation defect report of the invention.
Specific embodiment
Refer to shown in Fig. 1, a kind of embodiment of the method for utilization mobile terminal generation defect report of the invention, this method Collected mainly for defect of the application program run on mobile terminal in test process, defect is processed with facilitating, The mobile terminal can be Android terminal, iOS terminals etc., and methods described includes:
Step S1, running of mobile terminal are tested application program, obtain the progress information and daily record letter of tested application program Breath;
Step S2, the defect (i.e. BUG) to occurring in test process carry out sectional drawing, edit sectional drawing, and obtain mobile terminal Hardware parameter;
Step S3, the progress information that will be got, log information, sectional drawing and hardware parameter are assembled and to form defect report, And defect management platform is submitted to automatically.
By above-mentioned steps, this method utilizes sectional drawing, picture editor, device parameter acquisition, the daily record of mobile terminal The technology such as obtain with progress information, realize and automatically generate defect report in mobile terminal, it is and traditional manually recorded and obtain Problem information is compared, and can greatly reduce the time that relevant information is obtained when defect occurs, and realizes being generated within the most short time Most detailed defect report, to facilitate related personnel to reappear and investigate defect.
The hardware parameter comprises at least following one kind:System platform, system version, network type, unit type and Screen resolution, in the specific implementation, background service can get specific hardware by the relevant interface of calling system Parameter.For example, for Android platform, the acquisition modes of related hardware parameter are as follows:By calling VERSION in Android RELEASE methods obtain system version number;Mobile phone model is obtained by calling the MODEL of Build in Android;It is logical Cross and call the getConnectionInfo methods of android system management service and obtain wifi information;By calling The getWidth methods of Android window managements obtain the width of screen, by calling Android window managements GetHeight methods obtain the height of screen.
For iOS platforms, the acquisition modes of related hardware parameter are as follows:By calling ios device module attribute name side Method obtains the title of the equipment owner;The classification of equipment is obtained by calling ios device module attribute model methods;It is logical Cross and call ios device module localizedModel methods to obtain localization version;By calling ios device module SystemName methods are come the system that obtains current operation;By calling ios device module systemVersion methods to obtain The version of current system;By the width for calling the width methods of IOS window management modules to obtain screen, by calling IOS The height methods of window management module obtain the height of screen.
In the step S1, " the obtaining the progress information of tested application program " is specially:
The routine interface of the background service calling system of mobile terminal obtains the progress information of tested application program, for example may be used To obtain what is be currently running using the ActivityManager.RunningAppProcessInfo classes on Andriod platforms Progress information, wherein, the progress information comprises at least following one kind:Process identifier information (i.e. pid information), ID Symbol information (UID information) and process name;Meanwhile, the resource for recording tested application program by the subscriber identifier information is believed Breath, the resource information comprises at least following one kind:CPU, system shared by the total CPU of system, tested application program is available interior Deposit and Process identifier shared by memory information;In the specific implementation, can pass through/proc/stat checks and records The total CPU of system, it is possible to use/proc/+PID+/stat is checked and recorded the CPU shared by tested application program, Ke Yitong Cross ActivityManager.MemoryInfo to check and record system free memory, can pass through GetProcessMemoryInf come check and record the process identifier shared by memory information;
In the step S2, " defect to occurring in test process carries out sectional drawing, edits sectional drawing " is specially:
When running of mobile terminal is tested application program, an icon is shown on screen;If tested application program Occurs defect in test process, then clicking on icon carries out sectional drawing, records the time point of sectional drawing, and sectional drawing is saved in In system sectional drawing catalogue;In the specific implementation, operate for convenience, icon can be included in the upper left corner position of screen Put, when occurring defect in test process, the icon that tester only needs to click on the upper left corner can just realize sectional drawing Operation, and the time point of sectional drawing is recorded automatically.
Background service reads out a newest sectional drawing file from system sectional drawing catalogue, opens sectional drawing and sectional drawing is carried out Editor, including sectional drawing is marked and word description is added, preserve the sectional drawing after editor.In the specific implementation, background service Automatic can read out a newest sectional drawing file from system sectional drawing catalogue, and by sectional drawing File Open, now tester Edlin can just be entered to sectional drawing, for example, can be marked on sectional drawing and the particular location of defect occurred, and phase is made to defect The word description (the reason for being such as likely to occur, corresponding solution etc.) of pass.
Also include after the step S2:
Step S21, background service are obtained to be tested from journal file and apply journey with the time point of sectional drawing as middle time point The solicited message of 30 seconds and latter 30 seconds before sequence, and extract URL information (the i.e. URL letters included in solicited message Breath), certainly, the other informations such as required parameter are also included in solicited message.For example, above-mentioned steps S2 records the time of sectional drawing Point for 8 when 20 seconds 15 minutes, now just with 15 points when 8 20 seconds for middle time point, from journal file obtain be tested application program At 8 14 points 50 seconds to all solicited messages (context data) in 15 points of 50 second this periods when 8, and extract these The URL information included in solicited message, because URL information can be determined resource Position, after extracting URL information, it is possible to carry out various operations to resource.
It is described " to assemble to form defect by progress information, log information, sectional drawing and hardware parameter in the step S3 Report " is specially:
Sectional drawing, solicited message after Process identifier information, subscriber identifier information, process name, the editor that will get, URL information, log information, hardware parameter and the Process identifier information for extracting recorded it is tested should The data form recognized by defect management platform is assembled into the resource information of program, defect report is formed.Such as defect pipe Platform is capable of identify that json data forms, and the data message that now will can just get is assembled into json forms;And for example, lack Sunken management platform is capable of identify that json data forms and xml forms, and data message then now is assembled into json forms or xml Form.
In the step S1, the log information of tested application program is obtained from journal file by logcat, specifically Can be realized by calling the getLogcatInfo () method of mobile terminal, can be comprising sudden strain of a muscle bounce in the log information Breath.When tested application program sudden strain of a muscle occurs and moves back situation, sudden strain of a muscle bounce breath can be obtained from log information, to facilitate the later stage to defect Analysis.
A kind of embodiment of the system of utilization mobile terminal generation defect report of the present invention, the system is mainly for mobile whole Defect of the application program run on end in test process is collected, and defect is processed with facilitating, and the mobile terminal can To be Android terminal, iOS terminals etc., the system includes that data obtaining module, screen capture module and data submit module to;
Described information acquisition module, application program is tested for running of mobile terminal, obtains the process of tested application program Information and log information;
The screen capture module, for carrying out sectional drawing to the defect (i.e. BUG) occurred in test process, edits sectional drawing, and obtain Take the hardware parameter of mobile terminal;
The data submit module to, for progress information, log information, sectional drawing and the hardware parameter assembling that will get Defect report is formed, and submits to defect management platform automatically.
By above-mentioned module, the system utilizes sectional drawing, picture editor, device parameter acquisition, the daily record of mobile terminal The technology such as obtain with progress information, realize and automatically generate defect report in mobile terminal, it is and traditional manually recorded and obtain Problem information is compared, and can greatly reduce the time that relevant information is obtained when defect occurs, and realizes being generated within the most short time Most detailed defect report, to facilitate related personnel to reappear and investigate defect.
The hardware parameter comprises at least following one kind:System platform, system version, network type, unit type and Screen resolution, in the specific implementation, background service can get specific hardware by the relevant interface of calling system Parameter.For example, for Android platform, the acquisition modes of related hardware parameter are as follows:By calling VERSION in Android RELEASE methods obtain system version number;Mobile phone model is obtained by calling the MODEL of Build in Android;It is logical Cross and call the getConnectionInfo methods of android system management service and obtain wifi information;By calling The getWidth methods of Android window managements obtain the width of screen, by calling Android window managements GetHeight methods obtain the height of screen.
For iOS platforms, the acquisition modes of related hardware parameter are as follows:By calling ios device module attribute name side Method obtains the title of the equipment owner;The classification of equipment is obtained by calling ios device module attribute model methods;It is logical Cross and call ios device module localizedModel methods to obtain localization version;By calling ios device module SystemName methods are come the system that obtains current operation;By calling ios device module systemVersion methods to obtain The version of current system;By the width for calling the width methods of IOS window management modules to obtain screen, by calling IOS The height methods of window management module obtain the height of screen.
In described information acquisition module, " the obtaining the progress information of tested application program " is specially:
The routine interface of the background service calling system of mobile terminal obtains the progress information of tested application program, for example may be used To obtain what is be currently running using the ActivityManager.RunningAppProcessInfo classes on Andriod platforms Progress information, wherein, the progress information comprises at least following one kind:Process identifier information (i.e. pid information), ID Symbol information (UID information) and process name;Meanwhile, the resource for recording tested application program by the subscriber identifier information is believed Breath, the resource information comprises at least following one kind:CPU, system shared by the total CPU of system, tested application program is available interior Deposit and Process identifier shared by memory information;In the specific implementation, can pass through/proc/stat checks and records The total CPU of system, it is possible to use/proc/+PID+/stat is checked and recorded the CPU shared by tested application program, Ke Yitong Cross ActivityManager.MemoryInfo to check and record system free memory, can pass through GetProcessMemoryInf come check and record the process identifier shared by memory information;
In the screen capture module, " defect to occurring in test process carries out sectional drawing, edits sectional drawing " is specially:
When running of mobile terminal is tested application program, an icon is shown on screen;If tested application program Occurs defect in test process, then clicking on icon carries out sectional drawing, records the time point of sectional drawing, and sectional drawing is saved in In system sectional drawing catalogue;In the specific implementation, operate for convenience, icon can be included in the upper left corner position of screen Put, when occurring defect in test process, the icon that tester only needs to click on the upper left corner can just realize sectional drawing Operation, and the time point of sectional drawing is recorded automatically.
Background service reads out a newest sectional drawing file from system sectional drawing catalogue, opens sectional drawing and sectional drawing is carried out Editor, including sectional drawing is marked and word description is added, preserve the sectional drawing after editor.In the specific implementation, background service Automatic can read out a newest sectional drawing file from system sectional drawing catalogue, and by sectional drawing File Open, now tester Edlin can just be entered to sectional drawing, for example, can be marked on sectional drawing and the particular location of defect occurred, and phase is made to defect The word description (the reason for being such as likely to occur, corresponding solution etc.) of pass.
Also include after the screen capture module:Extraction module;
The extraction module, for background service with the time point of sectional drawing as middle time point, obtains from journal file The solicited message of 30 seconds and latter 30 seconds before tested application program, and extract the URL letter included in solicited message Breath (i.e. URL information), certainly, also includes the other informations such as required parameter in solicited message.For example, above-mentioned screen capture module record The time point of lower sectional drawing be 14 when 10 points 10 seconds, now just with 10 points when 14 10 seconds be middle time point, obtained from journal file Take tested application program at 14 09 point 40 seconds to all solicited messages (the i.e. context number in 10 points of 40 second this periods when 14 According to), and the URL information included in these solicited messages is extracted, because URL information can Positioned with to resource, after extracting URL information, it is possible to which various operations are carried out to resource.
It is described " progress information, log information, sectional drawing and hardware parameter to be assembled into shape in the data submit module to Into defect report " it is specially:
Sectional drawing, solicited message after Process identifier information, subscriber identifier information, process name, the editor that will get, URL information, log information, hardware parameter and the Process identifier information for extracting recorded it is tested should The data form recognized by defect management platform is assembled into the resource information of program, defect report is formed.Such as defect pipe Platform is capable of identify that json data forms, and the data message that now will can just get is assembled into json forms;And for example, lack Sunken management platform is capable of identify that json data forms and xml forms, and data message then now is assembled into json forms or xml Form.
In described information acquisition module, the daily record letter of tested application program is obtained from journal file by logcat Breath, can specifically be realized by calling the getLogcatInfo () method of mobile terminal, can be included in the log information Dodge bounce breath.When tested application program sudden strain of a muscle occurs and moves back situation, sudden strain of a muscle bounce breath can be obtained from log information, to facilitate the later stage Analysis to defect.
Although the foregoing describing specific embodiment of the invention, those familiar with the art should manage Solution, the specific embodiment described by us is merely exemplary, and rather than for the restriction to the scope of the present invention, is familiar with this The technical staff in field should be covered of the invention in the equivalent modification and change made according to spirit of the invention In scope of the claimed protection.

Claims (12)

1. a kind of method that utilization mobile terminal generates defect report, it is characterised in that:The method includes:
Running of mobile terminal is tested application program, obtains the progress information and log information of tested application program;
Defect to occurring in test process carries out sectional drawing, edits sectional drawing, and obtain the hardware parameter of mobile terminal;
Progress information, log information, sectional drawing and the hardware parameter that will be got assemble to form defect report, and submit to automatically Defect management platform.
2. the method that a kind of utilization mobile terminal according to claim 1 generates defect report, it is characterised in that:It is described " obtaining the progress information of tested application program " is specially:
The routine interface of the background service calling system of mobile terminal obtains the progress information of tested application program, wherein, it is described Progress information comprises at least following one kind:Process identifier information, subscriber identifier information and process name;Meanwhile, by institute The resource information of the tested application program of Process identifier information record is stated, the resource information comprises at least following one kind:System The memory information shared by CPU, system free memory and Process identifier shared by total CPU, tested application program.
3. the method that a kind of utilization mobile terminal according to claim 2 generates defect report, it is characterised in that:It is described " defect to occurring in test process carries out sectional drawing, edits sectional drawing " is specially:
When running of mobile terminal is tested application program, an icon is shown on screen;If tested application program is being surveyed Occurs defect during examination, then clicking on icon carries out sectional drawing, records the time point of sectional drawing, and sectional drawing is saved in into system In sectional drawing catalogue;
Background service reads out a newest sectional drawing file from system sectional drawing catalogue, opens sectional drawing and sectional drawing is compiled Volume, including sectional drawing is marked and word description is added, preserve the sectional drawing after editor.
4. the method that a kind of utilization mobile terminal according to claim 3 generates defect report, it is characterised in that:It is described Also include after " defect to occurring in test process carries out sectional drawing, edits sectional drawing, and obtain the hardware parameter of mobile terminal ":
Background service with the time point of sectional drawing as middle time point, obtained from journal file before tested application program 30 seconds and after The solicited message of 30 seconds, and extract the URL information included in solicited message.
5. the method that a kind of utilization mobile terminal according to claim 4 generates defect report, it is characterised in that:It is described " assemble progress information, log information, sectional drawing and hardware parameter and to form defect report " is specially:
Sectional drawing, solicited message, extraction after Process identifier information, subscriber identifier information, process name, the editor that will get The tested application journey that URL information, log information, hardware parameter and the Process identifier information for going out are recorded The resource information of sequence is assembled into the data form recognized by defect management platform, forms defect report.
6. the method that a kind of utilization mobile terminal according to claim 1 generates defect report, it is characterised in that:Pass through Logcat obtains the log information of tested application program from journal file.
7. the method that a kind of utilization mobile terminal according to claim 1 generates defect report, it is characterised in that:It is described hard Part parameter comprises at least following one kind:System platform, system version, network type, unit type and screen resolution.
8. the system that a kind of utilization mobile terminal generates defect report, it is characterised in that:The system include data obtaining module, Screen capture module and data submit module to;
Described information acquisition module, application program is tested for running of mobile terminal, obtains the progress information of tested application program And log information;
The screen capture module, for carrying out sectional drawing to the defect occurred in test process, edits sectional drawing, and obtain mobile terminal Hardware parameter;
The data submit module to, and progress information, log information, sectional drawing and hardware parameter for that will get are assembled and formed Defect report, and defect management platform is submitted to automatically.
9. the system that a kind of utilization mobile terminal according to claim 8 generates defect report, it is characterised in that:The letter In breath acquisition module, " the obtaining the progress information of tested application program " is specially:
The routine interface of the background service calling system of mobile terminal obtains the progress information of tested application program, wherein, it is described Progress information comprises at least following one kind:Process identifier information, subscriber identifier information and process name;Meanwhile, by institute The resource information of the tested application program of Process identifier information record is stated, the resource information comprises at least following one kind:System The memory information shared by CPU, system free memory and Process identifier shared by total CPU, tested application program.
10. the system that a kind of utilization mobile terminal according to claim 9 generates defect report, it is characterised in that:It is described In screen capture module, " defect to occurring in test process carries out sectional drawing, edits sectional drawing " is specially:
When running of mobile terminal is tested application program, an icon is shown on screen;If tested application program is being surveyed Occurs defect during examination, then clicking on icon carries out sectional drawing, records the time point of sectional drawing, and sectional drawing is saved in into system In sectional drawing catalogue;
Background service reads out a newest sectional drawing file from system sectional drawing catalogue, opens sectional drawing and sectional drawing is compiled Volume, including sectional drawing is marked and word description is added, preserve the sectional drawing after editor.
The system that a kind of 11. utilization mobile terminals according to claim 10 generate defect report, it is characterised in that:It is described Also include after screen capture module:Extraction module;
The extraction module, for background service with the time point of sectional drawing as middle time point, obtains tested from journal file The solicited message of 30 seconds and latter 30 seconds before application program, and extract the URL information included in solicited message.
The system that a kind of 12. utilization mobile terminals according to claim 11 generate defect report, it is characterised in that:It is described Data are submitted in module, and described " assemble progress information, log information, sectional drawing and hardware parameter and to form defect report " is specific For:
Sectional drawing, solicited message, extraction after Process identifier information, subscriber identifier information, process name, the editor that will get The tested application journey that URL information, log information, hardware parameter and the Process identifier information for going out are recorded The resource information of sequence is assembled into the data form recognized by defect management platform, forms defect report.
CN201710019300.8A 2017-01-11 2017-01-11 Method and system for generating defect report by using mobile terminal Active CN106844204B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710019300.8A CN106844204B (en) 2017-01-11 2017-01-11 Method and system for generating defect report by using mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710019300.8A CN106844204B (en) 2017-01-11 2017-01-11 Method and system for generating defect report by using mobile terminal

Publications (2)

Publication Number Publication Date
CN106844204A true CN106844204A (en) 2017-06-13
CN106844204B CN106844204B (en) 2020-11-13

Family

ID=59117220

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710019300.8A Active CN106844204B (en) 2017-01-11 2017-01-11 Method and system for generating defect report by using mobile terminal

Country Status (1)

Country Link
CN (1) CN106844204B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107463497A (en) * 2017-07-24 2017-12-12 微梦创科网络科技(中国)有限公司 Record the method and system of BUG in Mobile solution
CN108089990A (en) * 2018-01-17 2018-05-29 北京网信云服信息科技有限公司 The defects of mobile software, submits method, client, server-side and management system
CN108132888A (en) * 2018-01-17 2018-06-08 北京网信云服信息科技有限公司 The defects of mobile software, submits method, client, server-side and management system
CN108595332A (en) * 2018-04-25 2018-09-28 北京车和家信息技术有限公司 Method for testing software and device
CN108833132A (en) * 2018-04-26 2018-11-16 努比亚技术有限公司 log acquisition control method, terminal and computer readable storage medium
CN108959096A (en) * 2018-07-18 2018-12-07 郑州云海信息技术有限公司 A kind of system and method for automatic submission bug
CN109508547A (en) * 2018-11-16 2019-03-22 北京城市网邻信息技术有限公司 A kind of localization method of vulnerability of application program, device, storage medium and terminal
CN109558331A (en) * 2018-12-14 2019-04-02 瑞庭网络技术(上海)有限公司 Defect inspection method, device, equipment and the storage medium of application program

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101859413A (en) * 2010-06-11 2010-10-13 用友软件股份有限公司 Method and system for collecting defects of enterprise resource planning (ERP) product
CN104102574A (en) * 2013-04-07 2014-10-15 腾讯科技(深圳)有限公司 Method and device for testing application program
CN104348658A (en) * 2013-08-08 2015-02-11 阿里巴巴集团控股有限公司 Fault report generation method and system thereof
US9053216B1 (en) * 2013-08-09 2015-06-09 Datto, Inc. CPU register assisted virtual machine screenshot capture timing apparatuses, methods and systems
CN104765678A (en) * 2014-01-08 2015-07-08 阿里巴巴集团控股有限公司 Method and device for testing applications on mobile terminal
CN105631307A (en) * 2015-12-24 2016-06-01 北京奇虎科技有限公司 Screen capturing method, device and system
CN105740138A (en) * 2014-12-08 2016-07-06 阿里巴巴集团控股有限公司 Test method, test device and test system of application

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101859413A (en) * 2010-06-11 2010-10-13 用友软件股份有限公司 Method and system for collecting defects of enterprise resource planning (ERP) product
CN104102574A (en) * 2013-04-07 2014-10-15 腾讯科技(深圳)有限公司 Method and device for testing application program
CN104348658A (en) * 2013-08-08 2015-02-11 阿里巴巴集团控股有限公司 Fault report generation method and system thereof
US9053216B1 (en) * 2013-08-09 2015-06-09 Datto, Inc. CPU register assisted virtual machine screenshot capture timing apparatuses, methods and systems
US20150234728A1 (en) * 2013-08-09 2015-08-20 Datto, Inc. Cpu register assisted virtual machine screenshot capture timing apparatuses, methods and systems
CN104765678A (en) * 2014-01-08 2015-07-08 阿里巴巴集团控股有限公司 Method and device for testing applications on mobile terminal
CN105740138A (en) * 2014-12-08 2016-07-06 阿里巴巴集团控股有限公司 Test method, test device and test system of application
CN105631307A (en) * 2015-12-24 2016-06-01 北京奇虎科技有限公司 Screen capturing method, device and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
潘春叶: ""对日软件外包项目测试阶段的缺陷知识库建立"", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107463497A (en) * 2017-07-24 2017-12-12 微梦创科网络科技(中国)有限公司 Record the method and system of BUG in Mobile solution
CN108089990A (en) * 2018-01-17 2018-05-29 北京网信云服信息科技有限公司 The defects of mobile software, submits method, client, server-side and management system
CN108132888A (en) * 2018-01-17 2018-06-08 北京网信云服信息科技有限公司 The defects of mobile software, submits method, client, server-side and management system
CN108595332A (en) * 2018-04-25 2018-09-28 北京车和家信息技术有限公司 Method for testing software and device
CN108833132A (en) * 2018-04-26 2018-11-16 努比亚技术有限公司 log acquisition control method, terminal and computer readable storage medium
CN108959096A (en) * 2018-07-18 2018-12-07 郑州云海信息技术有限公司 A kind of system and method for automatic submission bug
CN109508547A (en) * 2018-11-16 2019-03-22 北京城市网邻信息技术有限公司 A kind of localization method of vulnerability of application program, device, storage medium and terminal
CN109558331A (en) * 2018-12-14 2019-04-02 瑞庭网络技术(上海)有限公司 Defect inspection method, device, equipment and the storage medium of application program

Also Published As

Publication number Publication date
CN106844204B (en) 2020-11-13

Similar Documents

Publication Publication Date Title
CN106844204A (en) A kind of utilization mobile terminal generates the method and system of defect report
CN104639653B (en) Adaptive approach and system based on cloud framework
CN107562620B (en) Automatic buried point setting method and device
CN105868039B (en) A kind of method, system and equipment for management software problem report
CN102141962B (en) Safety distributed test framework system and test method thereof
CN106844217A (en) Control to applying bury method and device, readable storage medium storing program for executing a little
CN104636146B (en) A kind of visualization on-line customization method and system
CN104539053B (en) Power dispatching automation polling robot and method based on reptile technology
US20090271351A1 (en) Rules engine test harness
CN101222349A (en) Method and system for collecting web user action and performance data
CN107015908A (en) A kind of computer application software test system and method
CN106155884A (en) A kind of log analysis method and system
CN105119762A (en) System and method of cloud platform for realizing transaction playback and transaction reworking based on logs
CN103678124B (en) Video surveillance platform auto-test method and device based on continuous integrated environment
Madder et al. e-Surveillance in Animal Health: use and evaluation of mobile tools
CN106067101A (en) A kind of distribution power engineering acceptance method and system
CN107018023A (en) A kind of server diagnostic method, apparatus and system
CN105786693A (en) Self-testing execution system and method as well as mobile terminal
CN106775911A (en) A kind of method of testing and device for application and development
CN103631713A (en) ERP software automated testing system and method
CN106095670A (en) The generation method and device of test report
CN110378749A (en) Appraisal procedure, device, terminal device and the storage medium of user data similitude
CN103246606A (en) Method and system for testing performances of ESB (enterprises service bus) platform
CN107844486A (en) A kind of method and system of analysis webpage problem for client
CN107273250A (en) The method of testing and device of electronic declaration form automatic cover system

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
GR01 Patent grant
GR01 Patent grant