CN106970869A - The method of pressure test, apparatus and system - Google Patents
The method of pressure test, apparatus and system Download PDFInfo
- Publication number
- CN106970869A CN106970869A CN201710201942.XA CN201710201942A CN106970869A CN 106970869 A CN106970869 A CN 106970869A CN 201710201942 A CN201710201942 A CN 201710201942A CN 106970869 A CN106970869 A CN 106970869A
- Authority
- CN
- China
- Prior art keywords
- tangible
- display picture
- touch
- information
- current display
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/34—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
- G06F11/3409—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment for performance assessment
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/34—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
- G06F11/3466—Performance evaluation by tracing or monitoring
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the invention discloses a kind of method of pressure test, apparatus and system.This method includes:Obtain the current display picture of terminal touch screen to be tested;Tangible information in the current display picture is determined according to touch point data base, the tangible information includes the touching position information and touch manner information of tangible point in the current display picture;The tangible information is sent to test equipment, so that the test equipment completes this touch operation according to the tangible information.The embodiment of the present invention is by using above-mentioned technical proposal, pressure test is carried out according to the terminal to be tested of the corresponding touch manner in each touch point in display picture, the testing efficiency of terminal pressure test to be tested can be improved, the time needed for reduction pressure test, the accuracy of pressure testing results is improved.
Description
Technical field
The present embodiments relate to pressure test technical field, more particularly to a kind of method of pressure test, device and it is
System.
Background technology
With the development of the information processing technology, it is the most frequently used that touch-screen has been increasingly becoming the terminal devices such as mobile phone, tablet personal computer
One of man-machine interaction instrument.
In the development of tangible terminal, it is thus necessary to determine that the stability of tangible terminal system, and touch-screen is corresponding
Control program stability be tangible terminal system stability an important indicator.In the prior art, generally pass through
It is tangible to determine to carry out pressure test to tangible terminal that Monkey program analog subscribers such as click, double-clicked, sliding at the operation
The stability of the corresponding control program of touch-screen in terminal.But, inventor has found existing skill during the present invention is realized
There is following technological deficiency in art:Generally generation such as clicks, double-clicks or slided at the event to existing Monkey programs at random, causes to end
The testing efficiency of end equipment pressure test is relatively low, and the accuracy of pressure testing results is relatively low.
The content of the invention
In view of this, the embodiment of the present invention provides a kind of method of pressure test, apparatus and system, to solve prior art
The efficiency and the relatively low technical problem of accuracy of middle touch-screen pressure test.
In a first aspect, the embodiments of the invention provide a kind of method of pressure test, including:
Obtain the current display picture of terminal touch screen to be tested;
Tangible information in the current display picture, the tangible information are determined according to touch point data base
Include the touching position information and touch manner information of tangible point in the current display picture;
The tangible information is sent to test equipment, so that the test equipment is according to the tangible information
Complete this touch operation.
Second aspect, the embodiments of the invention provide a kind of device of pressure test, including:
Picture acquisition module, the current display picture for obtaining terminal touch screen to be tested;
Tangible determining module, for determining the tangible point in the current display picture according to touch point data base
Information, the tangible information includes the touching position information of tangible point and touch manner letter in the current display picture
Breath;
Information sending module, for the tangible information to be sent into test equipment, so that the test equipment root
This touch operation is completed according to the tangible information.
The third aspect, the embodiment of the present invention additionally provides a kind of pressure testing system, including controller, terminal to be tested,
Test equipment and image collecting device, the controller set the device of pressure test as described in the present embodiment of the invention, described
Controller is connected with the terminal to be tested, the test equipment and described image harvester respectively, wherein,
The terminal to be tested obtains the current display picture of local terminal touch-screen, and the current display picture is sent to
The controller;
The test equipment randomly chooses current touch according to the tangible information received from the tangible point
Point, and touch operation is carried out to the current touch point according to the current touch point corresponding touch manner information;
Described image harvester gathers current touch dot image of the test equipment in the current display picture,
And the current touch dot image is sent to the controller.
The technical scheme of pressure test provided in an embodiment of the present invention, obtains the current display picture of terminal to be tested, root
The touching position information and touch manner information of tangible point in current display picture are determined according to touch point data base, will be determined
Tangible point touching position information and touch manner information be sent to test equipment so that test equipment is according to current display
The touching position information and touch manner information of tangible point complete this touch operation to touch-screen in picture.It is of the invention real
Example is applied by using above-mentioned technical proposal, terminal to be tested is carried out according to the corresponding touch manner in each touch point in display picture
Pressure test, can improve the testing efficiency of terminal pressure test to be tested, the time needed for reduction pressure test, improve pressure
The accuracy of test result.
Brief description of the drawings
By reading the detailed description made to non-limiting example made with reference to the following drawings, of the invention is other
Feature, objects and advantages will become more apparent upon:
Fig. 1 is a kind of schematic flow sheet of the method for pressure test that the embodiment of the present invention one is provided;
Fig. 2 is a kind of schematic flow sheet of the method for pressure test that the embodiment of the present invention two is provided;
Fig. 3 is a kind of schematic flow sheet of the method for pressure test that the embodiment of the present invention three is provided;
Fig. 4 is a kind of structured flowchart of the device for pressure test that the embodiment of the present invention four is provided;
Fig. 5 is a kind of structured flowchart for pressure testing system that the embodiment of the present invention five is provided.
Embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining the present invention, rather than limitation of the invention.It also should be noted that, in order to just
Part related to the present invention rather than full content are illustrate only in description, accompanying drawing.
Embodiment one
The embodiment of the present invention one provides a kind of method of pressure test.This method can be performed by the device of pressure test,
Wherein, the device can be realized by software and/or hardware, typically can it is integrated in a computer.Fig. 1 is the offer of the embodiment of the present invention one
Pressure test method schematic flow sheet, as shown in figure 1, this method includes:
S101, the current display picture for obtaining terminal touch screen to be tested.
Wherein, terminal to be tested can be any tangible terminal (i.e. the terminal device with touch-screen), such as intelligent hand
Machine or tablet personal computer etc.;Current display picture is the display picture in current time tangible terminal screen.
In the present embodiment, control end be able to can also be led to the current display picture of active obtaining terminal touch screen to be tested
The current display picture information for crossing its screen for receiving terminal transmission to be tested determines the current display picture of terminal screen to be tested
Face, you can with the current display of data transmission port acquisition corresponding with the terminal to be tested terminal screen to be tested from control end
Picture.Wherein, the frequency of the current display picture of control end acquisition terminal touch screen to be tested can be set as needed,
For example, the current display picture of terminal touch screen to be tested can be obtained in real time or according to the setting cycle;Local terminal can also be passed through
Or by the display picture in terminal monitoring to be tested terminal screen to be tested, when the display picture hair in terminal screen to be tested
The current display picture of terminal touch screen to be tested is obtained during changing, or, monitoring and test equipment is touched to terminal to be tested
Operation is touched, the current aobvious of terminal touch screen to be tested is obtained when test equipment completes a touch operation to terminal to be tested
Show picture, be not restricted herein.
Exemplary, when the current display picture of control end active obtaining terminal touch screen to be tested, control end can be with
Worked as by being internal or external at the camera or camera of control end corresponding device and terminal screen to be tested being taken pictures with obtaining
The current display picture of preceding moment terminal touch screen to be tested;It can also pass through before pressure test is carried out to terminal to be tested
The on-screen displays of terminal to be tested are mapped to control end correspondence by corresponding processing mode (such as being imaged by camera)
Screen in, and determine that current time treats by the current display picture for intercepting the touch-screen shown in the corresponding screen of control end
Test the current display picture of terminal touch screen.When control end is by receiving the current display picture information that terminal to be tested is sent
When determining the current display picture of terminal screen to be tested, when terminal to be tested can intercept current by modes such as screenshotss first
Current display picture information in the screen of carving copy end, and sent out be truncated to current display picture information by setting transmission means
The data transmission port of control end is sent to, accordingly, control end is passed by obtaining the local terminal data corresponding with terminal to be tested
The current display picture information that defeated port is received can determine that the current display picture of terminal touch screen to be tested.Wherein, treat
Data transfer mode between test terminal and control end can be determined flexibly as needed, for example, terminal to be tested can lead to
Cross radio communication (such as bluetooth, WIFI) or the current display picture information of local terminal be sent to control end by cable communicating technology,
It can also be connected with control end by data wire and the current display picture information of local terminal is sent to by control end by data wire.
S102, determine tangible information in the current display picture according to touching point data base, it is described tangible
Point information includes the touching position information and touch manner information of tangible point in the current display picture.
Sat specifically, the touching position information of tangible point can be pixel of the tangible point in current display picture
Mark;The touch manner information of tangible point can be the corresponding touch manner in the touch point, such as click on or slide.Touch points
It can be used for storing tangible information in each display picture being likely to occur in similar and different terminal to be tested according to storehouse, its
Storage mode can be set as needed, for example, in the corresponding touch point information of a certain display picture of storage, can be pre-
First by tangible information flag in the display picture in the display picture, and by the display of marked touch point information
Picture is stored in touch point data base;Touch point information correspondence in the display picture and the display picture can also be stored
Identical or different storage location, is not restricted herein in point data base is touched.Wherein, when display picture and its touch point are believed
It is exemplary when breath is stored in different storage locations, its corresponding touch point can be marked in the storage location of display picture
The information such as storage location, title or the numbering of information according to display picture in order to obtaining its corresponding touch point information.
It is exemplary, can be first from touching point data base it is determined that during tangible information in current display picture
Middle search obtains and current display picture identical display picture, then obtains corresponding with the display picture according to the display picture
Touch point information, and using acquired touch point information as current display picture tangible information.Due to touch point
All display pictures that terminal to be tested is likely to occur are prestored in database, therefore, for example, if touching points
According to display picture corresponding with the current display picture of terminal touch screen to be tested is not found in storehouse, then end to be tested is can be determined that
Test abnormal and that termination is to terminal to be tested occurs for the abnormal or current display picture acquisition process of end generation.
S103, the tangible information is sent to test equipment, so that the test equipment is according to described tangible
Point information completes this touch operation.
, can be direct it is determined that after tangible information in the current display picture of terminal to be tested in the present embodiment
Identified tangible information is sent to test equipment, can also be by each touch point information according to its touch manner (such as point
Hit or slide) etc. mode classification classified, and sorted touch point information is sent to test equipment.Exemplary,
, can be directly by acquired touch point information when the negligible amounts of the tangible point in the current display picture of terminal to be tested
It is sent to test equipment;When the quantity of the tangible point in the current display picture of terminal to be tested is more, it can be touched to each
Touch after an information is classified and send it to test equipment again, to reduce required volume of transmitted data, improve test speed.
Exemplary, test equipment, can be according to setting after tangible information of control end transmission is received in advance
Choose mode and choose the current of this touch operation from the tangible point of the current display picture of terminal to be tested in fixed touch point
Touch point, and terminal screen to be tested is touched to complete this touch according to the corresponding touch manner of the current touch point
Operation.Wherein, touch point is chosen mode and can set as needed, for example, can be determined in the way of randomly selecting current
Touch point;Can also from the tangible point of the current display picture of terminal to be tested weight selection value it is higher or touched number of times compared with
The touch point of low (number of times is 0 as tested) is as the current touch point of this touch operation, and now, accordingly, control end is sent out
In the tangible information sent can weighted value or testing time including tangible point simultaneously, wherein, the power of tangible point
Weight values can be set according to factors such as frequency of use, the frequencies of appearance exception of touch point, the weighted value of each tangible point
It can be stored in advance in touch point data base, the testing time of each touch point can be united by control end or test equipment
Meter.
The method for the pressure test that the embodiment of the present invention one is provided, obtains the current display picture of terminal to be tested, according to
Touching position information and touch manner information that point data base determines tangible point in current display picture are touched, will be identified
The touching position information and touch manner information of tangible point are sent to test equipment, so that test equipment is according to current display picture
The touching position information and touch manner information of tangible point complete this touch operation to touch-screen in face.The present embodiment leads to
Cross and use above-mentioned technical proposal, pressure survey is carried out to terminal to be tested according to the corresponding touch manner in each touch point in display picture
Examination, can improve the testing efficiency of terminal pressure test to be tested, the time needed for reduction pressure test, improve pressure test knot
The accuracy of fruit.
Embodiment two
Fig. 2 is a kind of schematic flow sheet for method for testing pressure that the embodiment of the present invention two is provided.The present embodiment is above-mentioned
Optimize, in the present embodiment, " will be determined according to point data base is touched in the current display picture on the basis of embodiment
Tangible information " be optimized for:According to setting lookup mode the current display picture pair is searched from point data base is touched
The tangible dot image answered;Tangible information in the current display picture is determined according to the tangible dot image.
Further, before the current display picture for obtaining terminal touch screen to be tested, in addition to:Obtain sample
Tangible information in terminal in the image information and each display picture of each display picture of each application software is to generate
The corresponding tangible dot image of the application software;According to setting storage mode by the corresponding tangible dot image of each application software
It is stored in touch point data base.
Accordingly, as shown in Fig. 2 the method for the pressure test that the present embodiment is provided includes:
In S201, acquisition sample terminal in the image information and each display picture of each display picture of each application software
Tangible information to generate the corresponding tangible dot image of the application software.
In the present embodiment, can be determined by sample terminal for generate each application software each display picture in it is tangible
Dot image, it can be the normal terminal device of identical and pressure testing results with terminal configuration parameters to be tested;Application software
Can be the third-party application software installed in the system software or terminal to be tested that terminal system to be tested is carried.Example
Property,, can be by surveying after application software unlatching when obtaining the image information of a certain application software and touch point information
Equipment is tried according to each position that sample terminal screen is repeatedly touched with different touch manners, while by being internal or external at
The camera of control end corresponding device records each click location of test equipment and passes through sample terminal-pair local terminal screen
Display picture is monitored, and records current display picture after local terminal on-screen displays change, so that it is determined that should
Tangible information in the image information and each display picture of each display picture of application software;Can also be by artificial
Mode is clicked on to the screen of sample terminal, the display picture in sample terminal screen and the display after record is clicked on every time
The position of the touch point of each in picture and the touch manner of each touch point, so that it is determined that each display picture of the application software
Tangible information in image information and each display picture.
It is exemplary, it is determined that in sample terminal each display picture of each application software image information and tangible point
After information, can each should by each tangible information flag in its corresponding display picture with generating in sample terminal
With the tangible dot image of software.Wherein, each display picture of each application software can correspond to and generate a tangible point diagram
Picture, or, multiple display pictures of each application software can be integrated in a tangible dot image, i.e. in the present embodiment, and one
Individual application software can be corresponded in one or more tangible dot image, be not restricted herein.In view of the simplicity of subsequent operation
Property, it is preferred that each display picture of each application software can be corresponded to one tangible dot image of generation, i.e. each
Application software can correspond to multiple tangible dot images, and, only comprising a display picture in every tangible dot image.
S202, according to setting storage mode the corresponding tangible dot image of each application software is stored in touch point data base
In.
Exemplary, each touch dot image generated can be directly stored in touch point data base;Can also be pre-
First each touch dot image generated is classified according to its corresponding application software, and is stored to and its application software
In corresponding storage location or corresponding file, it is not restricted herein.It is preferred that, tangible dot image can be answered according to it
It is stored in the difference of software in different storage locations or file, to reduce amount of calculation and the institute needed for follow-up search procedure
The time of consuming.
S203, the current display picture for obtaining terminal touch screen to be tested.
S204, according to setting lookup mode, to search the current display picture corresponding tangible from point data base is touched
Dot image.
It is exemplary, when searching the corresponding tangible dot image of current display picture, if each in database touches
It is random storage to touch dot image, then can currently show picture directly to be searched according to setting lookup mode from point data base is touched
The corresponding tangible dot image in face;If each touch point in database is classified according to its corresponding application software,
The corresponding application software of this test process can be determined according to the unlatching picture of book application software first, then according to set
Fixed lookup mode searches that the current display picture of determination is corresponding to be touched from the corresponding each tangible dot image of the application software
Touch dot image.Wherein, lookup mode can be configured as needed, for example, be able to can respectively be touched in point data base according to touching
The storage location or storage time of dot image are touched by current display picture successively with each tangible point touched in point data base
Image is compared untill the corresponding tangible dot image of current display picture is determined, can also be according to the data of control end
Current display picture is compared directly by disposal ability with multiple in touch point data base or all tangible dot images simultaneously
Untill the corresponding tangible dot image of current display picture is determined, it is not restricted herein.
S205, the tangible information determined according to the tangible dot image in the current display picture, it is described can
Touch point information includes the touching position information and touch manner information of tangible point in the current display picture.
In the present embodiment, due to tangible dot image be by by tangible information flag in its corresponding display picture
In obtained image, therefore, it is determined that after the corresponding tangible dot image of current display picture, tangible dot image can be obtained
Tangible information of middle mark, and as the corresponding tangible information of the current display picture of terminal to be tested.
S206, the tangible information is sent to test equipment, so that the test equipment is according to described tangible
Point information completes this touch operation.
The method for the pressure test that the embodiment of the present invention two is provided, is believed by the picture of each display picture in sample terminal
Breath and tangible information generate the corresponding tangible dot image of sample terminal each application software, and by the tangible point of generation
Image is stored in touch point data base, in pressure test sequence, determines that current display picture is corresponding by image comparison
Tangible dot image simultaneously further determines that tangible information in current display picture, so that test equipment is tangible according to this
Point information completes this touch operation.The present embodiment is by using above-mentioned technical proposal, according to each touch point in display picture
Corresponding touch manner carries out pressure test to terminal to be tested, can improve the testing efficiency of terminal pressure test to be tested,
The time needed for pressure test is reduced, the accuracy of pressure testing results is improved.
Embodiment three
Fig. 3 is a kind of schematic flow sheet of the method for pressure test that the embodiment of the present invention three is provided.The present embodiment is upper
State and optimize on the basis of embodiment, further, the tangible information is sent to test equipment described, so that
The test equipment is completed according to the tangible information after this touch operation, in addition to:Obtain this touch operation
Current touch dot image of the test equipment in the current display picture.
Further, the method for the pressure test that the present embodiment is provided also includes:It is described according to setting storage mode storage
Current display picture and the current touch dot image.
The method for the pressure test that the present embodiment is provided also includes:After test process terminates, the test process is judged
In whether there is abnormal operation;If so, then sequentially in time to each display picture and/or the corresponding touch point of each display picture
Image is ranked up to determine the reproduction path of the test process.
Accordingly, as shown in figure 3, the method for the pressure test that the present embodiment is provided includes:
S301, the current display picture for obtaining terminal touch screen to be tested.
S302, determine tangible information in the current display picture according to touching point data base, it is described tangible
Point information includes the touching position information and touch manner information of tangible point in the current display picture.
S303, the tangible information is sent to test equipment, so that the test equipment is according to described tangible
Point information completes this touch operation.
S304, obtain current touch point diagram of the test equipment described in this touch operation in the current display picture
Picture.
Exemplary, can be by being internal or external at control when test equipment is touched to terminal screen to be tested
The camera or camera of end corresponding device processed are taken pictures to generate to the contact portion of test equipment and terminal screen to be tested
The current touch dot image of this touch operation.Wherein, detection device and terminal phase to be detected are included in current touch dot image
The image of contact portion, in addition, the part or all of image of current display picture can also be included in current touch dot image, this
Place is not restricted.
S305, according to setting storage mode store the current display picture and the current touch dot image.
In the present embodiment, storage mode can be set as needed, for example, can be by mutual corresponding current display
Picture and current touch dot image are stored in identical storage location, or, by current display picture and current touch dot image
It is stored in different storage locations and while store the corresponding relation of current display picture and current touch dot image, does not make herein
Limitation.
S306, judge whether test process terminates, if so, then performing S307;If it is not, then returning to S301.
It is exemplary, can be by detecting whether local terminal generates test equipment out code or by detecting that test equipment is
It is no to close to judge whether test process terminates, set if detecting local terminal generation test equipment out code or detecting test
It is standby to be turned off, then it can be determined that the test process terminates.Now, accordingly, generation test equipment can be pre-set and closed and referred to
The trigger condition that order or test equipment are stopped, for example, can set when control end can not be determined in current display picture
Tangible information determines then to generate test equipment out code when being not present in current display picture at tangible, or,
The tangible information that setting test terminal does not receive control end transmission in certain time length is then closed automatically, herein not
It is restricted.
S307, judge in the test process whether there is abnormal operation, if so, then performing S308;If it is not, then terminating behaviour
Make.
In the present embodiment, it can judge to whether there is in test process by received log information (LOG information)
It is abnormal, wherein, the exception can stop for application software without response (Application Not Responding, ARE), work
(Crash), kernel fault (Kernel Error, KE) or local wrong (Native Error, NE) etc..Exemplary, surveying
During examination, its LOG information in test process can be recorded in real time by terminal to be tested, and in real time, according to setting week
Phase, in this touch operation complete or the LOG information generated is sent to control end after the completion of this test process, control
End receives and stored the LOG information that terminal to be tested is sent, and according to this test process pair after this test process terminates
The LOG information answered judges to whether there is abnormal operation in this test process.
S308, sequentially in time touch dot image corresponding to each display picture and/or each display picture are ranked up
To determine the reproduction path of the test process.
Exemplary, when it is determined that reappearing path, each display picture and each touch dot image can be sorted simultaneously, or
Person, only sorts to each display picture or each dot image that touches, for example, to each display picture and dot image can respectively be touched respectively
It is ranked up and ranking results is showed so that research staff can root by research staff by the screen of control end corresponding device
The reproduction path of the test process is determined according to ranking results;Only display picture can also be ranked up, and be tied according to sequence
The display picture corresponding touch dot image of current presentation is called and shown simultaneously during fruit displaying display picture, or, only to touching
Dot image is touched to be ranked up, and when showing touch dot image according to ranking results while calling and showing the touch of current presentation
The corresponding display picture of dot image, so that research staff can determine the reproduction path of test process according to ranking results.
In the present embodiment, one or more application software of terminal to be tested can be tested in a test process, if
The quantity for the application software tested in a certain test process, then can be only according to time sequencing to each display picture to be multiple
And/or each dot image that touches is ranked up;Application software can also be first according to each display picture and/or dot image is respectively touched
A point row are carried out, then enter each display picture included in each classification and/or each dot image that touches sequentially in time respectively
Row sequence, is not restricted herein.
The method for the pressure test that the embodiment of the present invention three is provided, determines that terminal to be tested is touched according to point data base is touched
Tangible information in the current display picture of screen to terminal to be tested to carry out pressure test, and in pressure test sequence
Each display picture and each touch dot image stored, after test process terminates, if there is abnormal behaviour in test process
Make, then each display picture in test process and/or each dot image that touches are ranked up to determine the survey sequentially in time
The reproduction path of examination process.The present embodiment can not only improve terminal pressure test to be tested by using above-mentioned technical proposal
Testing efficiency, reduction pressure test needed for time, improve pressure testing results accuracy;Survey can also be accurately determined
The reproduction path of examination process, reduction analysis solves the difficulty of problem appeared in test process, reduces and solves institute in test process
Spent time when going wrong.
Example IV
The embodiment of the present invention four provides a kind of device of pressure test.The device can realize by software and/or hardware, typically
Can with it is integrated in a computer, pressure test can be carried out to tangible equipment by performing the method for pressure test.Fig. 4 is this reality
The structured flowchart of the device of the pressure test of example offer is applied, as shown in figure 4, the device includes:
Picture acquisition module 401, the current display picture for obtaining terminal touch screen to be tested;
Tangible determining module 402, for determining touching in the current display picture according to touch point data base
An information is touched, the tangible information includes the touching position information of tangible point and touch side in the current display picture
Formula information;
Information sending module 403, for the tangible information to be sent into test equipment, so that the test equipment
This touch operation is completed according to the tangible information.
The device for the pressure test that the embodiment of the present invention four is provided, working as terminal to be tested is obtained by picture acquisition module
Preceding display picture, touching for tangible point in current display picture is determined by tangible determining module according to point data base is touched
Positional information and touch manner information are touched, by the way that information sending module is by the touching position information of identified tangible point and touches
The mode information of touching is sent to test equipment, so that touching position information of the test equipment according to tangible point in current display picture
This touch operation to touch-screen is completed with touch manner information.The present embodiment is by using above-mentioned technical proposal, according to aobvious
Show that the corresponding touch manner in each touch point carries out pressure test to terminal to be tested in picture, can improve terminal pressure to be tested
The testing efficiency of test, the time needed for reduction pressure test, improves the accuracy of pressure testing results.
In such scheme, the tangible determining module 402 can include:Image searching unit, for according to setting
Surely search mode and search the corresponding tangible dot image of the current display picture from point data base is touched;Tangible point is determined
Unit, for determining tangible information in the current display picture according to the tangible dot image.
Further, the device for the pressure test that the present embodiment is provided can also include:Image generation module, in institute
State before the current display picture for obtaining terminal touch screen to be tested, obtain each display picture of each application software in sample terminal
Tangible information in the image information in face and each display picture is to generate the corresponding tangible point diagram of the application software
Picture;First memory module, for the corresponding tangible dot image of each application software to be stored in into touch according to setting storage mode
In point data base.
Further, the device for the pressure test that the present embodiment is provided can also include:Image collection module, in institute
State and the tangible information is sent to test equipment, so that the test equipment completes this according to the tangible information
After secondary touch operation, current touch point diagram of the test equipment described in this touch operation in the current display picture is obtained
Picture.
Further, the device for the pressure test that the present embodiment is provided can also include:Second memory module, for according to
Set storage mode and store the current display picture and the current touch dot image.
Further, the device for the pressure test that the present embodiment is provided can also include:Unusual determination module, for surveying
After examination process terminates, judge to whether there is abnormal operation in the test process;Reappear path determination module, for being surveyed when described
When there is abnormal operation during examination, sequentially in time to each display picture and/or the corresponding touch point diagram of each display picture
As being ranked up to determine the reproduction path of the test process.
The pressure that the executable any embodiment of the present invention of the device for the pressure test that the embodiment of the present invention four is provided is provided is surveyed
The method of examination, possesses the corresponding functional module of method and beneficial effect for performing pressure test.It is not detailed in the present embodiment to retouch
The ins and outs stated, reference can be made to the method for the pressure test that any embodiment of the present invention is provided.
Embodiment five
Fig. 5 is the structured flowchart that the embodiment of the present invention five provides pressure testing system.As shown in figure 5, the pressure test system
System includes controller 51, terminal to be tested 52, test equipment 53 and image collecting device 54, and the controller 51 sets the present invention
The device of pressure test described in any embodiment, the controller 51 is set with the terminal 52 to be tested, the test respectively
It is connected for 53 and described image harvester 54, wherein,
The terminal to be tested 52 obtains the current display picture of local terminal touch-screen, and the current display picture is sent
To the controller 51;
The test equipment 53 randomly chooses current touch according to the tangible information received from the tangible point
Touch a little, and touch operation is carried out to the current touch point according to the current touch point corresponding touch manner information;
Described image harvester 54 gathers current touch point of the test equipment 53 in the current display picture
Image, and the current touch dot image is sent to the controller 51.
In the present embodiment, controller 51 can have control function for central processing unit in computer or computer etc.
Equipment or module;Terminal 52 to be tested can have the terminal device of touch-screen for smart mobile phone or tablet personal computer etc.;Test is set
Can be equipped with monkey programs in standby 53;Image collecting device 54 can be camera or first-class the setting with camera function of shooting
Standby or module, it can be internal or external in the corresponding equipment of controller 51.
Exemplary, can be to the process that terminal 52 to be tested carries out pressure test:Terminal 52 to be tested monitors local terminal
Whether the display picture in screen changes, if so, then obtaining the current display picture in local terminal screen and sending it to
Controller 51;Controller 51 receives the current display picture that terminal 52 to be tested is sent, and is determined currently according to point data base is touched
Tangible information in display picture, and identified tangible information is sent to test equipment 53;Test equipment 53
The tangible information that controller 51 is sent is received, current touch point is determined according to the tangible information at random, and according to working as
The position of preceding touch point and the corresponding touch manner of current touch point are touched to the screen of terminal 52 to be tested, in detection
When equipment 53 is touched to the screen of terminal 52 to be tested, the touch point diagram of the capture and detection apparatus 53 of image collecting device 54
Picture;The step of terminal 52 to be tested obtains the current display picture in local terminal screen is returned to, until completing this test.
The pressure testing system that the embodiment of the present invention five is provided, the current aobvious of local terminal touch-screen is obtained by terminal to be tested
Show picture, the current display picture obtained by controller according to terminal to be tested determines the tangible point in current display picture
Information, by test equipment, the tangible information according to determined by controller is touched to the screen of terminal to be tested, is led to
Touch dot image when image acquisition device test equipment touches terminal screen to be tested is crossed, and by controller according to survey
Display picture and touch dot image during examination determine the reproduction path of test process, can not only improve terminal pressure to be tested
The testing efficiency of power test, the time needed for reduction pressure test, improves the accuracy of pressure testing results;Can also be exactly
The reproduction path of test process is determined, reduction analysis solves the difficulty of problem appeared in test process, reduces and solves to be occurred
Time spent by problem.
Note, above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that
The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art it is various it is obvious change,
Readjust and substitute without departing from protection scope of the present invention.Therefore, although the present invention is carried out by above example
It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also
Other more equivalent embodiments can be included, and the scope of the present invention is determined by scope of the appended claims.
Claims (13)
1. a kind of method of pressure test, it is characterised in that including:
Obtain the current display picture of terminal touch screen to be tested;
Tangible information in the current display picture is determined according to touch point data base, the tangible information includes
The touching position information and touch manner information of tangible point in the current display picture;
The tangible information is sent to test equipment, so that the test equipment is completed according to the tangible information
This touch operation.
2. according to the method described in claim 1, it is characterised in that described that the current display is determined according to touch point data base
Tangible information in picture, including:
According to setting lookup mode the corresponding tangible dot image of the current display picture is searched from point data base is touched;
Tangible information in the current display picture is determined according to the tangible dot image.
3. method according to claim 2, it is characterised in that in the current display for obtaining terminal touch screen to be tested
Before picture, in addition to:
Obtain tangible in the image information and each display picture of each display picture of each application software in sample terminal
Information is put to generate the corresponding tangible dot image of the application software;
The corresponding tangible dot image of each application software is stored in touch point data base according to setting storage mode.
4. according to the method described in claim 1, it is characterised in that the tangible information is sent into test set described
It is standby, so that after the test equipment completes this touch operation according to the tangible information, in addition to:
Obtain current touch dot image of the test equipment described in this touch operation in the current display picture.
5. method according to claim 4, it is characterised in that also include:
The current display picture and the current touch dot image are stored according to setting storage mode.
6. method according to claim 5, it is characterised in that also include:
After test process terminates, judge to whether there is abnormal operation in the test process;
If so, then sequentially in time it is corresponding to each display picture and/or each display picture touch dot image be ranked up with
Determine the reproduction path of the test process.
7. a kind of device of pressure test, it is characterised in that including:
Picture acquisition module, the current display picture for obtaining terminal touch screen to be tested;
Tangible determining module, for determining that the tangible point in the current display picture is believed according to touch point data base
Breath, the tangible information includes the touching position information of tangible point and touch manner letter in the current display picture
Breath;
Information sending module, for the tangible information to be sent into test equipment, so that the test equipment is according to institute
State tangible information and complete this touch operation.
8. device according to claim 7, it is characterised in that the tangible determining module includes:
Image searching unit, for searching the current display picture correspondence from point data base is touched according to setting lookup mode
Tangible dot image;
Tangible determining unit, for determining the tangible point in the current display picture according to the tangible dot image
Information.
9. device according to claim 8, it is characterised in that also include:
Image generation module, for before the current display picture for obtaining terminal touch screen to be tested, obtaining sample whole
Tangible information in end in the image information and each display picture of each display picture of each application software is to generate
State the corresponding tangible dot image of application software;
First memory module, for the corresponding tangible dot image of each application software to be stored in into touch according to setting storage mode
In point data base.
10. device according to claim 7, it is characterised in that also include:
Image collection module, for the tangible information to be sent into test equipment described, so that the test equipment
After completing this touch operation according to the tangible information, obtain test equipment described in this touch operation and work as described
Current touch dot image in preceding display picture.
11. device according to claim 10, it is characterised in that also include:
Second memory module, for storing the current display picture and the current touch point diagram according to setting storage mode
Picture.
12. device according to claim 11, it is characterised in that also include:
Unusual determination module, for after test process terminates, judging to whether there is abnormal operation in the test process;
Reappear path determination module, for when there is abnormal operation in the test process, sequentially in time to each display
Picture and/or the corresponding dot image that touches of each display picture are ranked up to determine the reproduction path of the test process.
13. a kind of pressure testing system, it is characterised in that including controller, terminal to be tested, test equipment and image collector
Put, the controller sets the device of the pressure test as described in claim any one of 7-12, the controller respectively with institute
Terminal to be tested, the test equipment and described image harvester is stated to be connected, wherein,
The terminal to be tested obtains the current display picture of local terminal touch-screen, and the current display picture is sent to described
Controller;
The test equipment randomly chooses current touch point according to the tangible information received from the tangible point, and
Touch operation is carried out to the current touch point according to the current touch point corresponding touch manner information;
Described image harvester gathers current touch dot image of the test equipment in the current display picture, and will
The current touch dot image is sent to the controller.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710201942.XA CN106970869A (en) | 2017-03-30 | 2017-03-30 | The method of pressure test, apparatus and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710201942.XA CN106970869A (en) | 2017-03-30 | 2017-03-30 | The method of pressure test, apparatus and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106970869A true CN106970869A (en) | 2017-07-21 |
Family
ID=59337238
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710201942.XA Pending CN106970869A (en) | 2017-03-30 | 2017-03-30 | The method of pressure test, apparatus and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106970869A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110187535A (en) * | 2019-06-21 | 2019-08-30 | 上海创功通讯技术有限公司 | A kind of screen fool proof detection method, device and storage medium |
CN110795022A (en) * | 2019-11-08 | 2020-02-14 | 北京字节跳动网络技术有限公司 | Terminal testing method, system and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103019700A (en) * | 2012-11-26 | 2013-04-03 | 广东欧珀移动通信有限公司 | Method and system for automatically collecting user experience information |
CN103577322A (en) * | 2012-08-08 | 2014-02-12 | 腾讯科技(深圳)有限公司 | Click testing method and device |
CN103729293A (en) * | 2013-12-30 | 2014-04-16 | 华东师范大学 | GUI testing method based on UML activity diagrams |
CN105045692A (en) * | 2015-07-22 | 2015-11-11 | 京东方科技集团股份有限公司 | Touch screen test apparatus and system and touch screen test control apparatus |
CN105868083A (en) * | 2015-01-21 | 2016-08-17 | 中兴通讯股份有限公司 | User operation playback method and apparatus |
CN205899515U (en) * | 2016-06-28 | 2017-01-18 | 深圳市智致物联科技有限公司 | Touch -sensitive screen test equipment |
-
2017
- 2017-03-30 CN CN201710201942.XA patent/CN106970869A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103577322A (en) * | 2012-08-08 | 2014-02-12 | 腾讯科技(深圳)有限公司 | Click testing method and device |
CN103019700A (en) * | 2012-11-26 | 2013-04-03 | 广东欧珀移动通信有限公司 | Method and system for automatically collecting user experience information |
CN103729293A (en) * | 2013-12-30 | 2014-04-16 | 华东师范大学 | GUI testing method based on UML activity diagrams |
CN105868083A (en) * | 2015-01-21 | 2016-08-17 | 中兴通讯股份有限公司 | User operation playback method and apparatus |
CN105045692A (en) * | 2015-07-22 | 2015-11-11 | 京东方科技集团股份有限公司 | Touch screen test apparatus and system and touch screen test control apparatus |
CN205899515U (en) * | 2016-06-28 | 2017-01-18 | 深圳市智致物联科技有限公司 | Touch -sensitive screen test equipment |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110187535A (en) * | 2019-06-21 | 2019-08-30 | 上海创功通讯技术有限公司 | A kind of screen fool proof detection method, device and storage medium |
CN110187535B (en) * | 2019-06-21 | 2021-11-05 | 上海创功通讯技术有限公司 | Screen fool-proofing detection method and device and storage medium |
CN110795022A (en) * | 2019-11-08 | 2020-02-14 | 北京字节跳动网络技术有限公司 | Terminal testing method, system and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104794050B (en) | The test method of application program, apparatus and system | |
CN103518393B (en) | The system and method for detecting mobile communication equipment content | |
CN106294134B (en) | The collapse localization method and device of code | |
CN105955881B (en) | A kind of automatic test step is recorded and back method and device | |
CN103377119B (en) | A kind of non-standard control automated testing method and device | |
CN107133174A (en) | Test case code automatically generating device and method | |
CN107967209A (en) | It is a kind of to detect method, detection device and server wrong in the web page code of front end | |
CN101867637A (en) | Method and terminal for dynamically generating standby interface | |
CN102323873B (en) | In order to trigger the method and system that icon is replied in instant messaging | |
US20190050323A1 (en) | Determining visual testing coverages | |
CN108509337A (en) | The dynamic testing method and device called based on interface | |
CN110489314A (en) | Model method for detecting abnormality, device, computer equipment and storage medium | |
US11310140B2 (en) | Mitigating failure in request handling | |
CN111044149A (en) | Method and device for detecting temperature abnormal point of voltage transformer and readable storage medium | |
CN107066519A (en) | A kind of task detection method and device | |
CN107203318A (en) | The open method and device of a kind of application program | |
CN103345738B (en) | Method for checking object based on area-of-interest and device | |
CN109799458A (en) | Test method, test device and the computer readable storage medium of peak power | |
CN106970869A (en) | The method of pressure test, apparatus and system | |
CN104572999A (en) | Heterogeneous data based detecting method and device for fault data | |
CN107708094A (en) | device pairing method and device | |
CN102622233A (en) | System and method for automatically generating user interface applicable to certain interactive terminal equipment | |
CN110502591A (en) | A kind of data extraction method, device and equipment | |
CN110267215A (en) | A kind of data detection method, equipment and storage medium | |
CN106535102B (en) | A kind of mobile terminal locating method and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170721 |
|
RJ01 | Rejection of invention patent application after publication |