CN106776325A - A kind of stability of a system method of testing and system, terminal of Virtual User operation - Google Patents
A kind of stability of a system method of testing and system, terminal of Virtual User operation Download PDFInfo
- Publication number
- CN106776325A CN106776325A CN201611187069.5A CN201611187069A CN106776325A CN 106776325 A CN106776325 A CN 106776325A CN 201611187069 A CN201611187069 A CN 201611187069A CN 106776325 A CN106776325 A CN 106776325A
- Authority
- CN
- China
- Prior art keywords
- pseudo operation
- stability
- operation event
- test
- terminal
- 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.)
- Withdrawn
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/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/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/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)
- Test And Diagnosis Of Digital Computers (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention discloses the stability of a system method of testing and system, terminal of a kind of operation of Virtual User.Wherein, methods described includes:The virtual drive equipment for reporting pseudo operation event is installed in the system bottom of terminal;Pseudo operation event group and automatic test logic rules i.e. stability of a system test assignment are pre-set, stability of a system test assignment group is uploaded to terminal by virtual drive equipment;Terminal receives execution system stability test task after the stability of a system test assignment, generates the test result of stability of a system test assignment.Through the above way, analog subscriber true operation, stability test is carried out to system, improves the accuracy of test result.
Description
Technical field
The present invention relates to a kind of software engineering technology application field, more particularly to a kind of system of Virtual User operation is steady
Qualitative test method and system.
Background technology
Prior art:The stability of a system of present hand-held terminal device mostly using manually test or
Monkey is tested.The defect of manual testing is numerous and diverse comparing, and needs to consume a large amount of manpowers.
Monkey tests are that the operation such as analog subscriber Touch screen, sliding trace ball, button comes to soft on terminal device
Part carries out pressure test, detects stability, the robustness of the software.Its principle is to send pseudorandom customer incident to system
Stream (such as key-press input, touch input, gesture input), realizes carrying out pressure test to the application program developed.
Monkey test defects:The object of test is only application package (apk bag), has certain limitation, for one
The non-test scenes being confined under certain application bag (apk bags) such as a little quick random switchings of application are not applied to.
What monkey tests sent is the customer incident stream of system level, and is had necessarily by the input events that hardware is reported
Difference, the former have the latter by repeatedly conversion after obtain, there is certain difference in the actual scene at this mode and family,
Causing some bug cannot test out.
The content of the invention
The present invention solves the technical problem of the stability of a system method of testing for providing a kind of operation of Virtual User and
System, terminal, can analog subscriber true operation, carry out stability test to system, improve the accuracy of test result.
In order to solve the above technical problems, one aspect of the present invention is:A kind of Virtual User operation is provided
Stability of a system method of testing, methods described includes:The void for reporting pseudo operation event is installed in the system bottom of terminal
Intend driving equipment;Pseudo operation event group and automatic test logic rules i.e. stability of a system test assignment are pre-set, will
Stability of a system test assignment group is uploaded to terminal by virtual drive equipment;Terminal receives the stability of a system test assignment
Execution system stability test task, generates the test result of stability of a system test assignment afterwards.
In order to solve the above technical problems, another technical solution used in the present invention is:A kind of Virtual User operation is provided
Stability of a system test system, including:USB sends to the virtual drive equipment stability of a system test assignment;Virtually
Driving equipment, for receiving the soft stability of a system test assignment, and soft stability of a system test assignment virtually to grasp
The form of work is input into the terminal;After terminal execution system stability test task, the test result of software test task is generated,
And test result is sent to test result data storehouse by USB.
In order to solve the above technical problems, another technical scheme that the present invention is used is:A kind of terminal is provided, including:Place
Reason device, for the instruction for performing and the message for receiving etc.;Communication interface, for computer and the data transfer of terminal room.
Above scheme, the virtual drive equipment for reporting pseudo operation event is installed in the system bottom of terminal;In advance
It is stability of a system test assignment to set pseudo operation event group and automatic test logic rules, and stability of a system test is appointed
Business group is uploaded to terminal by virtual drive equipment;Terminal receives execution system stability after the stability of a system test assignment
Test assignment, generates the test result of stability of a system test assignment.The program is reported as driving equipment from the bottom
Event, so closer to user's practical operation, can more find the bug that user runs into actual use.
Brief description of the drawings
Fig. 1 is the schematic flow sheet of the embodiment of stability of a system method of testing one of Virtual User operation of the present invention;
Fig. 2 is the schematic flow sheet of another embodiment of stability of a system method of testing of Virtual User operation of the present invention;
Fig. 3 is the structural representation of the stability of a system test system embodiment of Virtual User operation of the present invention;
Fig. 4 is the structural representation of terminal embodiment shown in Fig. 3.
Specific embodiment
The present invention is described in detail with implementation method below in conjunction with the accompanying drawings.
Fig. 1 is referred to, Fig. 1 is that the flow of the embodiment of stability of a system method of testing one of Virtual User operation of the present invention is shown
It is intended to.If it is noted that there is substantially the same result, the method for the present invention is not limited with the flow order shown in Fig. 1.
As shown in figure 1, the method comprises the following steps:
S100:The virtual drive equipment for reporting pseudo operation event is installed in the system bottom of terminal.
Wherein, the terminal can be that the terminal for having at least one of other input modes such as touch-screen and other buttons sets
It is standby, such as mobile phone, panel computer etc.;
Wherein, virtual drive equipment is a kind of pseudo operation event for being exclusively used in receiving and performing test system stability
A kind of virtual drive equipment of group, similar to the driver of hardware.
Wherein, it is described to report specially virtual drive equipment to terminal to report pseudo operation event.
Terminal such as can pre-install at the virtual drive that mode is obtained by wireless network transmissions, USB transmission, Bluetooth transmission or system
Dynamic device program, after the virtual drive device program that terminal obtains described, terminal system is installed to by virtual drive device program
System bottom, and the virtual drive device program is authorized.
S101:The pseudo operation event group for pre-setting is received by the virtual drive equipment;
Corresponding pseudo operation event group is pre-set, by wireless network transmissions, USB transmission, Bluetooth transmission to terminal,
Received by the virtual drive equipment in terminal.
The Action Events group is touch event, key-press event, fingerprint recognition event, motion event, light sensation event, sound
The combination of at least one or more in pickup event.
S102:Report the Action Events of the pseudo operation event group;
Virtual drive equipment certain reports rule or by necessarily reporting regular random to report the void according to what is pre-set
Intend the Action Events of Action Events group to the operating system in terminal, the operating system of terminal receives virtual drive equipment
After the pseudo operation event group of upload, the operation of pseudo operation event group is performed according to the agendum for setting.
S103:Judgement reports whether the result produced after the Action Events meets the requirements, and records the result;
In operating process is reported described in performing, while judging whether system reports an error, the correlation that reports an error is recorded if reporting an error
Information and capture screen display interface, and related system running state information is preserved, then automatically continue the remaining virtual behaviour of execution
Make event group task, untill task is completed, or report an error next time, such as produce and report an error next time, then repeat above-mentioned step
Suddenly, untill task is completed.
In sum, the system bottom in terminal installs the virtual drive equipment for reporting pseudo operation event;In advance
It is stability of a system test assignment to set pseudo operation event group and automatic test logic rules, and stability of a system test is appointed
Business group is uploaded to terminal by virtual drive equipment;Terminal receives execution system stability after the stability of a system test assignment
Test assignment, obtains the test result of this test.Through the above way, analog subscriber true operation, stabilization is carried out to system
Property test, improve the accuracy of test result.
Fig. 2 is referred to, Fig. 2 is the flow of another embodiment of stability of a system method of testing of Virtual User operation of the present invention
Schematic diagram.A kind of main distinction of the one embodiment for the stability of a system method of testing that the present embodiment is operated with Virtual User
It is to further illustrate the terminal after the virtual events group that is finished, deletes the virtual drive equipment, and pass through
USB sends test result to test result data storehouse, to generate the detailed process of the statistics of the test result.
A kind of stability of a system method of testing of Virtual User operation, including:
S200:The pseudo operation event group for pre-setting is received by the virtual drive equipment;
Corresponding pseudo operation event group is pre-set, by wireless network transmissions, USB transmission, Bluetooth transmission.
The Action Events group is touch event, key-press event, fingerprint recognition event, motion event, light sensation event, sound
The combination of at least one or more in pickup event.
S201:Report the Action Events of the pseudo operation event group;
Virtual drive equipment certain reports rule or by necessarily reporting regular random to report the void according to what is pre-set
Intend the Action Events of Action Events group to terminal, terminal receives the pseudo operation event group of virtual drive equipment upload
Afterwards, the operation of pseudo operation event group is performed according to the agendum for setting.
S202:Judgement reports whether the result produced after the Action Events meets the requirements, and records the result;
Reported described in terminal execution in operating process, while judging whether system reports an error, the phase that reports an error is recorded if reporting an error
Pass information and capture screen display interface, and related system running state information is preserved, then automatically continue execution remaining virtual
Action Events group task, untill task is completed, or reports an error next time, such as produces and reports an error next time, then repeat above-mentioned
Step, untill task is completed.
S203:Delete the virtual drive equipment;
Terminal is finished pseudo operation event group task, after obtaining the test result of this test, with according to pre-setting
Instruction, judge whether to be automatically deleted the virtual drive equipment and pseudo operation event group.As test result does not have mistake, then
It is automatically deleted the virtual drive equipment and pseudo operation event group;As test result is wrong, with according to the instruction for pre-setting
It is not automatically deleted the virtual drive equipment and pseudo operation event group then, or is automatically deleted the virtual drive equipment and virtual
Action Events group.
S204:The terminal sends test result by USB to test result data storehouse, to generate the test result
Statistics;
Wherein, it can be disk of the terminal by the computer of USB that test result data storehouse is, or storage is in terminal
By the disk of the server where the computer of USB, it is also possible to which other for being stored in that terminal connected by the computer of USB can
It is long-term stored at that computer is interior, organized, sharable data acquisition system.
In sum, the system bottom in terminal installs the virtual drive equipment for reporting pseudo operation event;In advance
It is stability of a system test assignment to set pseudo operation event group and automatic test logic rules, and stability of a system test is appointed
Business group is uploaded to terminal by virtual drive equipment;Terminal receives execution system stability after the stability of a system test assignment
Test assignment, after obtaining the test result of this test, judges whether to be automatically deleted the virtual drive according to advance setting
Equipment and pseudo operation event group, afterwards the terminal by USB to test result data storehouse send test result, to generate
State the statistics of test result.Through the above way, analog subscriber true operation is more specifically embodied, system is carried out surely
The whole process of qualitative test, while realizing the whole process of automatic test, reduces the artificial participation in test process, section
About manual testing's time, improve the efficiency of test process.
Fig. 3 is referred to, it is the structural representation of the stability of a system test system embodiment of Virtual User operation of the present invention
Figure, the equipment can be used for the stability of a system test side that a kind of Virtual User is operated for implementing to be proposed in above-described embodiment, hold
Carry a kind of stability of a system test system of Virtual User operation.Specifically:
The equipment includes computer 300 and multiple terminal equipment 301 and 302.
Be provided with the computer 300 USB interface for realize computer 300 and multiple terminal equipment 301 and 302 it
Between data report.
Terminal device 301 and 302:The multiple terminal equipment 301 and 302, refers to and is mounted with android system or is based on
Android system exploitation flavor, such as intelligent terminal of MIUI systems, and be loaded with other can be suitable for this survey
The system equipment terminal of method for testing.Multiple terminal equipment 301 and 302 is connected by USB interface with computer 300, before can running
State the stability of a system method of testing any embodiment of Virtual User operation.
Fig. 4 is referred to, Fig. 3 is the structural representation of terminal embodiment shown in the present invention, and the structure can perform above-mentioned side
In method the step of the stability of a system test system of Virtual User operation.Related content is referred in the above method specifically
It is bright, no longer go to live in the household of one's in-laws on getting married chat herein.
In the present embodiment, the processing unit includes:Processor 401 and communication interface 402.
Instruction that processor 401 is performed and the message that receives etc., the system that can run aforementioned virtual user operation is steady
Qualitative test method any embodiment.
Communication interface 402 is used for the data transfer of computer and terminal room.
One of ordinary skill in the art will appreciate that realizing that all or part of step of above-described embodiment can be by hardware
Do not complete, it is also possible to instruct the hardware of correlation to complete by program, the program can be stored in a computer-readable storage medium
In matter, storage medium can be including memory, disk or CD etc..
Embodiments of the present invention are the foregoing is only, the scope of the claims of the invention is not thereby limited, it is every using this
Equivalent structure or equivalent flow conversion that description of the invention and accompanying drawing content are made, or directly or indirectly it is used in other correlations
Technical field, is included within the scope of the present invention.
Claims (11)
1. a kind of program stability test method that Virtual User is operated, it is characterised in that including:
The virtual drive equipment for reporting pseudo operation event is installed in the system bottom of terminal;
The pseudo operation event group for pre-setting is received by the virtual drive equipment;
Report the Action Events of the pseudo operation event group;
Judgement reports whether the result produced after the Action Events meets the requirements, and records the result.
2. method according to claim 1, it is characterised in that
The Action Events for reporting the pseudo operation event group include:
The Action Events that are random or reporting the pseudo operation event group in a predetermined order.
3. the stability of a system method of testing that Virtual User according to claim 1 is operated, it is characterised in that
The Action Events group is touch event, key-press event, fingerprint recognition event, motion event, light sensation event, voice pickup
The combination of at least one or more in event.
4. the method according to any one of claims 1 to 3, it is characterised in that
The pseudo operation event group pre-set by virtual drive equipment reception is included:
Received from the pseudo operation event pre-set described in USB interface or server by the virtual drive equipment.
5. method according to claim 4, it is characterised in that
Before the Action Events for reporting the pseudo operation event group, including:
After the terminal receives the pseudo operation event for pre-setting, the pseudo operation event pre-set described in preservation.
6. the method according to any one of claims 1 to 3, it is characterised in that it is described record the result after, also wrap
Include:
Delete the virtual drive equipment.
7. the method according to any one of claims 1 to 3, it is characterised in that it is described record the result after, also wrap
Include:
The terminal sends test result by USB to test result data storehouse, to generate the statistics of the test result.
8. the stability of a system method of testing that Virtual User according to claim 1 is operated, it is characterised in that the system
Stability test is the stability of a system and compatibility test.
9. the stability of a system test system that a kind of Virtual User is operated, it is characterised in that including:
Test equipment;
Terminal, the virtual drive equipment for reporting pseudo operation event is installed in the system bottom of the terminal;
Wherein, the terminal receives the pseudo operation event group for pre-setting by the virtual drive equipment, processes the void
Intend the Action Events of Action Events group, finally judge whether the result produced after the treatment Action Events meets the requirements,
And record the result.
10. system according to claim 9, it is characterised in that
The Action Events for reporting the pseudo operation event group include:
The Action Events that are random or reporting the pseudo operation event group in a predetermined order.
A kind of 11. terminals, it is characterised in that including:
Processor, memory and communication interface, the memory and the communication interface couple the processor;
The processor installs the virtual drive equipment for reporting pseudo operation event in the system bottom of the terminal;
And the pseudo operation event group for pre-setting is received by the virtual drive equipment, process the pseudo operation event group
The Action Events, finally judge whether the result produced after the treatment Action Events meets the requirements, and record the knot
Really.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611187069.5A CN106776325A (en) | 2016-12-20 | 2016-12-20 | A kind of stability of a system method of testing and system, terminal of Virtual User operation |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611187069.5A CN106776325A (en) | 2016-12-20 | 2016-12-20 | A kind of stability of a system method of testing and system, terminal of Virtual User operation |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106776325A true CN106776325A (en) | 2017-05-31 |
Family
ID=58896307
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611187069.5A Withdrawn CN106776325A (en) | 2016-12-20 | 2016-12-20 | A kind of stability of a system method of testing and system, terminal of Virtual User operation |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106776325A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110990283A (en) * | 2019-12-04 | 2020-04-10 | 中国直升机设计研究所 | Method for automatically testing robustness of airborne display and control software |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2787443A1 (en) * | 2013-04-03 | 2014-10-08 | Ricoh Company, Ltd. | System and method of testing a software application |
CN105320598A (en) * | 2015-11-24 | 2016-02-10 | 广州华多网络科技有限公司 | Software testing method and device |
CN105893234A (en) * | 2014-12-30 | 2016-08-24 | 伊姆西公司 | Method for software testing and computing device |
-
2016
- 2016-12-20 CN CN201611187069.5A patent/CN106776325A/en not_active Withdrawn
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2787443A1 (en) * | 2013-04-03 | 2014-10-08 | Ricoh Company, Ltd. | System and method of testing a software application |
CN105893234A (en) * | 2014-12-30 | 2016-08-24 | 伊姆西公司 | Method for software testing and computing device |
CN105320598A (en) * | 2015-11-24 | 2016-02-10 | 广州华多网络科技有限公司 | Software testing method and device |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110990283A (en) * | 2019-12-04 | 2020-04-10 | 中国直升机设计研究所 | Method for automatically testing robustness of airborne display and control software |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10853232B2 (en) | Adaptive system for mobile device testing | |
CN108566323B (en) | T-Box automated testing method and system | |
CN104765678B (en) | The method and device tested the application on mobile terminal device | |
CN101175284B (en) | Function testing method of portable electronic apparatus | |
CN112333057B (en) | Intelligent household equipment distribution network testing method and device, executive machine and storage medium | |
CN111897724B (en) | Automatic testing method and device suitable for cloud platform | |
CN106776294B (en) | Automatic android mobile phone testing method and system | |
CN111124919A (en) | User interface testing method, device, equipment and storage medium | |
CN102523475B (en) | Testing method and device for electronic products, and television set | |
CN106933729A (en) | A kind of method of testing and system based on cloud platform | |
CN105338110A (en) | Remote debugging method, platform and server | |
CN105426298A (en) | ADB (Android debug bridge)-based software test method and system | |
CN110895509B (en) | Test processing method and device, electronic equipment and storage medium | |
CN106445764A (en) | Method for realizing automatic testing of stability of android facility | |
CN103455403A (en) | Testing method and device | |
CN109597653A (en) | Method, BIOS and the BMC of BIOS and BMC command interaction | |
CN103729293A (en) | GUI testing method based on UML activity diagrams | |
CN111581005A (en) | Terminal repairing method, terminal and storage medium | |
CN110750453A (en) | HTML 5-based intelligent mobile terminal testing method, system, server and storage medium | |
CN113064816B (en) | Testing device and testing method for programmable logic device software | |
CN106776325A (en) | A kind of stability of a system method of testing and system, terminal of Virtual User operation | |
US20230367936A1 (en) | Verification method, electronic device and storage medium | |
CN111026651A (en) | Test method, test device, storage medium and electronic equipment | |
CN115002736A (en) | Low-power-consumption Bluetooth test method, device, system, test equipment and storage medium | |
CN103019897A (en) | System and method for managing test of substrate management controller |
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 | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20170531 |
|
WW01 | Invention patent application withdrawn after publication |