CN105868100A - Android system-based automatic test method and device - Google Patents
Android system-based automatic test method and device Download PDFInfo
- Publication number
- CN105868100A CN105868100A CN201510971726.4A CN201510971726A CN105868100A CN 105868100 A CN105868100 A CN 105868100A CN 201510971726 A CN201510971726 A CN 201510971726A CN 105868100 A CN105868100 A CN 105868100A
- Authority
- CN
- China
- Prior art keywords
- test
- unit
- operational order
- information
- software
- 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
- 238000010998 test method Methods 0.000 title abstract description 3
- 238000012360 testing method Methods 0.000 claims abstract description 240
- 238000000034 method Methods 0.000 claims abstract description 36
- 230000001143 conditioned effect Effects 0.000 claims description 17
- 238000005516 engineering process Methods 0.000 claims description 17
- 230000007547 defect Effects 0.000 claims description 11
- 239000003550 marker Substances 0.000 claims description 5
- 238000000151 deposition Methods 0.000 claims 1
- 230000006870 function Effects 0.000 description 10
- 230000008569 process Effects 0.000 description 10
- 238000013461 design Methods 0.000 description 4
- 230000004044 response Effects 0.000 description 3
- 230000006399 behavior Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000008439 repair process Effects 0.000 description 1
- 238000013519 translation Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
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
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)
- Debugging And Monitoring (AREA)
Abstract
The invention discloses an android system-based automatic test method. The method comprises the following steps: generating an operation instruction for to-be-tested software according to a pre-received test case; carrying out a corresponding operation on the to-be-tested software according to the operation instruction; receiving output information output by the to-be-tested software after responding to the operation; creating a test report according to the output information. The invention furthermore discloses an android system-based automatic test device. Compared with the prior art, the method and device disclosed in the invention can be used for realizing the automatic test of software when the authority of the android system is limited, so that the software test efficiency can be improved, and the correctness of the test result can be improved.
Description
Technical field
The present invention relates to technical field of measurement and test, more specifically, relate to a kind of automation based on android system
Method of testing and device.
Background technology
Software is to use program language to work out the operation instrument obtained, and in order to ensure that software is properly functioning, and ensures
Getting a desired effect during operation, before coming into operation, generally function and performance to software is tested, to send out
Existing program error, weighs software quality, and whether it being disclosure satisfy that, design requirement is estimated.In view of software does not has
Concrete physical aspect, can only understand its function, characteristic and quality, therefore, common test by operation conditions
Method is by operating software, the actual output result under the conditions of checking every kind and expection in corresponding operating system-based
The difference of result, thus verify and confirm function and the performance of software.
Concrete, after software programming completes, tester uses according to function and the service condition design test of software
Example, wherein, test case includes testing the information such as content, test condition and expected results.Complete test case
After design, operating system based on software builds test environment, and converts test cases to test script, passes through
Testing results script obtains actual output result.Contrast reality output result and expected results, and arrange the difference of the two
Form test report, in order to the problem that developer exists according to the content fixed software of test report.
According to foregoing description, software test should be carried out based on the operating system running software, and Android
System is provided with strict operating right, builds the operation such as test environment and testing results script, in android system
Cannot run in the authority that can authorize at all, therefore, when test is applied to the software of android system, be only capable of
Enough operations on software one by one by test case by the way of artificial, and tied by manual analysis, arrangement reality output
Really, form test report, thus cause testing efficiency low, and the accuracy of test result is the most poor.
Summary of the invention
In view of this, a kind of automated testing method based on android system and dress are embodiments provided
Putting, it is possible to solve owing to authority limits, the testing efficiency using manual operation test software to cause is low, test result
The problem of poor accuracy.
First aspect, embodiments provides a kind of automated testing method based on android system, including:
The operational order of software under testing is acted on according to the Test cases technology received in advance;According to described operational order to described to be measured
Software performs corresponding operation;Receive the output information after described software under testing responds described operation;According to described output information
Create test report.
Preferably, the Test cases technology that described basis receives in advance acts on the operational order of software under testing, including: obtain
Take the control property of operational controls corresponding to described test case;The operation of described operational controls is determined according to described control property
Method and control mark;Generate the pseudo operation instruction matched with described method of operating and described control mark.
Preferably, described execution described software under testing according to described operational order operates accordingly, including: treat from described
Survey and the program of software is searched described control mark;Perform with described in functional area determined by described control mark
The corresponding pseudo operation of operational order.
Preferably, described execution described software under testing according to described operational order operates accordingly, including: according to described
Control mark determines the positional information that described control is current;Perform and described operation in described station location marker defined location
Instruct corresponding pseudo operation.
Preferably, described according to described output information creating test report, including: read relative with described output information
The standard information answered;Export information and described standard information described in computing, obtain the residual quantity information of the two;Judge described
It is pre-conditioned whether residual quantity information meets;If described residual quantity information meets described pre-conditioned, then described test is used
The test result of example is labeled as normal operation;If described residual quantity information does not meets described pre-conditioned, then by described survey
The test result of example on probation is labeled as existing defects.
Preferably, before the Test cases technology received in advance in described basis acts on the operational order of software under testing, also
Including: receive the scene use-case of described test case;Store described scene use-case according to preset format, obtain described survey
Example on probation.
Second aspect, the embodiment of the present invention additionally provides a kind of automatic test device based on android system,
Including: generation module, for acting on the operational order of software under testing according to the Test cases technology received in advance;Perform
Module, performs to operate accordingly to described software under testing for the operational order generated according to described generation module;Receive mould
Block, responds the output information after described execution module performs operation for receiving described software under testing;Creation module, for root
The output information creating test report received according to described receiver module.
Preferably, described generation module includes acquiring unit, determines unit and signal generating unit, wherein, and described acquiring unit,
For obtaining the control property of operational controls corresponding to described test case;Described determine unit, for belonging to according to described control
Property determine the method for operating of described operational controls and control mark;Described signal generating unit, for generate with described method of operating and
The pseudo operation instruction that described control mark matches.
Preferably, described execution module includes searching unit and performance element, wherein, described lookup unit, for from institute
State and the program of software under testing is searched described control mark;Described performance element, for being determined in described control mark
Functional area in perform pseudo operation corresponding with described operational order.
Preferably, described determine unit, be additionally operable to determine, according to described control mark, the positional information that described control is current;
Described performance element, is additionally operable to perform virtual behaviour corresponding with described operational order in described station location marker defined location
Make.
Preferably, described creation module includes reading unit, arithmetic element, judging unit and indexing unit, wherein,
Described reading unit, for reading the standard information corresponding with described output information;Described arithmetic element, is used for transporting
Calculate described output information and described standard information, obtain the residual quantity information of the two;Described judging unit, is used for judging institute
State whether residual quantity information meets pre-conditioned;Described indexing unit, for meeting described default bar in described residual quantity information
During part, the test result of described test case is labeled as normal operation;Described indexing unit, is additionally operable in described difference
Amount information do not meet described pre-conditioned time, the test result of described test case is labeled as existing defects.
Preferably, also include memory module, wherein, described receiver module, be additionally operable to receive the field of described test case
Scape use-case;Described memory module, for storing, according to preset format, the scene use-case that described receiver module is received,
To described test case.
From above technical scheme, the automatic test based on android system that the embodiment of the present invention is provided
Method and device, after receiving the test case pre-entered, acts on the behaviour of software under testing according to Test cases technology
Instruct, and according to test case, software under testing is performed corresponding operation, then, after receiving software under testing response operation
Output information, according to output information creating test report.It can be seen that " generation operational order " during Gai, " to be measured
Software operates ", " receive output information " and the authority involved by operation of " establishment test report ", be Android
The authority that system can authorize.That is, the technical scheme of the embodiment of the present invention, the power needed for each step of test process
Limit, all in the authority that android system can authorize, thus compared with prior art, in android system
In the case of authority limits, the technical scheme of the embodiment of the present invention, it is possible to realize the automatic test of software, can not only
Enough improve the efficiency of software test, but also the accuracy of test result can be improved.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be in embodiment
The required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is only the one of the present invention
A little embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to root
Other accompanying drawing is obtained according to these accompanying drawings.Shown in accompanying drawing, above and other purpose, feature and the advantage of the present invention
To become apparent from.The part that reference instruction identical in whole accompanying drawings is identical.The most deliberately by actual size etc.
Proportional zoom draws accompanying drawing, it is preferred that emphasis is illustrate the purport of the present invention.
The method flow diagram of the automated testing method based on android system that Fig. 1 provides for the embodiment of the present invention;
The structural representation of the automatic test device based on android system that Fig. 2 provides for the embodiment of the present invention.
Detailed description of the invention
It is known that android system is run based on linux kernel, and Android with Linux is respectively arranged with
Strict safety and authority mechanism.Wherein, linux system authority refers to the access to related system file and right of execution
Limit, only user or the user of system level organizes and just has this authority.And run in android system
The program file of APP (Application, application program), substantially runs on a virtual machine, therefore, and corresponding power
Limit is the authority of android system, also cannot perform even if getting root authority and access system file.But,
Software test is mainly based upon the performance of operating system to test function and the performance of software, cause building test frame with
And test the processes such as the software compatibility with system, need to access and perform system file, owing to this process is by authority
Restriction, cause automatic test based on android system to perform, thus propose the embodiment of the present invention
Technical scheme.
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear,
Complete description, it is clear that described embodiment is only a part of embodiment of the present invention rather than whole enforcement
Example.Based on the embodiment in the present invention, those of ordinary skill in the art are obtained under not making creative work premise
The every other embodiment obtained, broadly falls into the scope of protection of the invention.
Under conditions of limiting in Android system authority, it is achieved the automatic test of software, the present invention implements
Example is provided with test platform, the authority arrived used in this test platform running, only android system level
Authority, be not related to the authority of linux system level, therefore, be capable of automation based on android system and survey
Examination.Wherein, test platform performs the description of the process embodiment as described below tested.
Refer to the automated testing method based on android system that Fig. 1, Fig. 1 provide for the embodiment of the present invention
Method flow diagram, said method comprising the steps of:
Step S101: act on the operational order of software under testing according to the Test cases technology received in advance.
Wherein, before test, test platform being installed to intelligent terminal in advance, described test platform is technology people
The APP for automatic test that member develops in advance.It is noted that owing to the authority of android system acquiescence is,
APP, without other APP of any limiting operation, when APP needs to operate other APP, can apply for corresponding authority.
Therefore, when installing test platform, system can detect the authority of test platform request, and distributes for test platform according to request
Corresponding authority.
Additionally, before test, tester previously according to the operation scenario design test case of software under testing, for ease of
Describing, the embodiment of the present invention is referred to as scene use-case.Wherein, scene use-case can include testing content, test condition and treating
Survey the expected results that software runs according to test condition.In order to record scene use-case, provide test foundation for automatic test,
Test platform can receive scene use-case according to certain format, and is translated into the program language that test platform is capable of identify that,
Using as test case.It should be noted that test platform can be by the test content after form storage translation, test-strips
Part and expected results, in order to safeguard the corresponding relation of three.
In order to ensure test operating process in rights that have been granted, the technical scheme of the embodiment of the present invention, by treating
Survey software carries out pseudo operation and performs test, and therefore, test platform needs corresponding each Test cases technology operational order,
And the operational order generated and the control acted on adapt, such as, if " submitting to " or " transmission " class
Button control, then operational order is virtual click operational order;If the control of text class, then perform input corresponding
The pseudo operation instruction of content.
According to the relation of operational order Yu control, concrete, first test platform can obtain this from test case and survey
According to control property, the control property of example respective operations control on probation, determines that the method for operating of this control and control identify, then,
Can identify according to the method for operating of control and control and generate should the pseudo operation instruction of control.
It is pointed out that the software under testing described in this programme, can be application software based on android system or
Person's systems soft ware, this programme is without limitation.
From the description of this step, this programme, can in android system by arranging third-party testing software
In the extent of competence authorized, test case is converted to pseudo operation instruction, thus provides technology to prop up for automatic test
Hold.
Step S102: perform to operate accordingly to described software under testing according to described operational order.
Wherein, according to foregoing description, operational order is generated by test platform, and operational order respective operations
Being software under testing, owing to test platform and software under testing are separate two programs, test platform cannot directly be adjusted
With operational order, software under testing is performed pseudo operation, therefore, in this programme, software under testing is performed pseudo operation
Time, can be by calling API (Application Programming Interface, application programming interface)
Software under testing is performed pseudo operation.The process of pseudo operation is performed, for people in the art by calling api interface
Technology known to Yuan, here is omitted for the embodiment of the present invention.
It should be noted that control can be divided into two classes, the below mode of operation to two class controls according to mode of operation
Illustrate respectively.
When the mode of operation of control is input operation, first test platform reads the program of software under testing, and from treating
Survey and the program of software is searched corresponding control mark, after finding control mark, can according to control mark really
Determine the functional area of control, in the present embodiment, the namely region of input content, then, default content is write
Enter input area.
It should be noted that in the case of necessity, when performing virtual input operation, the form of preset content should meet
The requirement of control, such as, software under testing is mailbox, and corresponding control is " sender ", and carries out sending function
During conventionally test, then preset content should meet the form of email address, and should be legal email address.
Certainly, when testing other functions of mailbox to be measured, the input content meeting test condition can be set accordingly, this
Inventive embodiments the most no longer describes in detail.
If additionally, the mode of operation of control is clicking operation, test platform can determine this control according to control mark
Part shows the positional information on screen, then, performs virtual click operation at positional information defined location.Example
As, when control is the Play button, its mark includes " broadcasting " printed words, can determine by the way of coordinate
The position that the Play button shows on screen, and determined by position perform virtual click operation.
Scheme described in this step, by performing pseudo operation to software under testing, it is possible to complete in authorized authority
Full replacement, manually performs automation mechanized operation such that it is able to be greatly improved the efficiency of test, saves human resources.
Step S103: receive the output information after described software under testing responds described operation.
Wherein, after test platform performs pseudo operation to software under testing, software under testing is triggered and runs and produce fortune
Row result, if software under testing normal operation, then can send the output information of normal operation, run to test platform
Output information time normal could be arranged to identify " 1 " or other marks, and the embodiment of the present invention is without limitation;
If software under testing runs abnormal, then can send the error code of run-time error to test platform.Such as, survey is worked as
When trying the sending function of mailbox, if sending successfully, then can send mark " 1 " to test platform;If do not filled in
The email address of addressee, then mailer execution mistake, then send error code 550 to test platform.
It should be noted that owing to software under testing and test platform are separate software, thus software under testing to
When test platform sends output information, it is also possible to the communication interface calling android system realizes, such as, API connects
Mouthful.
Step S104: according to described output information creating test report.
Wherein, according to foregoing description, the scene use-case that test platform is received includes expection operation result,
When test platform receives after scene use-case, it is translated into and expects value corresponding to operation result or error code,
And this value or error code are recorded as the properly functioning standard information that should export.
Such as, during the sending function of test mailbox, test condition is sender and addressee is filled in correctly per capita, then
Expected test result should be normal transmission, then the standard information of this test case is translated as " 1 ";If test
Condition is that sender fills in correctly, and addressee fills in mistake or do not fills in, then, the operation knot of this test oracle
Fruit should be and sends unsuccessfully, and failure cause is addressee's mistake or does not exists, and the mistake generation that this type of mistake is corresponding
Code is 550, then, standard information corresponding for this test case can be recorded as 550 by test platform.Certainly,
Above are only a preferred exemplary of the present invention, if the software tested is other softwares, mark can be set accordingly
The content of calibration information.
Test platform, after receiving the output information of software under testing response pseudo operation, reads this output information pair
The standard information answered, and output information and standard information are carried out computing, obtain the residual quantity information of the two, it is judged that residual quantity
It is pre-conditioned whether information meets, if residual quantity information meets pre-conditioned, then it is assumed that the operation result of software under testing with
Expected results is identical, and the actual operating state under this test condition is normal, the test result of this test case is marked
For normal operation;If residual quantity information does not meets pre-conditioned, then it is assumed that the operation result of software under testing and expected results
Not being inconsistent, the operation conditions under this test condition is wrong, and relevant program exists mistake, by the test of this test case
Result queue is existing defects, and record has the test report of test result show to tester, in order to relevant
The part of existing defects is repaired by technical staff.
It should be noted that above-mentioned pre-conditioned can be residual quantity information equal to zero, or the absolute value of residual quantity information
Less than certain value, concrete, can be set according to demand, the embodiment of the present invention is without limitation.
Additionally, due to test report needs to show to person skilled, in order to person skilled is to be measured soft
The defect of part is repaired, and therefore, in the embodiment of the present invention, when test result is existing defects, can pass through word
The color of body, size or form, highlight this test result.Such as, the test result of normal operation makes
Using black font record, the test result of existing defects can use red font record such that it is able to prominent existence lacks
The test result fallen into, is more beneficial for person skilled and repairs defect.
Needed for the description of the present embodiment, the technical scheme of the embodiment of the present invention, each step of test process
Authority, all in the authority that android system can authorize, thus compared with prior art, at Android
In the case of System Privileges limits, the technical scheme of the embodiment of the present invention, it is possible to realize the automatic test of software, no
It is only capable of the efficiency improving software test, but also the accuracy of test result can be improved.
Corresponding with above-mentioned implementation method, the embodiment of the present invention additionally provide a kind of based on android system from
Dynamicization test device, refers to the automation based on android system that Fig. 2, Fig. 2 provide for the embodiment of the present invention
The structural representation of test device.
Described device includes: generation module 11, execution module 12, receiver module 13 and creation module 14, wherein,
Generation module 11, for acting on the operational order of software under testing according to the Test cases technology received in advance;Perform module
12, perform to operate accordingly to described software under testing for the operational order generated according to described generation module 11;Receive
Module 13, responds the output information after described execution module 12 performs operation for receiving described software under testing;Creation module
14, for the output information creating test report received according to described receiver module 13.
According to the description of above-described embodiment, in a specific embodiment, generation module 11 includes acquiring unit, really
Cell and signal generating unit, wherein, described acquiring unit, for obtaining the control of operational controls corresponding to described test case
Attribute;Described determine unit, for determining method of operating and the control mark of described operational controls according to described control property;
Described signal generating unit, for generating the pseudo operation instruction matched with described method of operating and described control mark.
In another embodiment, perform module 12 and specifically include lookup unit and performance element, wherein, described lookup
Unit, for searching described control mark from the program of described software under testing;Described performance element, for described
Pseudo operation corresponding with described operational order is performed in functional area determined by control mark.
It should be noted that on the basis of above-described embodiment, in another embodiment, described unit is determined, also
For determining, according to described control mark, the positional information that described control is current;Described performance element, is additionally operable to described
Station location marker defined location performs pseudo operation corresponding with described operational order.
Additionally, creation module 14 specifically includes reads unit, arithmetic element, judging unit and indexing unit, wherein,
Described reading unit, for reading the standard information corresponding with described output information;Described arithmetic element, is used for transporting
Calculate described output information and described standard information, obtain the residual quantity information of the two;Described judging unit, is used for judging institute
State whether residual quantity information meets pre-conditioned;Described indexing unit, for meeting described default bar in described residual quantity information
During part, the test result of described test case is labeled as normal operation;In another embodiment, described mark is single
Unit, be additionally operable to described residual quantity information do not meet described pre-conditioned time, the test result of described test case is marked
For existing defects.
On the basis of above-described embodiment, in another embodiment, described device also includes memory module, in this reality
Execute in example, receiver module 13, it is additionally operable to receive the scene use-case of described test case;Memory module, for according in advance
If form stores the scene use-case that described receiver module is received, obtain described test case.
In described device, the process that realizes of modules and the function of unit and effect refers to reality corresponding in said method
Existing process, does not repeats them here.
Summary, automated testing method based on android system that the embodiment of the present invention is provided and device,
After receiving the test case that pre-enters, act on the operational order of software under testing according to Test cases technology, and according to
Test case performs corresponding operation to software under testing, then, receives the output information after software under testing response operation, according to
Output information creating test report.It can be seen that " generation operational order ", " software under testing is operated " during Gai,
" receive output information " and the authority involved by operation of " establishment test report ", be android system and caned
The authority authorized.That is, the technical scheme of the embodiment of the present invention, the authority needed for each step of test process, all exist
In the authority that android system can authorize, thus compared with prior art, limit in Android system authority
In the case of, the technical scheme of the embodiment of the present invention, it is possible to realize the automatic test of software, can not only improve soft
The efficiency of part test, but also the accuracy of test result can be improved.
The above is only the detailed description of the invention of the present invention, it is noted that for the ordinary skill of the art
For personnel, under the premise without departing from the principles of the invention, it is also possible to make some improvements and modifications, these improve and
Retouching also should be regarded as protection scope of the present invention.
Claims (12)
1. an automated testing method based on android system, it is characterised in that including:
The operational order of software under testing is acted on according to the Test cases technology received in advance;
Perform to operate accordingly to described software under testing according to described operational order;
Receive the output information after described software under testing responds described operation;
According to described output information creating test report.
2. the method for claim 1, it is characterised in that the Test cases technology that described basis receives in advance is made
For the operational order of software under testing, including:
Obtain the control property of operational controls corresponding to described test case;
Method of operating and the control mark of described operational controls is determined according to described control property;
Generate the pseudo operation instruction matched with described method of operating and described control mark.
3. method as claimed in claim 1 or 2, it is characterised in that described treat described according to described operational order
Survey software and perform corresponding operation, including:
Described control mark is searched from the program of described software under testing;
Pseudo operation corresponding with described operational order is performed in functional area determined by described control mark.
4. method as claimed in claim 1 or 2, it is characterised in that described treat described according to described operational order
Survey software and perform corresponding operation, including:
The positional information that described control is current is determined according to described control mark;
Pseudo operation corresponding with described operational order is performed in described station location marker defined location.
5. the method for claim 1, it is characterised in that described according to described output information creating test report,
Including:
Read the standard information corresponding with described output information;
Export information and described standard information described in computing, obtain the residual quantity information of the two;
Judge whether described residual quantity information meets pre-conditioned;
If described residual quantity information meets described pre-conditioned, then it is labeled as the test result of described test case running
Normally;
If described residual quantity information does not meets described pre-conditioned, then it is labeled as depositing by the test result of described test case
In defect.
6. the method for claim 1, it is characterised in that at the Test cases technology that described basis receives in advance
Before acting on the operational order of software under testing, also include:
Receive the scene use-case of described test case;
Store described scene use-case according to preset format, obtain described test case.
7. an automatic test device based on android system, it is characterised in that including:
Generation module, for acting on the operational order of software under testing according to the Test cases technology received in advance;
Perform module, perform to grasp accordingly to described software under testing for the operational order generated according to described generation module
Make;
Receiver module, responds the output information after described execution module performs operation for receiving described software under testing;
Creation module, for the output information creating test report received according to described receiver module.
8. device as claimed in claim 7, it is characterised in that described generation module includes acquiring unit, determines unit
And signal generating unit, wherein,
Described acquiring unit, for obtaining the control property of operational controls corresponding to described test case;
Described determine unit, for determining method of operating and the control mark of described operational controls according to described control property;
Described signal generating unit, for generating the pseudo operation instruction matched with described method of operating and described control mark.
9. device as claimed in claim 7 or 8, it is characterised in that described execution module includes searching unit and execution
Unit, wherein,
Described lookup unit, for searching described control mark from the program of described software under testing;
Described performance element, for performing and described operational order phase in functional area determined by described control mark
The pseudo operation answered.
10. device as claimed in claim 7 or 8, it is characterised in that
Described determine unit, be additionally operable to determine, according to described control mark, the positional information that described control is current;
Described performance element, is additionally operable to perform corresponding with described operational order empty in described station location marker defined location
Intend operation.
11. devices as claimed in claim 7, it is characterised in that described creation module includes reading unit, computing list
Unit, judging unit and indexing unit, wherein,
Described reading unit, for reading the standard information corresponding with described output information;
Described arithmetic element, for exporting information and described standard information described in computing, obtains the residual quantity information of the two;
Described judging unit, is used for judging whether described residual quantity information meets pre-conditioned;
Described indexing unit, for described residual quantity information meet described pre-conditioned time, by the survey of described test case
Test result is labeled as normal operation;
Described indexing unit, be additionally operable to described residual quantity information do not meet described pre-conditioned time, by described test case
Test result be labeled as existing defects.
12. devices as claimed in claim 7, it is characterised in that also include memory module, wherein,
Described receiver module, is additionally operable to receive the scene use-case of described test case;
Described memory module, for storing, according to preset format, the scene use-case that described receiver module is received, obtains institute
State test case.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510971726.4A CN105868100A (en) | 2015-12-22 | 2015-12-22 | Android system-based automatic test method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510971726.4A CN105868100A (en) | 2015-12-22 | 2015-12-22 | Android system-based automatic test method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105868100A true CN105868100A (en) | 2016-08-17 |
Family
ID=56624179
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510971726.4A Pending CN105868100A (en) | 2015-12-22 | 2015-12-22 | Android system-based automatic test method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105868100A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106959921A (en) * | 2017-02-20 | 2017-07-18 | 百度在线网络技术(北京)有限公司 | Automatic test approach, terminal, platform and system |
CN108595320A (en) * | 2018-04-03 | 2018-09-28 | 新华三信息安全技术有限公司 | a kind of test method and device |
CN108664392A (en) * | 2018-03-19 | 2018-10-16 | 重庆小雨点小额贷款有限公司 | A kind of application testing method, device, terminal and storage medium |
CN109753435A (en) * | 2018-12-29 | 2019-05-14 | 广州云测信息技术有限公司 | A kind of method for testing software and device |
CN110837467A (en) * | 2019-10-30 | 2020-02-25 | 深圳开立生物医疗科技股份有限公司 | Software testing method, device and system |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1851667A (en) * | 2006-02-15 | 2006-10-25 | 华为技术有限公司 | Graphic user interface test method and system |
CN102053911A (en) * | 2010-12-30 | 2011-05-11 | 东莞宇龙通信科技有限公司 | Automated testing method and system based on Android and mobile terminal |
CN102521121A (en) * | 2011-11-18 | 2012-06-27 | 华为技术有限公司 | Page testing method and page testing device |
CN103049371A (en) * | 2012-11-07 | 2013-04-17 | 青岛海信传媒网络技术有限公司 | Testing method and testing device of Android application programs |
US20150058826A1 (en) * | 2013-08-26 | 2015-02-26 | The Trustees Of Columbia University In The City Of New York | Systems and methods for efficiently and effectively detecting mobile app bugs |
CN104461900A (en) * | 2014-12-19 | 2015-03-25 | 北京奇虎科技有限公司 | User interface testing method, center control server, test terminal and system |
CN105159833A (en) * | 2015-09-30 | 2015-12-16 | 努比亚技术有限公司 | Automatic testing device and method |
-
2015
- 2015-12-22 CN CN201510971726.4A patent/CN105868100A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1851667A (en) * | 2006-02-15 | 2006-10-25 | 华为技术有限公司 | Graphic user interface test method and system |
CN102053911A (en) * | 2010-12-30 | 2011-05-11 | 东莞宇龙通信科技有限公司 | Automated testing method and system based on Android and mobile terminal |
CN102521121A (en) * | 2011-11-18 | 2012-06-27 | 华为技术有限公司 | Page testing method and page testing device |
CN103049371A (en) * | 2012-11-07 | 2013-04-17 | 青岛海信传媒网络技术有限公司 | Testing method and testing device of Android application programs |
US20150058826A1 (en) * | 2013-08-26 | 2015-02-26 | The Trustees Of Columbia University In The City Of New York | Systems and methods for efficiently and effectively detecting mobile app bugs |
CN104461900A (en) * | 2014-12-19 | 2015-03-25 | 北京奇虎科技有限公司 | User interface testing method, center control server, test terminal and system |
CN105159833A (en) * | 2015-09-30 | 2015-12-16 | 努比亚技术有限公司 | Automatic testing device and method |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106959921A (en) * | 2017-02-20 | 2017-07-18 | 百度在线网络技术(北京)有限公司 | Automatic test approach, terminal, platform and system |
CN108664392A (en) * | 2018-03-19 | 2018-10-16 | 重庆小雨点小额贷款有限公司 | A kind of application testing method, device, terminal and storage medium |
CN108664392B (en) * | 2018-03-19 | 2019-08-06 | 重庆小雨点小额贷款有限公司 | A kind of application testing method, device, terminal and storage medium |
CN108595320A (en) * | 2018-04-03 | 2018-09-28 | 新华三信息安全技术有限公司 | a kind of test method and device |
CN109753435A (en) * | 2018-12-29 | 2019-05-14 | 广州云测信息技术有限公司 | A kind of method for testing software and device |
CN110837467A (en) * | 2019-10-30 | 2020-02-25 | 深圳开立生物医疗科技股份有限公司 | Software testing method, device and system |
CN110837467B (en) * | 2019-10-30 | 2024-04-16 | 深圳开立生物医疗科技股份有限公司 | Software testing method, device and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105868100A (en) | Android system-based automatic test method and device | |
CN104699616B (en) | The method of a kind of application test, Apparatus and system | |
CN109062817B (en) | Automatic testing method and system | |
CN106330593B (en) | Protocol detection method and device | |
CN104978270A (en) | Automatic software testing method and apparatus | |
CN103336696B (en) | The Oftware updating method of test instrunment and system | |
CN105138461A (en) | Interface testing method and device for application program | |
CN109766264A (en) | Method of calibration, device, computer equipment and the storage medium of interface parameters | |
CN108132876B (en) | Embedded software object code unit testing method based on injection mode | |
CN107656872A (en) | Method for testing software, device, equipment and computer-readable storage medium | |
CN105095083A (en) | Mobile phone interface screenshot test method and device used in Android system | |
CN106776350A (en) | The accurate method of testing and device of a kind of program | |
CN111813655A (en) | Embedded point testing method and device, embedded point management system and storage medium | |
CN109558328A (en) | A kind of test method of code coverage, system, device and readable storage medium storing program for executing | |
CN104615928A (en) | Metrological verification method and system and server | |
CN106407118B (en) | A kind of method and device of test user terminal | |
CN110888809B (en) | Risk prediction method and device for test task | |
CN109474822B (en) | Android television multi-language automatic testing method and device | |
US8412180B2 (en) | Method for generating a signal train which can be played back on a tester for testing a mobile radio | |
CN105653445A (en) | Implementation method capable of meeting DO-178C test result | |
CN111950231B (en) | BMC sensor information checking and comparing method and system | |
KR101862617B1 (en) | System of testing iot sensor for power facility management | |
CN108845932B (en) | Unit testing method and device of network library, storage medium and terminal | |
CN112346994A (en) | Test information correlation method and device, computer equipment and storage medium | |
CN103217942B (en) | Retrieval of measurement values, diagnosis information or device parameters |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20160817 |
|
WD01 | Invention patent application deemed withdrawn after publication |