CN104516812A - Method and device for testing software - Google Patents

Method and device for testing software Download PDF

Info

Publication number
CN104516812A
CN104516812A CN201310450584.8A CN201310450584A CN104516812A CN 104516812 A CN104516812 A CN 104516812A CN 201310450584 A CN201310450584 A CN 201310450584A CN 104516812 A CN104516812 A CN 104516812A
Authority
CN
China
Prior art keywords
runnable interface
software
predetermined
mentioned
operational order
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201310450584.8A
Other languages
Chinese (zh)
Inventor
吴英
李凌虹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201310450584.8A priority Critical patent/CN104516812A/en
Publication of CN104516812A publication Critical patent/CN104516812A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a method and a device for testing software; the method is realized by the following steps: acquiring a running interface screenshot during software testing; performing image identification on the running interface screenshot and confirming whether a preset operational element is included; if the running interface screenshot includes the preset operational element, issuing an operational command to the operational element in the running interface screenshot. The difficulty of hitting the target by completely random operation can be avoided by identifying the running interface screenshot during testing, confirming the preset operational element included in the screenshot and then issuing the operational command to the operational element; therefore, the stagnation behavior during automatic testing can be avoided and the software testing efficiency is improved.

Description

A kind of method for testing software and device
Technical field
The present invention relates to field of computer technology, particularly a kind of method for testing software and device.
Background technology
Software test (software testing) is the process using artificial or automatic means to run or test certain software, its object is to the difference checked the demand of its whether satisfied regulation or understand fully between expected results and actual result.Software test working contents is checking (verification) and confirms (validation), provides its concept respectively below:
Checking (verification) ensures that software correctly achieves a series of activities of some specific functions, namely ensures that software has done this event (Do it right) in the correct way and comprised following several part:
1, determine whether the product in a given stage in the software life cycle reaches the process of the demand that the last stage establishes.
2, the formal proof of program correctness, namely different forms theoretical proof program meets the process that design specification specifies.
3, comment all kinds of activities such as city, examination, test, inspection, audit, or whether some process, service or file etc. are judged with the demand of regulation is consistent and proposes report.
Confirm that (validation) is a series of activity and process, object wants to confirm the logical correctness of software in a given external environment condition.Namely ensure that software has done the thing (Do the rightthing) desired by you, comprise following several part:
1, staticly to confirm, not actual executive routine on computers, carried out the correctness of certifying software by artificial or process analysis.
2, dynamic validation, is analyzed by executive routine, the dynamic behaviour of test procedure, to confirm whether software has problems.
The object of software test is not only program test, the document that produces of each stage during software test should comprise whole software development, as requirements specification, High-level design document, detailed design document, the main object of certain software test or source program.
The content of what present specification related generally to is software automatic test, automatic test generally can adopt Software Testing Tool to realize, Software Testing Tool some simple problems of software can be made to be presented at intuitively in face of reader by some instruments, and tester can be made so better to find out the place of software error.Software Testing Tool is divided into automation software testing instrument and test and management instrument.The value that Software Testing Tool exists is to improve testing efficiency, replaces some manually to input with software.Test and management instrument is in order to multiplexing test case, improves the value of software test.A good Software Testing Tool and test and management instrument combine use will make Efficiency of Software Testing improve greatly.
Present specification relates generally to and departs from source code or the Black-box Testing to third party software, current general scheme adopts MTTF(mean time to failure, mean time between failures) interface of testing tool completely random ground application programs clicks for a long time, the operation such as to pull, the long playing collapse of statistical software, abnormal rate, thus the reliability and stability weighing software.
There are the following problems for above scheme: due in reliability testing process, exist some must preferentially click the control of operation, or even needed the sequence of operation of specifying.Such as: application program exists ejection prompting frame, ejection interface etc., now just can must close at ad-hoc location range of operation, but completely random ground carries out operating very difficult hit, causes automatically testing stagnation.Therefore, testing efficiency is lower.
Summary of the invention
Embodiments provide a kind of method for testing software and device, for improving Efficiency of Software Testing.
A kind of method for testing software, comprising:
Obtain the runnable interface sectional drawing in software test procedure;
Image recognition is carried out to described runnable interface sectional drawing, determines whether to comprise predetermined operation element;
If described runnable interface sectional drawing comprises predetermined operation element, then issue the operational order to the operation element in described runnable interface sectional drawing.
A kind of software testing device, comprising:
Sectional drawing acquiring unit, for obtaining the runnable interface sectional drawing in software test procedure;
Element determining unit, carries out image recognition for the described runnable interface sectional drawing obtained described sectional drawing acquiring unit, determines whether to comprise predetermined operation element;
Instruction issues unit, if determine that described runnable interface sectional drawing comprises predetermined operation element for described element determining unit, then issues the operational order to the operation element in described runnable interface sectional drawing.
As can be seen from the above technical solutions, the embodiment of the present invention has the following advantages: by the identification to the runnable interface sectional drawing in test process, determines that it comprises predetermined operation element, so just issues the operational order to operation element.Carry out with can avoiding completely random like this operating the problem being difficult to hit, thus avoid the stagnation behavior in automatic testing process, thus improve Efficiency of Software Testing.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly introduced, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is embodiment of the present invention method flow schematic diagram;
Fig. 2 is embodiment of the present invention method flow schematic diagram;
Fig. 3 is embodiment of the present invention apparatus structure schematic diagram;
Fig. 4 is embodiment of the present invention apparatus structure schematic diagram;
Fig. 5 is embodiment of the present invention software testing device structural representation;
Fig. 6 is embodiment of the present invention terminal structure schematic diagram.
Embodiment
In order to make the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, the present invention is described in further detail, and obviously, described embodiment is only a part of embodiment of the present invention, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making other embodiments all obtained under creative work prerequisite, belong to the scope of protection of the invention.
Embodiments provide a kind of method for testing software, as shown in Figure 1, comprising:
101: obtain the runnable interface sectional drawing in software test procedure;
In this step software test procedure, tested software can perform the various operations such as click, towing, system button, concrete test process may be different according to the difference of test purpose, and the concrete test process of the embodiment of the present invention to tested software will not limit.
The embodiment of the present invention additionally provides the obtain manner of runnable interface sectional drawing, specific as follows: the runnable interface sectional drawing in above-mentioned acquisition software test procedure comprises:
Be the cycle obtain runnable interface sectional drawing with the schedule time in software test procedure; Or,
Operation implementation in monitoring of software test process, after operation is finished, obtains runnable interface sectional drawing.
The present embodiment, the process of software test can be performed by the operational outfit of tested software, also can be performed by special testing apparatus.If the operational outfit of tested software performs the scheme of the present embodiment, so can be sent to control module after the acquisition of runnable interface sectional drawing and carry out (image recognition etc.) process of being correlated with; If performed the scheme of the present embodiment by special testing apparatus, so sectional drawing can perform sectional drawing by the operational outfit of tested software, the instruction of sectional drawing can be issued by above-mentioned special testing apparatus, also can be generated by the operational outfit of tested software.
Such as: in upper example, if performed the scheme of the present embodiment by the operational outfit of tested software, so above-mentioned be obtain runnable interface sectional drawing the cycle can be with the schedule time in software test procedure: the operational outfit of tested software is the cycle obtain runnable interface sectional drawing with the schedule time in software test procedure; Or: it is after the cycle obtaining the sectional drawing instruction of runnable interface sectional drawing that the operational outfit of tested software received with the schedule time in software test procedure, and the time of specifying with above-mentioned sectional drawing instruction is cycle acquisition runnable interface sectional drawing.
Again such as: in upper example, if performed the scheme of the present embodiment by the operational outfit of tested software, operation implementation in so above-mentioned monitoring of software test process, after operation is finished, obtaining runnable interface sectional drawing can be: the operation implementation in the operational outfit monitoring of software test process of tested software, after operation is finished, obtain runnable interface sectional drawing; Or the operational outfit of tested software receives the sectional drawing instruction of self-testing device transmission, obtain runnable interface sectional drawing; Above-mentioned sectional drawing instruction monitors the operation implementation in software test procedure in above-mentioned testing apparatus, and monitors after operation is finished and sent by above-mentioned testing apparatus.
Be presented above the acquisition scheme of two kinds of runnable interface sectional drawings, it will be understood by those skilled in the art that, triggering carries out sectional drawing to the runnable interface of tested software can also other mode, the embodiment of the present invention can not be carried out exhaustive to this, and concrete triggering mode does not affect the realization of the embodiment of the present invention, therefore the embodiment of the present invention will not limit this, and the citing of above preferred implementation also should not be construed as and limits the uniqueness of the embodiment of the present invention.
102: image recognition is carried out to above-mentioned runnable interface sectional drawing, determine whether to comprise predetermined operation element;
Above-mentioned predetermined operation element, it can be the predetermined element picture needing operation, in reliability testing process, such as there are some controls that must preferentially click or operate, or need to perform the sequence of operation of specifying, predetermined Operand can be used usually to determine, such as, can comprise: " determination ", " cancellation ", " closedown ", " next step ", " previous step " etc.It will be understood by those skilled in the art that concrete operation element is fixed according to concrete tested software, above citing is only the citing of conventional several conventional operation element, should not be construed as and limits the uniqueness of the embodiment of the present invention.
The embodiment of the present invention is also supplied to the specific implementation citing how determining whether to comprise scheduled operation element, as follows: above-mentioned image recognition to be carried out to above-mentioned runnable interface sectional drawing, determine whether that comprising predetermined operation element comprises: use predetermined operation element to perform template matches to above-mentioned runnable interface sectional drawing, determine whether to comprise predetermined operation element.
Above embodiment gives and adopts the mode of template matches to realize image recognition, thus determines whether runnable interface includes predetermined operation element.It will be appreciated by persons skilled in the art that the implementation of image recognition has a lot, above citing is based on software testing technology field, when operation element belongs to finite set, and a kind of preferred implementation.Adopt other scheme identification and judge whether to there is the realization that predetermined operation element does not affect the embodiment of the present invention, therefore above scheme should not be construed as and limits the uniqueness of the embodiment of the present invention.
103: if above-mentioned runnable interface sectional drawing comprises predetermined operation element, then issue the operational order to the operation element in above-mentioned runnable interface sectional drawing.
The present embodiment, by the identification to the runnable interface sectional drawing in test process, determines that it comprises predetermined operation element, so just issues the operational order to operation element.Carry out with can avoiding completely random like this operating the problem being difficult to hit, thus avoid the stagnation behavior in automatic testing process, thus improve Efficiency of Software Testing.
Because a runnable interface sectional drawing may exist the predetermined operation element of two or more (being namely greater than), the embodiment of the present invention additionally provides the solution occurring this kind of situation, specific as follows: if above-mentioned runnable interface sectional drawing comprises predetermined operation element be greater than one, above-mentioned issuing comprises the operational order of the operation element in above-mentioned runnable interface sectional drawing:
According to the priority of each operation element in above-mentioned runnable interface sectional drawing, issue operational order successively; Or, issue the operational order of each operation element in above-mentioned runnable interface sectional drawing and the execution priority of each operational order.
The scheme how above embodiment processes each operation element when being determined be there is multiple operation element by the mode of priority, the mode of above priority can realize the execution sequence respectively operating element when operating element, in order to realize the control to each operation element execution sequence, order transmit operation instruction can also be adopted, each operational order interval schedule time, be also fine.More than illustrate for adopting the scheme of mode interval time, the execution speed of operational order can be faster, and the efficiency of in other words software test will be higher.More than adopt two priority classes respectively to operate the scheme citing of the execution sequence of element as a preferred implementation, should not be construed as the unique restriction to the embodiment of the present invention.
The embodiment of the present invention additionally provides the optional implementation of the delivery plan of operational order, specific as follows: if above-mentioned runnable interface sectional drawing comprises predetermined operation element, also comprise: the coordinate of determination operation element in runnable interface sectional drawing; Above-mentioned issuing comprises the operational order of the operation element in above-mentioned runnable interface sectional drawing: issue the operational order to above-mentioned coordinate in above-mentioned runnable interface sectional drawing.
Above embodiment, by obtaining the coordinate of operation element, is directly carried this coordinate and the operational outfit of tested software is operated operation element in operational order.It will be appreciated by those skilled in the art that and be, because operation element is identified in runnable interface sectional drawing, how to realize instruction to operate on it, those skilled in the art can adopt different selection schemes according to different situations, and therefore operational order is not not limited only to adopt the mode of carrying coordinate to realize.Therefore above citing should not be construed as and limits the uniqueness of the embodiment of the present invention.
Reliability testing for cell phone software is illustrated by following examples.
For in the reliability testing process of cell phone software, need some control of priority service, or the demand of assigned operation control sequence, this method adopts the algorithm of stencil matching, the coordinate of the picture element of the control that can needs be found to operate from the sectional drawing of cell phone software current interface exactly, and the priority algorithm by presetting completes the operation to these controls.Refer to shown in Fig. 2, comprise the steps:
201: intercept in tested application program the picture needing the operation element operated.
This step can adopt the manual mode intercepted to carry out, and manual intercepting in tested application program needs the picture of the operation element operated to comprise: the picture such as " determination ", " cancellation ", " closedown ", " next step ", " previous step ".It will be understood by those skilled in the art that concrete operation element is fixed according to concrete tested software, above citing is only the citing of conventional several conventional operation element, should not be construed as and limits the uniqueness of the embodiment of the present invention.The picture of the operation element intercepted is used as template to be matched in subsequent step.
202: stability test performs test operation.
This step is the operational process of tested software in test process, and random key instrument generally can be used to perform test.
203: intercept the current interface images of cell phone software to PC(personal computer, personal computer) end.
This step is using random key instrument to perform in the process of test, intercepts the current interface images of cell phone software and be then sent to PC end.Follow-up coupling performs at PC end.
204:PC end performs stencil matching Algorithm Analysis interface sectional drawing and whether comprises Operand sketch map sheet, in this way, enters 205, otherwise enters 202.
205: if there is the picture of multiple operation element in the sectional drawing of Current software interface, the definition of priority can be carried out.Such as: click the priority of " determination " higher than click " closedown ".
Owing to not necessarily can there is the picture of multiple operation element, therefore, this step is optional step.
206: the coordinate points getting the picture element comprised in picture.
207: transmission carries the operational order of coordinate points to mobile phone, makes mobile phone carry out corresponding operating to tested Application Program Interface.
This method is by carrying out stencil matching to mobile phone software interface, and can accurately get these needs priority service, or the position of the control of assigned operation sequence and coordinate, realizes accurately clicking, and provides a kind of method promoting reliability testing efficiency.Such as, the closedown mode at cell phone software prompting frame, ejection interface has very strong general character, as the control such as " closedown ", " determination ", " cancellation ".By carrying out stencil matching in the sectional drawing of interface, finding these controls to carry out precise manipulation, avoiding occurring cannot closing prompting frame for a long time, ejecting interface, thus can Efficiency of Software Testing be promoted.
The embodiment of the present invention additionally provides a kind of software testing device, as shown in Figure 3, comprising:
Sectional drawing acquiring unit 301, for obtaining the runnable interface sectional drawing in software test procedure;
In software test procedure, tested software can perform the various operations such as click, towing, system button, and concrete test process may be different according to the difference of test purpose, and the concrete test process of the embodiment of the present invention to tested software will not limit.
Element determining unit 302, carries out image recognition for the above-mentioned runnable interface sectional drawing obtained above-mentioned sectional drawing acquiring unit 301, determines whether to comprise predetermined operation element;
Above-mentioned predetermined operation element, it can be the predetermined element picture needing operation, in reliability testing process, such as there are some controls that must preferentially click or operate, or need to perform the sequence of operation of specifying, predetermined Operand can be used usually to determine, such as, can comprise: " determination ", " cancellation ", " closedown ", " next step ", " previous step " etc.It will be understood by those skilled in the art that concrete operation element is fixed according to concrete tested software, above citing is only the citing of conventional several conventional operation element, should not be construed as and limits the uniqueness of the embodiment of the present invention.
Instruction issues unit 303, if determine that above-mentioned runnable interface sectional drawing comprises predetermined operation element for above-mentioned element determining unit 302, then issues the operational order to the operation element in above-mentioned runnable interface sectional drawing.
The present embodiment, by the identification to the runnable interface sectional drawing in test process, determines that it comprises predetermined operation element, so just issues the operational order to operation element.Carry out with can avoiding completely random like this operating the problem being difficult to hit, thus avoid the stagnation behavior in automatic testing process, thus improve Efficiency of Software Testing.
Alternatively, the embodiment of the present invention additionally provides the obtain manner of runnable interface sectional drawing, specific as follows: above-mentioned sectional drawing acquiring unit 301, for the schedule time being cycle acquisition runnable interface sectional drawing in software test procedure; Or the operation implementation in monitoring of software test process, after operation is finished, obtains runnable interface sectional drawing.
The present embodiment, the process of software test can be performed by the operational outfit of tested software, also can be performed by special testing apparatus.If the operational outfit of tested software performs the scheme of the present embodiment, so can be sent to control module after the acquisition of runnable interface sectional drawing and carry out (image recognition etc.) process of being correlated with; If performed the scheme of the present embodiment by special testing apparatus, so sectional drawing can perform sectional drawing by the operational outfit of tested software, the instruction of sectional drawing can be issued by above-mentioned special testing apparatus, also can be generated by the operational outfit of tested software.
Such as: in upper example, if performed the scheme of the present embodiment by the operational outfit of tested software, so above-mentioned be obtain runnable interface sectional drawing the cycle can be with the schedule time in software test procedure: the operational outfit of tested software is the cycle obtain runnable interface sectional drawing with the schedule time in software test procedure; Or: it is after the cycle obtaining the sectional drawing instruction of runnable interface sectional drawing that the operational outfit of tested software received with the schedule time in software test procedure, and the time of specifying with above-mentioned sectional drawing instruction is cycle acquisition runnable interface sectional drawing.
Again such as: in upper example, if performed the scheme of the present embodiment by the operational outfit of tested software, operation implementation in so above-mentioned monitoring of software test process, after operation is finished, obtaining runnable interface sectional drawing can be: the operation implementation in the operational outfit monitoring of software test process of tested software, after operation is finished, obtain runnable interface sectional drawing; Or the operational outfit of tested software receives the sectional drawing instruction of self-testing device transmission, obtain runnable interface sectional drawing; Above-mentioned sectional drawing instruction monitors the operation implementation in software test procedure in above-mentioned testing apparatus, and monitors after operation is finished and sent by above-mentioned testing apparatus.
Be presented above the acquisition scheme of two kinds of runnable interface sectional drawings, it will be understood by those skilled in the art that, triggering carries out sectional drawing to the runnable interface of tested software can also other mode, the embodiment of the present invention can not be carried out exhaustive to this, and concrete triggering mode does not affect the realization of the embodiment of the present invention, therefore the embodiment of the present invention will not limit this, and the citing of above preferred implementation also should not be construed as and limits the uniqueness of the embodiment of the present invention.
Alternatively, because a runnable interface sectional drawing may exist the predetermined operation element of two or more (being namely greater than), the embodiment of the present invention additionally provides the solution occurring this kind of situation, specific as follows: above-mentioned instruction issues unit 303, if determine that above-mentioned runnable interface sectional drawing comprises predetermined operation element and is greater than one for above-mentioned element determining unit 302, then according to the priority of each operation element in above-mentioned runnable interface sectional drawing, issue operational order successively; Or, issue the operational order of each operation element in above-mentioned runnable interface sectional drawing and the execution priority of each operational order.
The scheme how above embodiment processes each operation element when being determined be there is multiple operation element by the mode of priority, the mode of above priority can realize the execution sequence respectively operating element when operating element, in order to realize the control to each operation element execution sequence, order transmit operation instruction can also be adopted, each operational order interval schedule time, be also fine.More than illustrate for adopting the scheme of mode interval time, the execution speed of operational order can be faster, and the efficiency of in other words software test will be higher.More than adopt two priority classes respectively to operate the scheme citing of the execution sequence of element as a preferred implementation, should not be construed as the unique restriction to the embodiment of the present invention.
Further, the embodiment of the present invention additionally provides the optional implementation of the delivery plan of operational order, specific as follows: as shown in Figure 4, and said apparatus, also comprises:
For above-mentioned element determining unit 302, coordinate determining unit 401, if determine that above-mentioned runnable interface sectional drawing comprises predetermined operation element, the coordinate of determination operation element in runnable interface sectional drawing;
Above-mentioned instruction issues unit 303, for issuing the operational order to the coordinate that coordinate determining unit 401 above-mentioned in above-mentioned runnable interface sectional drawing is determined.
Above embodiment, by obtaining the coordinate of operation element, is directly carried this coordinate and the operational outfit of tested software is operated operation element in operational order.It will be appreciated by those skilled in the art that and be, because operation element is identified in runnable interface sectional drawing, how to realize instruction to operate on it, those skilled in the art can adopt different selection schemes according to different situations, and therefore operational order is not not limited only to adopt the mode of carrying coordinate to realize.Therefore above citing should not be construed as and limits the uniqueness of the embodiment of the present invention.
Alternatively, the embodiment of the present invention is also supplied to the specific implementation citing how determining whether to comprise scheduled operation element, as follows: above-mentioned element determining unit 302, for using predetermined operation element to perform template matches to above-mentioned runnable interface sectional drawing, determine whether to comprise predetermined operation element.
Above embodiment gives and adopts the mode of template matches to realize image recognition, thus determines whether runnable interface includes predetermined operation element.It will be appreciated by persons skilled in the art that the implementation of image recognition has a lot, above citing is based on software testing technology field, when operation element belongs to finite set, and a kind of preferred implementation.Adopt other scheme identification and judge whether to there is the realization that predetermined operation element does not affect the embodiment of the present invention, therefore above scheme should not be construed as and limits the uniqueness of the embodiment of the present invention.
The embodiment of the present invention additionally provides a kind of software testing device, as shown in Figure 5, comprising: receiver 501, transmitter 502, storer 503 and processor 504;
Wherein processor 504, for obtaining the runnable interface sectional drawing in software test procedure; Image recognition is carried out to above-mentioned runnable interface sectional drawing, determines whether to comprise predetermined operation element; If above-mentioned runnable interface sectional drawing comprises predetermined operation element, then issue the operational order to the operation element in above-mentioned runnable interface sectional drawing.
In this step software test procedure, tested software can perform the various operations such as click, towing, system button, concrete test process may be different according to the difference of test purpose, and the concrete test process of the embodiment of the present invention to tested software will not limit.
Above-mentioned predetermined operation element, it can be the predetermined element picture needing operation, in reliability testing process, such as there are some controls that must preferentially click or operate, or need to perform the sequence of operation of specifying, predetermined Operand can be used usually to determine, such as, can comprise: " determination ", " cancellation ", " closedown ", " next step ", " previous step " etc.It will be understood by those skilled in the art that concrete operation element is fixed according to concrete tested software, above citing is only the citing of conventional several conventional operation element, should not be construed as and limits the uniqueness of the embodiment of the present invention.
The present embodiment, by the identification to the runnable interface sectional drawing in test process, determines that it comprises predetermined operation element, so just issues the operational order to operation element.Carry out with can avoiding completely random like this operating the problem being difficult to hit, thus avoid the stagnation behavior in automatic testing process, thus improve Efficiency of Software Testing.
Alternatively, the embodiment of the present invention additionally provides the obtain manner of runnable interface sectional drawing, specific as follows: above-mentioned processor 504, also comprise for the runnable interface sectional drawing obtained in software test procedure: for the schedule time being cycle acquisition runnable interface sectional drawing in software test procedure; Or, for the operation implementation in monitoring of software test process, after operation is finished, obtain runnable interface sectional drawing.
The present embodiment, the process of software test can be performed by the operational outfit of tested software, also can be performed by special testing apparatus.If the operational outfit of tested software performs the scheme of the present embodiment, so can be sent to control module after the acquisition of runnable interface sectional drawing and carry out (image recognition etc.) process of being correlated with; If performed the scheme of the present embodiment by special testing apparatus, so sectional drawing can perform sectional drawing by the operational outfit of tested software, the instruction of sectional drawing can be issued by above-mentioned special testing apparatus, also can be generated by the operational outfit of tested software.
Such as: in upper example, if performed the scheme of the present embodiment by the operational outfit of tested software, so above-mentioned be obtain runnable interface sectional drawing the cycle can be with the schedule time in software test procedure: the operational outfit of tested software is the cycle obtain runnable interface sectional drawing with the schedule time in software test procedure; Or: it is after the cycle obtaining the sectional drawing instruction of runnable interface sectional drawing that the operational outfit of tested software received with the schedule time in software test procedure, and the time of specifying with above-mentioned sectional drawing instruction is cycle acquisition runnable interface sectional drawing.
Again such as: in upper example, if performed the scheme of the present embodiment by the operational outfit of tested software, operation implementation in so above-mentioned monitoring of software test process, after operation is finished, obtaining runnable interface sectional drawing can be: the operation implementation in the operational outfit monitoring of software test process of tested software, after operation is finished, obtain runnable interface sectional drawing; Or the operational outfit of tested software receives the sectional drawing instruction of self-testing device transmission, obtain runnable interface sectional drawing; Above-mentioned sectional drawing instruction monitors the operation implementation in software test procedure in above-mentioned testing apparatus, and monitors after operation is finished and sent by above-mentioned testing apparatus.
Be presented above the acquisition scheme of two kinds of runnable interface sectional drawings, it will be understood by those skilled in the art that, triggering carries out sectional drawing to the runnable interface of tested software can also other mode, the embodiment of the present invention can not be carried out exhaustive to this, and concrete triggering mode does not affect the realization of the embodiment of the present invention, therefore the embodiment of the present invention will not limit this, and the citing of above preferred implementation also should not be construed as and limits the uniqueness of the embodiment of the present invention.
Alternatively, because a runnable interface sectional drawing may exist the predetermined operation element of two or more (being namely greater than), the embodiment of the present invention additionally provides the solution occurring this kind of situation, it is specific as follows: if above-mentioned runnable interface sectional drawing comprises predetermined operation element be greater than one, above-mentioned processor 504, for issuing, the operational order of the operation element in above-mentioned runnable interface sectional drawing is comprised: for the priority according to each operation element in above-mentioned runnable interface sectional drawing, issue operational order successively; Or, for issuing the operational order of each operation element in above-mentioned runnable interface sectional drawing and the execution priority of each operational order.
The scheme how above embodiment processes each operation element when being determined be there is multiple operation element by the mode of priority, the mode of above priority can realize the execution sequence respectively operating element when operating element, in order to realize the control to each operation element execution sequence, order transmit operation instruction can also be adopted, each operational order interval schedule time, be also fine.More than illustrate for adopting the scheme of mode interval time, the execution speed of operational order can be faster, and the efficiency of in other words software test will be higher.More than adopt two priority classes respectively to operate the scheme citing of the execution sequence of element as a preferred implementation, should not be construed as the unique restriction to the embodiment of the present invention.
Further, the embodiment of the present invention additionally provides the optional implementation of the delivery plan of operational order, specific as follows: if above-mentioned runnable interface sectional drawing comprises predetermined operation element, above-mentioned processor 504, also for the coordinate of determination operation element in runnable interface sectional drawing; So, above-mentioned issuing comprises the operational order of the operation element in above-mentioned runnable interface sectional drawing: issue the operational order to above-mentioned coordinate in above-mentioned runnable interface sectional drawing.
Above embodiment, by obtaining the coordinate of operation element, is directly carried this coordinate and the operational outfit of tested software is operated operation element in operational order.It will be appreciated by those skilled in the art that and be, because operation element is identified in runnable interface sectional drawing, how to realize instruction to operate on it, those skilled in the art can adopt different selection schemes according to different situations, and therefore operational order is not not limited only to adopt the mode of carrying coordinate to realize.Therefore above citing should not be construed as and limits the uniqueness of the embodiment of the present invention.
Alternatively, the embodiment of the present invention is also supplied to the specific implementation citing how determining whether to comprise scheduled operation element, as follows: above-mentioned processor 504, for carrying out image recognition to above-mentioned runnable interface sectional drawing, determine whether that comprising predetermined operation element comprises: for using predetermined operation element to perform template matches to above-mentioned runnable interface sectional drawing, determine whether to comprise predetermined operation element.
Above embodiment gives and adopts the mode of template matches to realize image recognition, thus determines whether runnable interface includes predetermined operation element.It will be appreciated by persons skilled in the art that the implementation of image recognition has a lot, above citing is based on software testing technology field, when operation element belongs to finite set, and a kind of preferred implementation.Adopt other scheme identification and judge whether to there is the realization that predetermined operation element does not affect the embodiment of the present invention, therefore above scheme should not be construed as and limits the uniqueness of the embodiment of the present invention.
The embodiment of the present invention additionally provides another kind of software testing device, and as shown in Figure 6, for convenience of explanation, illustrate only the part relevant to the embodiment of the present invention, concrete ins and outs do not disclose, and please refer to embodiment of the present invention method part.This device is for terminal, terminal can for comprising mobile phone, panel computer, PDA(Personal Digital Assistant, personal digital assistant), POS(Point of Sales, point-of-sale terminal), the terminal device arbitrarily such as vehicle-mounted computer, take terminal as mobile phone be example:
Shown in Fig. 6 is the block diagram of the part-structure of the mobile phone relevant to the terminal that the embodiment of the present invention provides.With reference to figure 6, mobile phone comprises: radio frequency (Radio Frequency, RF) parts such as circuit 610, storer 620, input block 630, display unit 640, sensor 650, voicefrequency circuit 660, Wireless Fidelity (wirelessfidelity, WiFi) module 670, processor 680 and power supply 690.It will be understood by those skilled in the art that the handset structure shown in Fig. 6 does not form the restriction to mobile phone, the parts more more or less than diagram can be comprised, or combine some parts, or different parts are arranged.
Concrete introduction is carried out below in conjunction with Fig. 6 each component parts to mobile phone:
RF circuit 610 can be used for receiving and sending messages or in communication process, the reception of signal and transmission, especially, after being received by the downlink information of base station, process to processor 680; In addition, the up data of design are sent to base station.Usually, RF circuit includes but not limited to antenna, at least one amplifier, transceiver, coupling mechanism, low noise amplifier (Low Noise Amplifier, LNA), diplexer etc.In addition, RF circuit 60 can also by radio communication and network and other devices communicatings.Above-mentioned radio communication can use arbitrary communication standard or agreement, include but not limited to global system for mobile communications (Global System ofMobile communication, GSM), general packet radio service (General Packet RadioService, GPRS), CDMA (Code Division Multiple Access, CDMA), Wideband Code Division Multiple Access (WCDMA) (Wideband Code Division Multiple Access, WCDMA), Long Term Evolution (Long Term Evolution, LTE), Email, Short Message Service (Short Messaging Service, SMS) etc.
Storer 620 can be used for storing software program and module, and processor 680 is stored in software program and the module of storer 620 by running, thus performs various function application and the data processing of mobile phone.Storer 620 mainly can comprise storage program district and store data field, and wherein, storage program district can store operating system, application program (such as sound-playing function, image player function etc.) etc. needed at least one function; Store data field and can store the data (such as voice data, phone directory etc.) etc. created according to the use of mobile phone.In addition, storer 620 can comprise high-speed random access memory, can also comprise nonvolatile memory, such as at least one disk memory, flush memory device or other volatile solid-state parts.
Input block 630 can be used for the numeral or the character information that receive input, and generation arranges with the user of mobile phone 600 and function controls the input of relevant key signals.Particularly, input block 630 can comprise contact panel 631 and other input equipments 632.Contact panel 631, also referred to as touch-screen, user can be collected or neighbouring touch operation (such as user uses any applicable object or the operations of annex on contact panel 631 or near contact panel 631 such as finger, stylus) thereon, and drive corresponding coupling arrangement according to the formula preset.Optionally, contact panel 631 can comprise touch detecting apparatus and touch controller two parts.Wherein, touch detecting apparatus detects the touch orientation of user, and detects the signal that touch operation brings, and sends signal to touch controller; Touch controller receives touch information from touch detecting apparatus, and converts it to contact coordinate, then gives processor 680, and the order that energy receiving processor 680 is sent also is performed.In addition, the polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave can be adopted to realize contact panel 631.Except contact panel 631, input block 630 can also comprise other input equipments 632.Particularly, other input equipments 632 can include but not limited to one or more in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, control lever etc.
Display unit 640 can be used for the various menus showing information or the information being supplied to user and the mobile phone inputted by user.Display unit 640 can comprise display panel 641, optionally, the forms such as liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode (Organic Light-EmittingDiode, OLED) can be adopted to configure display panel 641.Further, contact panel 631 can cover display panel 641, when contact panel 631 detects thereon or after neighbouring touch operation, send processor 680 to determine the type of touch event, on display panel 641, provide corresponding vision to export with preprocessor 680 according to the type of touch event.Although in figure 6, contact panel 631 and display panel 641 be as two independently parts to realize input and the input function of mobile phone, but in certain embodiments, can by integrated to contact panel 631 and display panel 641 and realize the input and output function of mobile phone.
Mobile phone 600 also can comprise at least one sensor 650, such as optical sensor, motion sensor and other sensors.Particularly, optical sensor can comprise ambient light sensor and proximity transducer, and wherein, ambient light sensor the light and shade of environmentally light can regulate the brightness of display panel 641, proximity transducer when mobile phone moves in one's ear, can cut out display panel 641 and/or backlight.As the one of motion sensor; accelerometer sensor can detect the size of all directions (are generally three axles) acceleration; size and the direction of gravity can be detected time static, can be used for identifying the application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating) of mobile phone attitude, Vibration identification correlation function (such as passometer, knock) etc.; As for mobile phone also other sensors such as configurable gyroscope, barometer, hygrometer, thermometer, infrared ray sensor, do not repeat them here.
Voicefrequency circuit 660, loudspeaker 661, microphone 662 can provide the audio interface between user and mobile phone.Voicefrequency circuit 660 can by receive voice data conversion after electric signal, be transferred to loudspeaker 661, by loudspeaker 661 be converted to voice signal export; On the other hand, the voice signal of collection is converted to electric signal by microphone 662, voice data is converted to after being received by voicefrequency circuit 660, after again voice data output processor 680 being processed, through RF circuit 610 to send to such as another mobile phone, or export voice data to storer 620 to process further.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user to send and receive e-mail by WiFi module 670, browse webpage and access streaming video etc., and its broadband internet wireless for user provides is accessed.Although Fig. 6 shows WiFi module 670, be understandable that, it does not belong to must forming of mobile phone 600, can omit in the scope of essence not changing invention as required completely.
Processor 680 is control centers of mobile phone, utilize the various piece of various interface and the whole mobile phone of connection, software program in storer 620 and/or module is stored in by running or performing, and call the data be stored in storer 620, perform various function and the process data of mobile phone, thus integral monitoring is carried out to mobile phone.Optionally, processor 680 can comprise one or more processing unit; Preferably, processor 680 accessible site application processor and modem processor, wherein, application processor mainly processes operating system, user interface and application program etc., and modem processor mainly processes radio communication.Be understandable that, above-mentioned modem processor also can not be integrated in processor 680.
Mobile phone 600 also comprises the power supply 690(such as battery of powering to all parts), preferably, power supply can be connected with processor 680 logic by power-supply management system, thus realizes the functions such as management charging, electric discharge and power managed by power-supply management system.
Although not shown, mobile phone 600 can also comprise camera, bluetooth module etc., does not repeat them here.
In embodiments of the present invention, the processor 680 included by this terminal also has following functions:
Obtain the runnable interface sectional drawing in software test procedure; Image recognition is carried out to above-mentioned runnable interface sectional drawing, determines whether to comprise predetermined operation element; If above-mentioned runnable interface sectional drawing comprises predetermined operation element, then issue the operational order to the operation element in above-mentioned runnable interface sectional drawing.
In this step software test procedure, tested software can perform the various operations such as click, towing, system button, concrete test process may be different according to the difference of test purpose, and the concrete test process of the embodiment of the present invention to tested software will not limit.
Above-mentioned predetermined operation element, it can be the predetermined element picture needing operation, in reliability testing process, such as there are some controls that must preferentially click or operate, or need to perform the sequence of operation of specifying, predetermined Operand can be used usually to determine, such as, can comprise: " determination ", " cancellation ", " closedown ", " next step ", " previous step " etc.It will be understood by those skilled in the art that concrete operation element is fixed according to concrete tested software, above citing is only the citing of conventional several conventional operation element, should not be construed as and limits the uniqueness of the embodiment of the present invention.
The present embodiment, by the identification to the runnable interface sectional drawing in test process, determines that it comprises predetermined operation element, so just issues the operational order to operation element.Carry out with can avoiding completely random like this operating the problem being difficult to hit, thus avoid the stagnation behavior in automatic testing process, thus improve Efficiency of Software Testing.
Alternatively, the embodiment of the present invention additionally provides the obtain manner of runnable interface sectional drawing, specific as follows: above-mentioned processor 608, also comprise for the runnable interface sectional drawing obtained in software test procedure: for the schedule time being cycle acquisition runnable interface sectional drawing in software test procedure; Or, for the operation implementation in monitoring of software test process, after operation is finished, obtain runnable interface sectional drawing.
The present embodiment, the process of software test can be performed by the operational outfit of tested software, also can be performed by special testing apparatus.If the operational outfit of tested software performs the scheme of the present embodiment, so can be sent to control module after the acquisition of runnable interface sectional drawing and carry out (image recognition etc.) process of being correlated with; If performed the scheme of the present embodiment by special testing apparatus, so sectional drawing can perform sectional drawing by the operational outfit of tested software, the instruction of sectional drawing can be issued by above-mentioned special testing apparatus, also can be generated by the operational outfit of tested software.
Such as: in upper example, if performed the scheme of the present embodiment by the operational outfit of tested software, so above-mentioned be obtain runnable interface sectional drawing the cycle can be with the schedule time in software test procedure: the operational outfit of tested software is the cycle obtain runnable interface sectional drawing with the schedule time in software test procedure; Or: it is after the cycle obtaining the sectional drawing instruction of runnable interface sectional drawing that the operational outfit of tested software received with the schedule time in software test procedure, and the time of specifying with above-mentioned sectional drawing instruction is cycle acquisition runnable interface sectional drawing.
Again such as: in upper example, if performed the scheme of the present embodiment by the operational outfit of tested software, operation implementation in so above-mentioned monitoring of software test process, after operation is finished, obtaining runnable interface sectional drawing can be: the operation implementation in the operational outfit monitoring of software test process of tested software, after operation is finished, obtain runnable interface sectional drawing; Or the operational outfit of tested software receives the sectional drawing instruction of self-testing device transmission, obtain runnable interface sectional drawing; Above-mentioned sectional drawing instruction monitors the operation implementation in software test procedure in above-mentioned testing apparatus, and monitors after operation is finished and sent by above-mentioned testing apparatus.
Be presented above the acquisition scheme of two kinds of runnable interface sectional drawings, it will be understood by those skilled in the art that, triggering carries out sectional drawing to the runnable interface of tested software can also other mode, the embodiment of the present invention can not be carried out exhaustive to this, and concrete triggering mode does not affect the realization of the embodiment of the present invention, therefore the embodiment of the present invention will not limit this, and the citing of above preferred implementation also should not be construed as and limits the uniqueness of the embodiment of the present invention.
Alternatively, because a runnable interface sectional drawing may exist the predetermined operation element of two or more (being namely greater than), the embodiment of the present invention additionally provides the solution occurring this kind of situation, it is specific as follows: if above-mentioned runnable interface sectional drawing comprises predetermined operation element be greater than one, above-mentioned processor 680, for issuing, the operational order of the operation element in above-mentioned runnable interface sectional drawing is comprised: for the priority according to each operation element in above-mentioned runnable interface sectional drawing, issue operational order successively; Or, for issuing the operational order of each operation element in above-mentioned runnable interface sectional drawing and the execution priority of each operational order.
The scheme how above embodiment processes each operation element when being determined be there is multiple operation element by the mode of priority, the mode of above priority can realize the execution sequence respectively operating element when operating element, in order to realize the control to each operation element execution sequence, order transmit operation instruction can also be adopted, each operational order interval schedule time, be also fine.More than illustrate for adopting the scheme of mode interval time, the execution speed of operational order can be faster, and the efficiency of in other words software test will be higher.More than adopt two priority classes respectively to operate the scheme citing of the execution sequence of element as a preferred implementation, should not be construed as the unique restriction to the embodiment of the present invention.
Further, the embodiment of the present invention additionally provides the optional implementation of the delivery plan of operational order, specific as follows: if above-mentioned runnable interface sectional drawing comprises predetermined operation element, above-mentioned processor 680, also for the coordinate of determination operation element in runnable interface sectional drawing; So, above-mentioned issuing comprises the operational order of the operation element in above-mentioned runnable interface sectional drawing: issue the operational order to above-mentioned coordinate in above-mentioned runnable interface sectional drawing.
Above embodiment, by obtaining the coordinate of operation element, is directly carried this coordinate and the operational outfit of tested software is operated operation element in operational order.It will be appreciated by those skilled in the art that and be, because operation element is identified in runnable interface sectional drawing, how to realize instruction to operate on it, those skilled in the art can adopt different selection schemes according to different situations, and therefore operational order is not not limited only to adopt the mode of carrying coordinate to realize.Therefore above citing should not be construed as and limits the uniqueness of the embodiment of the present invention.
Alternatively, the embodiment of the present invention is also supplied to the specific implementation citing how determining whether to comprise scheduled operation element, as follows: above-mentioned processor 680, for carrying out image recognition to above-mentioned runnable interface sectional drawing, determine whether that comprising predetermined operation element comprises: for using predetermined operation element to perform template matches to above-mentioned runnable interface sectional drawing, determine whether to comprise predetermined operation element.
Above embodiment gives and adopts the mode of template matches to realize image recognition, thus determines whether runnable interface includes predetermined operation element.It will be appreciated by persons skilled in the art that the implementation of image recognition has a lot, above citing is based on software testing technology field, when operation element belongs to finite set, and a kind of preferred implementation.Adopt other scheme identification and judge whether to there is the realization that predetermined operation element does not affect the embodiment of the present invention, therefore above scheme should not be construed as and limits the uniqueness of the embodiment of the present invention.
It should be noted that in said apparatus embodiment, included unit is carry out dividing according to function logic, but is not limited to above-mentioned division, as long as can realize corresponding function; In addition, the concrete title of each functional unit, also just for the ease of mutual differentiation, is not limited to protection scope of the present invention.
In addition, one of ordinary skill in the art will appreciate that all or part of step realized in above-mentioned each embodiment of the method is that the hardware that can carry out instruction relevant by program completes, corresponding program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium mentioned can be ROM (read-only memory), disk or CD etc.
These are only the present invention's preferably embodiment; but protection scope of the present invention is not limited thereto; anyly be familiar with those skilled in the art in the technical scope that the embodiment of the present invention discloses, the change that can expect easily or replacement, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of claim.

Claims (10)

1. a method for testing software, is characterized in that, comprising:
Obtain the runnable interface sectional drawing in software test procedure;
Image recognition is carried out to described runnable interface sectional drawing, determines whether to comprise predetermined operation element;
If described runnable interface sectional drawing comprises predetermined operation element, then issue the operational order to the operation element in described runnable interface sectional drawing.
2. method according to claim 1, it is characterized in that, the runnable interface sectional drawing in described acquisition software test procedure comprises:
Be the cycle obtain runnable interface sectional drawing with the schedule time in software test procedure; Or,
Operation implementation in monitoring of software test process, after operation is finished, obtains runnable interface sectional drawing.
3. method according to claim 1 or 2, is characterized in that, if described runnable interface sectional drawing comprises predetermined operation element be greater than one, described in issue the operational order of the operation element in described runnable interface sectional drawing comprised:
According to the priority of each operation element in described runnable interface sectional drawing, issue operational order successively; Or, issue the operational order of each operation element in described runnable interface sectional drawing and the execution priority of each operational order.
4. method according to claim 1 or 2, is characterized in that, if described runnable interface sectional drawing comprises predetermined operation element, also comprises: the coordinate of determination operation element in runnable interface sectional drawing;
Described issuing comprises the operational order of the operation element in described runnable interface sectional drawing:
Issue the operational order to coordinate described in described runnable interface sectional drawing.
5. method according to claim 1 or 2, is characterized in that, describedly carries out image recognition to described runnable interface sectional drawing, determines whether that comprising predetermined operation element comprises:
Use predetermined operation element to perform template matches to described runnable interface sectional drawing, determine whether to comprise predetermined operation element.
6. a software testing device, is characterized in that, comprising:
Sectional drawing acquiring unit, for obtaining the runnable interface sectional drawing in software test procedure;
Element determining unit, carries out image recognition for the described runnable interface sectional drawing obtained described sectional drawing acquiring unit, determines whether to comprise predetermined operation element;
Instruction issues unit, if determine that described runnable interface sectional drawing comprises predetermined operation element for described element determining unit, then issues the operational order to the operation element in described runnable interface sectional drawing.
7. device according to claim 6, is characterized in that,
Described sectional drawing acquiring unit, for the schedule time being cycle acquisition runnable interface sectional drawing in software test procedure; Or the operation implementation in monitoring of software test process, after operation is finished, obtains runnable interface sectional drawing.
8. device according to claim 6 or 7, is characterized in that,
Described instruction issues unit, if determine that described runnable interface sectional drawing comprises predetermined operation element and is greater than one for described element determining unit, then according to the priority of each operation element in described runnable interface sectional drawing, issues operational order successively; Or, issue the operational order of each operation element in described runnable interface sectional drawing and the execution priority of each operational order.
9. device according to claim 6 or 7, is characterized in that, also comprises:
For described element determining unit, coordinate determining unit, if determine that described runnable interface sectional drawing comprises predetermined operation element, the coordinate of determination operation element in runnable interface sectional drawing;
Described instruction issues unit, for issuing the operational order to the coordinate that coordinate determining unit described in described runnable interface sectional drawing is determined.
10. device according to claim 6 or 7, is characterized in that,
Described element determining unit, for using predetermined operation element to perform template matches to described runnable interface sectional drawing, determines whether to comprise predetermined operation element.
CN201310450584.8A 2013-09-27 2013-09-27 Method and device for testing software Pending CN104516812A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310450584.8A CN104516812A (en) 2013-09-27 2013-09-27 Method and device for testing software

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310450584.8A CN104516812A (en) 2013-09-27 2013-09-27 Method and device for testing software

Publications (1)

Publication Number Publication Date
CN104516812A true CN104516812A (en) 2015-04-15

Family

ID=52792156

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310450584.8A Pending CN104516812A (en) 2013-09-27 2013-09-27 Method and device for testing software

Country Status (1)

Country Link
CN (1) CN104516812A (en)

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104766198A (en) * 2015-03-03 2015-07-08 包敬海 Method for rapidly recognizing mail attachment
CN104899146A (en) * 2015-06-19 2015-09-09 安一恒通(北京)科技有限公司 Image matching technology based software stability test method and device
CN105068930A (en) * 2015-08-07 2015-11-18 天津市康凯特软件科技有限公司 Intelligent analysis method and device for test generation data of mobile terminal
CN105117337A (en) * 2015-08-26 2015-12-02 小米科技有限责任公司 Application debugging method, client and debugging platform
CN105701766A (en) * 2016-02-24 2016-06-22 网易(杭州)网络有限公司 Image matching method and device
CN106383765A (en) * 2016-08-31 2017-02-08 北京百分点信息科技有限公司 Data monitoring method and apparatus
WO2017107173A1 (en) * 2015-12-25 2017-06-29 Intel Corporation Technologies for automated application testing coverage and results evaluation
CN107784649A (en) * 2017-10-20 2018-03-09 长飞光纤光缆股份有限公司 Plug test remote alarming system and method based on image recognition
CN107832191A (en) * 2017-10-31 2018-03-23 努比亚技术有限公司 Blank screen detection method, mobile terminal and computer-readable recording medium
CN107885635A (en) * 2017-10-31 2018-04-06 努比亚技术有限公司 Blank screen detection method, mobile terminal and computer-readable recording medium
CN107908492A (en) * 2017-10-31 2018-04-13 努比亚技术有限公司 Blank screen detection method, mobile terminal and computer-readable recording medium
CN107977306A (en) * 2016-10-25 2018-05-01 百度在线网络技术(北京)有限公司 Method and apparatus for testing Android application stability
CN108292257A (en) * 2015-10-22 2018-07-17 赛门铁克公司 System and method for explaining client-server affairs
CN109408384A (en) * 2018-10-16 2019-03-01 网易(杭州)网络有限公司 Test method, device, processor and the electronic device of software application
WO2019144680A1 (en) * 2018-01-23 2019-08-01 网易(杭州)网络有限公司 Automatic testing method and apparatus, storage medium and electronic device
CN111367816A (en) * 2020-03-25 2020-07-03 上海复深蓝软件股份有限公司 Mobile test method and device, computer equipment and storage medium
CN108427633B (en) * 2017-02-15 2021-08-06 腾讯科技(深圳)有限公司 Display interface processing method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110214107A1 (en) * 2010-03-01 2011-09-01 Experitest, Ltd. Method and system for testing graphical user interfaces
CN102681935A (en) * 2012-04-21 2012-09-19 北京迈凯互动网络科技有限公司 Mobile application testing method and mobile application testing system
US20120243745A1 (en) * 2009-12-01 2012-09-27 Cinnober Financial Technology Ab Methods and Apparatus for Automatic Testing of a Graphical User Interface

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120243745A1 (en) * 2009-12-01 2012-09-27 Cinnober Financial Technology Ab Methods and Apparatus for Automatic Testing of a Graphical User Interface
US20110214107A1 (en) * 2010-03-01 2011-09-01 Experitest, Ltd. Method and system for testing graphical user interfaces
CN102681935A (en) * 2012-04-21 2012-09-19 北京迈凯互动网络科技有限公司 Mobile application testing method and mobile application testing system

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104766198A (en) * 2015-03-03 2015-07-08 包敬海 Method for rapidly recognizing mail attachment
CN104899146A (en) * 2015-06-19 2015-09-09 安一恒通(北京)科技有限公司 Image matching technology based software stability test method and device
CN105068930A (en) * 2015-08-07 2015-11-18 天津市康凯特软件科技有限公司 Intelligent analysis method and device for test generation data of mobile terminal
CN105117337A (en) * 2015-08-26 2015-12-02 小米科技有限责任公司 Application debugging method, client and debugging platform
CN105117337B (en) * 2015-08-26 2018-09-04 小米科技有限责任公司 Using adjustment method, client and debugging platform
CN108292257A (en) * 2015-10-22 2018-07-17 赛门铁克公司 System and method for explaining client-server affairs
WO2017107173A1 (en) * 2015-12-25 2017-06-29 Intel Corporation Technologies for automated application testing coverage and results evaluation
CN105701766A (en) * 2016-02-24 2016-06-22 网易(杭州)网络有限公司 Image matching method and device
CN105701766B (en) * 2016-02-24 2019-03-19 网易(杭州)网络有限公司 Image matching method and device
CN106383765A (en) * 2016-08-31 2017-02-08 北京百分点信息科技有限公司 Data monitoring method and apparatus
CN107977306A (en) * 2016-10-25 2018-05-01 百度在线网络技术(北京)有限公司 Method and apparatus for testing Android application stability
CN108427633B (en) * 2017-02-15 2021-08-06 腾讯科技(深圳)有限公司 Display interface processing method and device
CN107784649A (en) * 2017-10-20 2018-03-09 长飞光纤光缆股份有限公司 Plug test remote alarming system and method based on image recognition
CN107784649B (en) * 2017-10-20 2021-09-03 长飞光纤光缆股份有限公司 Image recognition-based mandrel testing remote alarm system and method
CN107908492A (en) * 2017-10-31 2018-04-13 努比亚技术有限公司 Blank screen detection method, mobile terminal and computer-readable recording medium
CN107885635A (en) * 2017-10-31 2018-04-06 努比亚技术有限公司 Blank screen detection method, mobile terminal and computer-readable recording medium
CN107832191A (en) * 2017-10-31 2018-03-23 努比亚技术有限公司 Blank screen detection method, mobile terminal and computer-readable recording medium
CN107832191B (en) * 2017-10-31 2021-04-23 努比亚技术有限公司 Black screen detection method, mobile terminal and computer readable storage medium
CN107908492B (en) * 2017-10-31 2021-05-21 努比亚技术有限公司 Black screen detection method, mobile terminal and computer readable storage medium
WO2019144680A1 (en) * 2018-01-23 2019-08-01 网易(杭州)网络有限公司 Automatic testing method and apparatus, storage medium and electronic device
CN109408384A (en) * 2018-10-16 2019-03-01 网易(杭州)网络有限公司 Test method, device, processor and the electronic device of software application
CN111367816A (en) * 2020-03-25 2020-07-03 上海复深蓝软件股份有限公司 Mobile test method and device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
CN104516812A (en) Method and device for testing software
CN103473011B (en) A kind of mobile terminal performance detection method, device and mobile terminal
CN104834529A (en) Method and device for optimizing performance of application
CN103455407A (en) Mobile terminal CPU (Central Processing Unit) occupation rate monitoring method and device and mobile terminal
CN105528297A (en) Method and device for testing web page
CN105404585A (en) Method and apparatus for acquiring code coverage rate
CN103455343A (en) Method and device for updating application programs
CN105260087A (en) Information display method and terminal
CN104298587A (en) Code coverage test method, device and system
CN104571529A (en) Application wake method and mobile terminal
CN105373237A (en) Data input method and terminal
CN108834132A (en) A kind of data transmission method and equipment and related media production
CN106502906B (en) A kind of method and apparatus of test application program
CN104077211A (en) Test method and test system for mobile terminal software
CN105389259A (en) Method, apparatus and system for performing application testing
CN107943683B (en) Test script generation method and device, electronic equipment and storage medium
CN103399706A (en) Page interaction method, device and terminal
CN105005529A (en) Application testing method and apparatus
CN104951324A (en) Method and device for acquiring application calling relation table
CN104166899A (en) Voice interaction method and terminals
CN104978237A (en) Method and device for repairing dynamic link library file
CN104866288A (en) Method, device and terminal for accessing application program
CN105550316A (en) Pushing method and device of audio list
CN104123218A (en) Method, device and system for code coverage test
CN109062643A (en) A kind of display interface method of adjustment, device and terminal

Legal Events

Date Code Title Description
PB01 Publication
C06 Publication
SE01 Entry into force of request for substantive examination
C10 Entry into substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20150415

RJ01 Rejection of invention patent application after publication