CN104765678B - The method and device tested the application on mobile terminal device - Google Patents
The method and device tested the application on mobile terminal device Download PDFInfo
- Publication number
- CN104765678B CN104765678B CN201410008476.XA CN201410008476A CN104765678B CN 104765678 B CN104765678 B CN 104765678B CN 201410008476 A CN201410008476 A CN 201410008476A CN 104765678 B CN104765678 B CN 104765678B
- Authority
- CN
- China
- Prior art keywords
- type
- test
- application
- sectional drawing
- defect
- 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.)
- Active
Links
Abstract
This application discloses the method and device tested the application on mobile terminal device, the method includes:When receiving the application test request from first terminal equipment, according to the test request, tested application, at least one adaptation type and test script are determined;Indicate that the adaptation type installs the tested application, and the test script is distributed to each adaptation type;It indicates that the adaptation type starts the tested application, performs the test script, and when performing operation, sectional drawing is carried out to implementing result, and the sectional drawing of gained is returned;By way of remote monitoring, the test script implementation procedure being adapted on type is returned into the first terminal equipment;When receiving the request for submitting defect, the information of the targeted fit type where defect and target sectional drawing are submitted to the defective system.By the application, it can intuitively find that tested apply is adapted to defect present in type at certain, and improves the efficiency of defect submission.
Description
Technical field
This application involves the application technical field of measurement and test of mobile terminal, more particularly to the application on mobile terminal device
The method and device tested.
Background technology
With the development of the intelligent mobile terminals such as mobile phone, mobile Internet gradually causes the concern of people, from previous hand
Machine can only make a phone call photos and sending messages, can surf the Internet till now, voice-enabled chat, online shopping, etc., mobile terminal too busy to get away people
Life.Mobile Internet is also fast-developing therewith, and constantly emerge be widely used in mobile terminal application it is soft
Part.
A application software is after being developed, it is necessary first to be tested.The application software testing of mobile terminal
Type is broadly divided into:UI tests, function module test, crossing event test, pressure test, security test, compatibility are surveyed
Examination, ease for use/user experience test etc..And the application software testing on mobile terminal unlike in PC machine web test, mainstream it is clear
Device of looking at only has a limited number of kind of IE, Firefox and Chrome etc., and any one PC machine can install all browsings
Device, for the application software testing on mobile terminal, mobile terminal device huge number, especially Android operation system
The mobile terminal device of system, with more serious type fragmentation problem, therefore, tester is generally required all mobile whole
It is tested on end, and the cost of the mobile terminals such as mobile phone is also very high, in addition to this renewal speed of mobile terminal is also very
Soon, so can be under the premise of not only reducing expenses with equipment cost, but also the efficiency of test that can be improved seems increasingly important.
In order to adapt to this needs, occur some automatic test platforms in the prior art, using this test platform,
Tester on which mobile terminal device the installation kit for the application software developed and needs such as can test
Information is uploaded onto the server end, this is installed on the mobile terminal device that server end can be selected in tester using soft
Part, and test result is returned into tester.In this way, there is no need to soft in order to test the application of oneself for applied software development side
Part and purchase a large amount of mobile terminal device, this saves testing costs.
But in the prior art, after test is completed usually on each mobile terminal device, respective test is tied
Fruit for example, performing sectional drawing in that scenario process etc., uniformly returns to tester, and efficiency is very low, and is likely to result in
Some defects can not be found in time.On the other hand, it after tester has found defect, needs separately to enter defective system again,
The operations such as the submission of defect are carried out, perform very cumbersome.
Invention content
This application provides the method and device tested the application on mobile terminal device, tester can be straight
The identifying defects of to be tested of sight applies when being run in some adaptation type that there may be and improve the efficiency of defect submission.
This application provides following schemes:
A kind of method that application on mobile terminal device is tested, including:
When receiving the application test request from first terminal equipment, according to the test request, determining tested application,
At least one adaptation type and test script;The equipment that the first terminal equipment meets prerequisite for screen size;
Indicate that the adaptation type installs the tested application, and the test script is distributed to each adaptation type;
It indicates that the adaptation type starts the tested application, the test script is performed, and when performing operation, to holding
Row result carries out sectional drawing, and the sectional drawing of gained is returned;
By way of remote monitoring, the test script implementation procedure being adapted on type is returned into the first terminal and is set
It is standby, test knot of the adaptation type in respective operations step is shown on a user interface in first terminal equipment so as to described
Fruit;Wherein, the test result of at least one adaptation type is shown in the user interface simultaneously;
When receiving the request for submitting defect, according to the interface of defective system, by the targeted fit type where defect
Information and target sectional drawing are submitted to the defective system.
The device that a kind of application on mobile terminal device is tested, including:
Information determination unit is tested, during for receiving the application test request from first terminal equipment, according to described
Test request determines tested application, at least one adaptation type and test script;The first terminal equipment is screen size
Meet the equipment of prerequisite;
First indicating unit is used to indicate the adaptation type and installs the tested application, and the test script is divided
It is dealt into each adaptation type;
Second indicating unit is used to indicate the adaptation type and starts the tested application, performs the test script, and
When performing operation, sectional drawing is carried out to implementing result, and the sectional drawing of gained is returned;
Interface returning unit, for by way of remote monitoring, the test script implementation procedure being adapted on type to be returned
Back to the first terminal equipment, show the adaptation type in correspondence on a user interface in first terminal equipment so as to described
The test result of operating procedure;Wherein, the test result of at least one adaptation type is shown in the user interface simultaneously;
Defect submits unit,, will be where defect according to the interface of defective system during for receiving the request for submitting defect
Targeted fit type information and target sectional drawing be submitted to the defective system.
According to the specific embodiment that the application provides, this application discloses following technique effects:
It, can be on the adaptation type of server end during testing results script by the embodiment of the present application
The test operating procedures in multiple adaptation types are directly displayed to tester in one client, in this way, tester can be with
It is intuitive identifies defects of it is tested when applying the operation in some adaptation type there may be.Also, by test platform and defect
System is got through, and tester directly can initiate defect from the client of test platform and submit request, survey after defect is found
The relevant information of defect directly can be submitted to defective system by the server of examination platform.Therefore the effect of defect submission is improved
Rate.
Certainly, any product for implementing the application does not necessarily require achieving all the advantages described above at the same time.
Description of the drawings
It in order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, below will be to institute in embodiment
Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the application
Example, for those of ordinary skill in the art, without creative efforts, can also obtain according to these attached drawings
Obtain other attached drawings.
Fig. 1 is the flow chart of method provided by the embodiments of the present application;
Fig. 2 is system structure diagram provided by the embodiments of the present application;
Fig. 3 is the schematic diagram of device provided by the embodiments of the present application.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, the technical solution in the embodiment of the present application is carried out clear, complete
Site preparation describes, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on
Embodiment in the application, those of ordinary skill in the art's all other embodiments obtained belong to the application protection
Range.
Firstly the need of explanation, the adaptation of application is tested in the embodiment of the present application, is primarily referred to as to user interface
(UI)The test of layer, for example, tested apply when being run in specific mobile terminal device, control, word in user interface
Wait pattern of displays etc. whether normal etc..Wherein, user interface not only includes the main interface of application, further includes the control in interface
The sub-interfaces at different levels shown upon being triggered.So-called control just refers to the button that can trigger in the user interface of application
(Button), text box (TextView), picture (ImageView) etc., may include multiple controls in an interface, one
After a control is triggered, sub-interface may be obtained, may include multiple controls again in sub-interface.To realize at different levels
The test of interface UI, tester can write test script in advance, in tested application operation defined in the test script
Which in the process, need that kind of is sequentially performed according to which operation, for example, being required for that control etc. triggered, in this way, holding in script
In capable process, it may all be triggered per single stepping and obtain new user interface.Certainly, due to the shifting of real testing results script
Dynamic terminal device is usually what test platform provided, and for tester, mobile terminal device is flat in distal end namely test
The server end of platform, therefore, tester can not be immediately seen the operation result in each mobile terminal device.For this purpose, one
As need all to carry out sectional drawing to the user interface that obtains later of every step operation, the client of test platform is then returned to, in visitor
Family end shows sectional drawing to tester, and tester can judge that tested apply sets in each mobile terminal according to this sectional drawing
It whether there is defect during standby middle operation.
In the prior art, test platform is usually after complete test script is performed in mobile terminal device, by institute
The sectional drawing obtained returns to client after summarizing and is checked for tester.But this mode can cause tester to be surveyed
The time lag of test result, and it was found that the efficiency of defect is not also high.Importantly, after finding defect, it is also necessary to again
Log on in defective system and submitted, efficiency is than relatively low.
Wherein, the defects of so-called defective system is and is provided for test, developer manages system, and system includes submitting
The functions such as defect, management defect.For tester after defect is submitted to defective system, developer can arrive defective system
In check using which defect there is, and then the code of application can be improved according to defect etc..
In the embodiment of the present application, in order to provide more intuitive test result, more convenient tester to tester
Identify defects of tested apply when being run on specifically adaptation type, and after defect is found, also allow for submitting defect
It is referred to when changing program for developer to defective system, can allow tester that the terminal with large-size screen is utilized to set
It is standby(Such as PC machine, laptop, tablet computer etc., it should be noted that this terminal device is not that direct operation is tested
Using, but for showing test result, for ease of distinguishing, this terminal device is known as first terminal in the embodiment of the present application
Equipment)On enter the test platform of the embodiment of the present application, test assignment is configured, test platform provides a variety of adaptation machines
Type(Tested application is generally required to be tested respectively in multiple mobile terminal devices, accordingly, it is possible to provide a variety of common
Type, tester can select to test tested application on which type), can be automatically performed and apply in different machines
The adaptations such as type, the installation of heterogeneous networks, operation are tested;It is furthermore it is also possible to the test process of multiple adaptation types is remotely real-time
Client is showed, in this way, tester can be more intuitively checked in adaptation test process, is tested the interface of application each
The display situation being adapted on type also allows for finding in pattern, data displaying etc. with the presence or absence of defect.Meanwhile the application
Also adaptation platform is got through with defective system in embodiment, it, can be directly in adaptation platform after tester has found defect
Middle to initiate to submit, relevant information is directly submitted to defective system by adaptation platform.In short, realize a kind of cross-platform friendship
Mutually so that from the discovery of defect to the submission of defect, the flow of entire adaptation test is more smooth, more efficient.Below to tool
The realization method of body is introduced in detail.
Referring to Fig. 1, the embodiment of the present application provides firstly the side that a kind of application on mobile terminal device is tested
Method, this method can include:
S101:When receiving the application test request from first terminal equipment, according to the test request, determine tested
Using, at least one adaptation type and test script;The first terminal equipment meets setting for prerequisite for screen size
It is standby;
During specific implementation, tester can log on to survey by the test platform client installed in first terminal equipment
Platform Server is tried, and is sending out test request, and this test assignment can be configured, it should including specified be tested
With, adaptation type and test script for using etc..
Wherein, the installation kit for being tested application can upload to test platform server by tester.Test script
It can be that tester writes and uploads to test platform server in advance, certainly, when writing test script, need according to this
Apply for that agreement etc. is write specified in the test platform of embodiment.Alternatively, under another realization method, surveyed to reduce
The workload of examination personnel can also be realized by the way of automatic recording script.
Specifically, tester can be in second terminal equipment(Namely the mobile terminal device of any one type)Upper peace
The client of test platform and tested application are filled, passes through test platform client(Second terminal equipment)It can be with test platform
Script Video Record Processor communicate.It should be noted that the test platform client installed in second terminal equipment and the
The function of test platform client of being installed on one terminal device is different,, can be in the embodiment of the present application for ease of distinguishing
The former is known as " the second client ", the latter is known as " the first client ".Second client can be recorded with the script of test platform
After control server establishes communication connection, and the tested application installed in second terminal equipment is activated, tester couple
During the various operations of tested application execution, the control that the second client can operate tester is identified, and
It can identify specific event, for example, in the case where tester clicks certain button in main interface, the second client
It can identify what control the button particularly belongs to, and identify " click " event, the specifying information of these operations is pressed
Agreement as agreed automatically generates recording script, and uploads on Video Record Processor.
It is recorded by automatic script, is equivalent to and holds tester to tested application on a certain mobile terminal device
Capable concrete operations are recorded, and subsequently when performing the test script on each adaptation type, are equivalent to be that will test
Concrete operations of the personnel on this mobile terminal device to tested application execution are reset one time on each adaptation type.
It should be noted that for the various controls included in the interface of tested application, some may be general control
(Also referred to as primary control)Namely the control of the definition generation in operating system, this control can be directly according to behaviour
Make control ID in system etc. to be identified.Also some controls are the customized controls of developer, and the second client specifically exists
When carrying out the identification of self-defined control, the identification of specially treated can be done by analyzing source code.
It, can be in short, after tester logs on to test platform by the first client in first terminal equipment
The entrance of the relevant operations such as the tested application of selection, adaptation type, test script is viewed in the user interface of the first client,
And it is therefrom selected.Wherein, in the selection for carrying out tested application, test platform server can pacify according to having got
Each application of packet is filled, the information of each application is returned into the first client, in this way, can be shown on the interface of the first client
Show selectable list of application, tester, which can be therefrom selected in this test assignment, needs the tested application tested.
It is similar with the selection of tested application in the selection for carrying out test script, optional test can be shown in the first client
Script information list, tester therefrom select to need test script to be used in this test assignment.In addition, about adaptation machine
Type, since the server side of test platform is capable of providing the type of plurality of optional, can will be various by the first client
Optional type list display comes out, and tester therefrom selects to be adapted to type needed for this test assignment.
It should be noted that when selecting tested application, adaptation type, test script when information in the first client, it is
It is convenient for when carrying out defect submission, avoids repeating defect submitter, defect recipient(Usually corresponding exploit person
Member), item id etc., above- mentioned information can also be configured.In this way, subsequently finding defect in tester, and submitted
When, it is possible to the information set at this time is directly taken, and is re-entered without tester, improves the efficiency that defect is submitted.
Wherein, so-called item id refers to:The space certain for each allocation of items, is had for it in defective system
The space of the project is distributed in the storage of volume defect information with project id come unique mark defective system.Under normal circumstances, it is lacking
In the system of falling into, each tested corresponding item id of application when carrying out defect submission, is submitted for same project to be tested
Each defect, can be all saved under the item id in defective system.
S102:Indicate that the adaptation type installs the tested application, and the test script is distributed to each adaptation
Type;
After tested application, adaptation type and test script is determined, test platform can be to each adaptation machine
Type sends the installation kit of tested application, the tested application of instruction adaptation type installation, and can be distributed to test script each
It is adapted to type.
Wherein, test platform server can be pre-configured with each communication connection being adapted between type, lead to
The communication connection is crossed, test platform can send the control data such as signal or installation kit, test script to each adaptation type,
The relevant test result informations such as sectional drawing can also be returned to test platform server by being adapted to type.
S103:It indicates that the adaptation type starts the tested application, performs the test script, and performing operation
When, sectional drawing is carried out to implementing result, and the sectional drawing of gained is returned;
After adaptation type is mounted with tested application, test platform server can indicate that each adaptation type starts
Tested application, and perform test script.That is it is previously described to be adapted to each step operation recorded in test script
It is reset on type.
S104:By way of remote monitoring, the test script implementation procedure being adapted on type is returned to described first
Terminal device, to show test knot of the adaptation type in respective operations step on a user interface in first terminal equipment
Fruit;Wherein, the test result of at least one adaptation type is shown in the user interface simultaneously;
During being adapted to type and being tested, test center's server can will be adapted to the processing procedure on type
Interface returns to the first client of first terminal equipment in real time, although in this way, specifically adaptation type is located at remote service
Device side still, for tester, still can be directly viewed by the first client in test process, Ge Geshi
With the interface display situation in type.
In with test assignment, the adaptation type of selection often have it is multiple, in the embodiment of the present application, can be the
The execution interface of multiple adaptation types is shown on the interface of one client simultaneously.Certainly, due to the screen ruler of first terminal equipment
Very little is also after all limited, in order to ensure display effect, only can show certain amount on the interface of the first client(Such as
Four, six etc.)Adaptation type in interface, other adaptation types in sectional drawing results can be directly in test platform service
It is preserved on device, subsequently when tester needs to check, can be downloaded from test platform server.Preferably,
For each adaptation type shown, the sectional drawing of each step can be preserved on test platform server as a result,
It is used so that tester downloads.
Wherein, for directly showing the adaptation type at each operating procedure interface in the user interface of the first client and
Speech, tester can intuitively have found to be tested to apply when being run on each adaptation type very much, what each operating procedure obtained
The display situation at interface, and show at the same time it is multiple adaptation types interface display situation when, can also facilitate different
Compared between type, this be more advantageous to identifying defects of wherein some adaptation type on run when there may be.
S105:When receiving the request for submitting defect, according to the interface of defective system, by the targeted fit machine where defect
The information and target sectional drawing of type are submitted to the defective system.
During adaptation type is performed according to test script per single stepping, due on the boundary of the first client
The interface display situation of some adaptation types is shown on face, therefore, if existing defects in some adaptation type, tester
Member can have found in time.Therefore, in the embodiment of the present application, can directly be carried in the user interface of the first client
The operation entry of defect is handed over, wherein, each type that is adapted to can correspond to a defect submission entrance.
As shown in Fig. 2, it is the display situation in the user interface of the first client, wherein, while show that four are fitted
Interface display situation with type during perform script, it is seen then that " key submits bug " therein is exactly for carrying out defect
The operation entry of submission, meanwhile, each operation entry for being adapted to type also one corresponding " downloading sectional drawing ", for entirely testing
Sectional drawing in the process carries out packing download.If tester has found existing defects in certain adaptation type, it is possible to suitable by this
The defects of being corresponded to type submits entrance to initiate to submit request, and correspondingly, the first client can be transmitted to test platform clothes
It is engaged in device, test platform server can get the interface of defective system in advance, by the interface by the mark of the adaptation type
Information(Such as model etc.)And the sectional drawing being currently displaying is submitted to defective system.Certainly, when carrying out defect submission, such as
Fruit is configured the information such as submitter's information, recipient information and item id in step S101, then in testing
These information directly can be submitted to defective system by the heart.If be not configured in step S101, can prompt to test
Personnel input above- mentioned information when submitting defect.
In addition, test platform in addition to by the information and corresponding shot image information that are adapted to type be submitted to defective system it
It outside, can also be by network state(For example, either three-level network or whether connected in two level with the mode of WiFi)It submits
To defective system, so that corresponding developer is referred to when positioning and reappearing problem.
It should be noted that when tester submits entrance to have submitted some defect by defect, test platform can be with
It temporarily ceases to each adaptation type distribution test script, in this way, each adaptation type can suspend test.By defect
Relevant information is submitted to defective system and then continues to execute the distribution and execution of test script.
It, can be on the adaptation type of server end during testing results script in short, in the embodiment of the present application
By the interface in multiple adaptation type implementation procedures in the first client, real-time display is to test by way of remote monitoring
Personnel, in this way, tester can intuitively identify defects of it is tested apply when being run in some adaptation type there may be.
Also, directly test platform and defective system are got through, tester, can be directly from test platform after defect is found
Client initiates defect and submits request, and the relevant information of defect directly can be submitted to defect system by the server of test platform
System.Therefore the efficiency of defect submission is improved.
Case described above is all to be actively discovered by tester and submit defect, in practical applications, if certain is suitable
With type during the tested application of operation, there is phenomena such as memory spilling, system crash, it is also possible to answer due to tested
Caused by existing defects, therefore should also it be submitted in defective system.In the embodiment of the present application, test platform server can
It is monitored with the operating condition to each adaptation type, if this occurs, abnormal log can be captured, at this point,
Test platform server can be before exception will occur automatically certain amount(Such as 5 to 10)Width sectional drawing and corresponding adaptation
Identification information and abnormal log of type etc. are submitted to defective system.It certainly, can be to being truncated to each section in specific implementation
Time during figure is recorded, and this temporal information can realize the sequence to sectional drawing, and then, in the wrong day of certain adaptation type
When abnormal phenomenon is captured in will, the time that can be intercepted according to the time and each sectional drawing of capture, abnormal hair is extracted
A certain number of sectional drawings before life.
It is corresponding with the method that the application provided by the embodiments of the present application on mobile terminal device is tested, the application
Embodiment additionally provides the device that a kind of application on mobile terminal device is tested, and referring to Fig. 3, which can wrap
It includes:
Information determination unit 301 is tested, during for receiving the application test request from first terminal equipment, according to institute
Test request is stated, determines tested application, at least one adaptation type and test script;The first terminal equipment is screen ruler
The very little equipment for meeting prerequisite;
First indicating unit 302 is used to indicate the adaptation type and installs the tested application, and by the test script
It is distributed to each adaptation type;
Second indicating unit 303 is used to indicate the adaptation type and starts the tested application, performs the test foot
This, and when performing operation, sectional drawing is carried out to implementing result, and the sectional drawing of gained is returned;
Interface returning unit 304, for by way of remote monitoring, the test script implementation procedure on type will to be adapted to
The first terminal equipment is returned to, shows the adaptation type right on a user interface in first terminal equipment so as to described
Answer the test result of operating procedure;Wherein, the test result of at least one adaptation type is shown in the user interface simultaneously;
Defect submit unit 305, for receive submit defect request when, according to the interface of defective system, by defect
The information and target sectional drawing of the targeted fit type at place are submitted to the defective system.
Wherein, which can also include:
Script recording elements, after receiving the script recording request in second terminal equipment, according to described second eventually
Operation of the application and user run in end equipment to the related service logic of the application execution carries out script recording, generation
Test script, and preserved.
Meanwhile in order to avoid error, which can also include:
Installation file receiving unit, for receiving the installation file for the tested application that the second terminal equipment uploads, and
Preserve the correspondence between the installation file and the test script.
In addition, the device can also include:
Entrance provides unit, for being that each adaptation type shown is respectively provide for carrying in the user interface
Hand over the user's operation entrance of defect;
The defect submits unit 305 specifically to can be used for:
The request of user's submission defect is received by the user's operation entrance, by the corresponding adaptation of user's operation entrance
Type is determined as the targeted fit type where defect, and the sectional drawing being currently displaying in the targeted fit type is determined as
Target sectional drawing;
According to the interface of defective system, the information of the targeted fit type where defect and target sectional drawing are submitted to institute
State defective system.
In addition, the device can also specifically include:
When receiving the request of user's submission defect by the user's operation entrance, suspend and surveyed to each adaptation type distribution
Training sheet.
It further includes:
The defects of user submits submitter information, defect recipient information and/or described be tested is received to apply in defect system
Corresponding project id information in system, to be submitted in defective system.
In addition, it can include:
Sectional drawing in each adaptation type is stored respectively, wherein, for same adaptation type, each sectional drawing is deposited
Storage sequence is identical with the execution sequence respectively operated in test script.
Temporal information when each sectional drawing is intercepted can also be stored with, described device can also include:
Exception catching unit, for passing through the error log for reading adaptation type, the exception occurred in capture adaptation type
Phenomenon;
Sectional drawing determination unit if being abnormal phenomenon for capturing in an adaptation type, is sent out according to abnormal phenomenon
Time when each sectional drawing is intercepted in raw time and the adaptation type determines preset number before the generation abnormal phenomenon
Sectional drawing;
It is automatic to submit unit, for the interface according to defective system, by the information of the adaptation type and the preset number
Purpose sectional drawing is submitted to defective system.
The device can also include:
Download unit, during for receiving the request for downloading the sectional drawing in specified adaptation type, according to the information stored,
Returning response.
Wherein, the test script divides scripted code including multi-section, wherein, between each section scripted code independently of each other,
An operating procedure is corresponded to per part scripted code;First indicating unit is specifically used for when distributing script:
The corresponding scripted code of an operating procedure is distributed to each adaptation type every time.
In short, in above device provided by the embodiments of the present application, the testing results foot on the adaptation type of server end
During this, the test operating procedure in multiple adaptation types can be directly displayed to tester in the first client
Member, in this way, tester can intuitively identify defects of it is tested apply when being run in some adaptation type there may be.And
And directly get through test platform and defective system, tester, can be directly from the visitor of test platform after defect is found
Family end initiates defect and submits request, and the relevant information of defect directly can be submitted to defect system by the server of test platform
System.Therefore the efficiency of defect submission is improved.
As seen through the above description of the embodiments, those skilled in the art can be understood that the application can
It is realized by the mode of software plus required general hardware platform.Based on such understanding, the technical solution essence of the application
On the part that the prior art contributes can be embodied in the form of software product in other words, the computer software product
It can be stored in storage medium, such as ROM/RAM, magnetic disc, CD, be used including some instructions so that a computer equipment
(Can be personal computer, server or the network equipment etc.)Perform the certain of each embodiment of the application or embodiment
Method described in part.
Each embodiment in this specification is described by the way of progressive, identical similar portion between each embodiment
Point just to refer each other, and the highlights of each of the examples are difference from other examples.Especially for system or
For system embodiment, since it is substantially similar to embodiment of the method, so describing fairly simple, related part is referring to method
The part explanation of embodiment.System and system embodiment described above is only schematical, wherein the conduct
The unit that separating component illustrates may or may not be it is physically separate, the component shown as unit can be or
Person may not be physical unit, you can be located at a place or can also be distributed in multiple network element.It can root
Factually border needs to select some or all of module therein realize the purpose of this embodiment scheme.Ordinary skill
Personnel are without creative efforts, you can to understand and implement.
The method and device tested above the application provided herein on mobile terminal device carries out
It is discussed in detail, the principle and implementation of this application are described for specific case used herein, above example
Illustrate to be merely used to help understand the present processes and its core concept;Meanwhile for those of ordinary skill in the art, according to
According to the thought of the application, there will be changes in specific embodiments and applications.In conclusion the content of the present specification
It should not be construed as the limitation to the application.
Claims (10)
1. a kind of method that application on mobile terminal device is tested, which is characterized in that including:
When receiving the application test request from first terminal equipment, according to the test request, tested apply, at least is determined
One adaptation type and test script;The equipment that the first terminal equipment meets prerequisite for screen size;
Indicate that the adaptation type installs the tested application, and the test script is distributed to each adaptation type;
It indicates that the adaptation type starts the tested application, the test script is performed, and when performing operation, to performing knot
Fruit carries out sectional drawing, and the sectional drawing of gained is returned;
By way of remote monitoring, the test script implementation procedure being adapted on type is returned into the first terminal equipment,
So that the first terminal equipment shows test result of the adaptation type in respective operations step on a user interface;Its
In, at least one test result for being adapted to type is shown in the user interface simultaneously;
Each adaptation type to show in the user interface is respectively provide for submitting the user's operation entrance of defect;
The request of user's submission defect is received by the user's operation entrance, by the corresponding adaptation type of the user's operation entrance
The targeted fit type being determined as where defect, and the sectional drawing being currently displaying in the targeted fit type is determined as target
Sectional drawing;
According to the interface of defective system, the information of the targeted fit type where defect and target sectional drawing are submitted to described lack
The system of falling into.
2. it according to the method described in claim 1, it is characterized in that, is further included before the method:
After receiving the script recording request in second terminal equipment, according to the application run in the second terminal equipment and
Operation of the user to the related service logic of the application execution carries out script recording, generates test script, and preserved.
3. it according to the method described in claim 2, it is characterized in that, further includes:
The installation file for the tested application that the second terminal equipment uploads is received, and preserves the installation file and the test
Correspondence between script.
4. it according to the method described in claim 1, it is characterized in that, further includes:
When receiving the request of user's submission defect by the user's operation entrance, suspend to each adaptation type distribution test foot
This.
5. it according to the method described in claim 1, it is characterized in that, further includes:
The defects of user submits submitter information, defect recipient information and/or described be tested is received to apply in defective system
Corresponding project id information, to be submitted in defective system.
6. it according to the method described in claim 1, it is characterized in that, further includes:
Sectional drawing in each adaptation type is stored respectively, wherein, for same adaptation type, the storage of each sectional drawing is suitable
Sequence is identical with the execution sequence respectively operated in test script.
7. according to the method described in claim 6, it is characterized in that, be also stored with temporal information when each sectional drawing is intercepted,
The method further includes:
The error log of type, the abnormal phenomenon occurred in capture adaptation type are adapted to by reading;
The time occurred if capturing in an adaptation type and being abnormal phenomenon according to abnormal phenomenon and the adaptation machine
Time when each sectional drawing is intercepted in type determines the sectional drawing of preset number before the generation abnormal phenomenon;
According to the interface of defective system, the sectional drawing of the information of the adaptation type and the preset number is submitted to defect system
System.
8. it according to the method described in claim 6, it is characterized in that, further includes:
When receiving the request for downloading the sectional drawing in specified adaptation type, according to the information stored, returning response.
9. according to claim 1 to 8 any one of them method, which is characterized in that the test script divides script including multi-section
Code, wherein, between each section scripted code independently of each other, an operating procedure is corresponded to per part scripted code;It is described by institute
It states test script and is distributed to each adaptation type, including:
The corresponding scripted code of an operating procedure is distributed to each adaptation type every time.
10. a kind of device that application on mobile terminal device is tested, which is characterized in that including:
Information determination unit is tested, during for receiving the application test request from first terminal equipment, according to the test
Request determines tested application, at least one adaptation type and test script;The first terminal equipment meets for screen size
The equipment of prerequisite;
First indicating unit is used to indicate the adaptation type and installs the tested application, and the test script is distributed to
Each adaptation type;
Second indicating unit is used to indicate the adaptation type and starts the tested application, performs the test script, and holding
When row is per single stepping, sectional drawing is carried out to implementing result, and the sectional drawing of gained is returned;
Interface returning unit, for by way of remote monitoring, the test script implementation procedure being adapted on type to be returned to
The first terminal equipment, so that the first terminal equipment shows that the adaptation type is walked in respective operations on a user interface
Rapid test result;Wherein, the test result of at least one adaptation type is shown in the user interface;
Entrance provides unit, is respectively provide for submitting lacking for each adaptation type to show in the user interface
Sunken user's operation entrance;
Defect submits unit, for receiving the request of user's submission defect by the user's operation entrance, by the user's operation
The corresponding adaptation type of entrance is determined as the targeted fit type where defect, and will currently shown in the targeted fit type
The sectional drawing shown is determined as target sectional drawing;According to the interface of defective system, by the information of the targeted fit type where defect and
Target sectional drawing is submitted to the defective system.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410008476.XA CN104765678B (en) | 2014-01-08 | 2014-01-08 | The method and device tested the application on mobile terminal device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410008476.XA CN104765678B (en) | 2014-01-08 | 2014-01-08 | The method and device tested the application on mobile terminal device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104765678A CN104765678A (en) | 2015-07-08 |
CN104765678B true CN104765678B (en) | 2018-06-22 |
Family
ID=53647522
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410008476.XA Active CN104765678B (en) | 2014-01-08 | 2014-01-08 | The method and device tested the application on mobile terminal device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104765678B (en) |
Families Citing this family (31)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106598835B (en) * | 2015-10-19 | 2019-12-20 | 广州爱九游信息技术有限公司 | Application testing method, device and system |
CN105335295A (en) * | 2015-12-01 | 2016-02-17 | 上海斐讯数据通信技术有限公司 | Response type layout interface testing method and system and browser |
CN105760300B (en) * | 2016-02-23 | 2018-12-07 | 惠州Tcl移动通信有限公司 | A kind of automated testing method and test macro of STK/UTK business |
CN107179983A (en) * | 2016-03-09 | 2017-09-19 | 阿里巴巴集团控股有限公司 | The method of calibration and device of ui testing result |
CN106168924A (en) * | 2016-07-07 | 2016-11-30 | 北京金山安全软件有限公司 | Software testing method and device and electronic equipment |
CN107608848A (en) * | 2016-07-12 | 2018-01-19 | 博彦科技股份有限公司 | Method of testing and system |
CN106294158A (en) * | 2016-08-11 | 2017-01-04 | 北京小米移动软件有限公司 | Terminal test method, Apparatus and system |
CN106484614B (en) * | 2016-09-29 | 2019-01-22 | 厦门美图之家科技有限公司 | A kind of method, device and mobile terminal for checking picture treatment effect |
CN106569955A (en) * | 2016-11-14 | 2017-04-19 | 合网络技术(北京)有限公司 | Method and system for implementing regression testing |
CN106776323B (en) * | 2016-12-17 | 2019-12-27 | 广州酷狗计算机科技有限公司 | Application testing method and device |
CN106681916A (en) * | 2016-12-20 | 2017-05-17 | 广东小天才科技有限公司 | Method, device and system for testing application power consumption |
CN106843947B (en) * | 2017-01-04 | 2020-01-24 | 腾讯科技(深圳)有限公司 | Method and device for processing code defects |
CN106844204B (en) * | 2017-01-11 | 2020-11-13 | 福建星网视易信息系统有限公司 | Method and system for generating defect report by using mobile terminal |
CN107025174B (en) * | 2017-04-06 | 2020-01-10 | 网易(杭州)网络有限公司 | Method, device and readable storage medium for user interface anomaly test of equipment |
CN107066386A (en) * | 2017-04-12 | 2017-08-18 | 合网络技术(北京)有限公司 | The method of testing and system of a kind of video ads |
CN109582549A (en) * | 2017-09-28 | 2019-04-05 | 北京国双科技有限公司 | A kind of recognition methods of device type and device |
CN108579094B (en) * | 2018-05-11 | 2023-04-18 | 深圳市腾讯网络信息技术有限公司 | User interface detection method, related device, system and storage medium |
CN108776631B (en) * | 2018-05-31 | 2023-06-09 | 康键信息技术(深圳)有限公司 | Server, method for acquiring compatibility test equipment and storage medium |
CN109726107A (en) * | 2018-06-01 | 2019-05-07 | 平安普惠企业管理有限公司 | Test method, device, equipment and storage medium |
CN109491888A (en) * | 2018-09-29 | 2019-03-19 | 中国平安人寿保险股份有限公司 | Application compatibility test method, device and computer readable storage medium |
CN109240934B (en) * | 2018-09-29 | 2023-05-26 | 中国平安人寿保险股份有限公司 | Application program performance test method and device and computer readable storage medium |
CN109656826B (en) * | 2018-12-14 | 2022-01-28 | 深圳前海微众银行股份有限公司 | Application testing method, system, device and computer readable storage medium |
CN110502414B (en) * | 2019-08-20 | 2023-08-29 | Oppo广东移动通信有限公司 | Terminal equipment performance test method and device, terminal equipment and storage medium |
CN110618937A (en) * | 2019-08-29 | 2019-12-27 | 深圳市新系区块链技术有限公司 | Software evaluation method, device and equipment |
CN110515514B (en) * | 2019-08-30 | 2023-11-07 | 腾讯科技(深圳)有限公司 | Data processing method, device and storage medium |
CN110704321A (en) * | 2019-09-27 | 2020-01-17 | 京东数字科技控股有限公司 | Program debugging method and device |
CN113158146A (en) * | 2020-01-07 | 2021-07-23 | 网联清算有限公司 | Script management method, script management platform, computing device and medium |
CN113467864A (en) * | 2020-03-31 | 2021-10-01 | 福建天泉教育科技有限公司 | Mobile terminal H5 user interface adaptation test method and system thereof |
CN111611163A (en) * | 2020-05-21 | 2020-09-01 | 携程计算机技术(上海)有限公司 | Mobile terminal and processing method of defect document in application program thereof |
CN111737149B (en) * | 2020-07-24 | 2020-12-29 | 浙江口碑网络技术有限公司 | Real machine platform, test method and test script processing method |
CN114741325B (en) * | 2022-06-13 | 2022-09-30 | 武汉迎风聚智科技有限公司 | Recording method and device of test script for application system test |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20100041447A (en) * | 2008-10-14 | 2010-04-22 | 삼성전자주식회사 | Apparatus and method for automatic testing of softwares or digital divices |
CN102098695A (en) * | 2009-12-10 | 2011-06-15 | 上海杉达学院 | Mobile phone testing system and method |
JP5490036B2 (en) * | 2011-02-14 | 2014-05-14 | 株式会社Nttドコモ | Test equipment |
CN103152458B (en) * | 2011-12-07 | 2016-04-27 | 中国移动通信集团广东有限公司 | Testing mobile phone, remote mobile phone test system, remote handset method of testing and device |
CN103365770B (en) * | 2012-04-09 | 2016-01-13 | 上海马乐软件有限公司 | Mobile terminal software test macro and method for testing software |
-
2014
- 2014-01-08 CN CN201410008476.XA patent/CN104765678B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN104765678A (en) | 2015-07-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104765678B (en) | The method and device tested the application on mobile terminal device | |
US20160242024A1 (en) | Purposed device management platform | |
CN108647088A (en) | Resource allocation method, device, terminal and storage medium | |
CN106484622A (en) | Method of testing, apparatus and system | |
WO2014150562A1 (en) | Device and settings management platform | |
US20180260201A1 (en) | Intelligent software deployment on an iaas platform | |
CN104050076A (en) | Testing method, device and system of application software on mobile terminal | |
CN104424089A (en) | Terminal testing method and device | |
CN110275822A (en) | Performance test methods, device, equipment and the storage medium of application programming interfaces | |
WO2017016212A1 (en) | Testing method and device for desktop cloud system | |
US20180324031A1 (en) | Diagnostic traffic generation for automatic testing and troubleshooting | |
WO2019057089A1 (en) | Network card image packet capture method, terminal, and readable storage medium | |
CN109525461A (en) | A kind of test method of the network equipment, device, equipment and storage medium | |
US10983903B1 (en) | Enhanced automated protocol for secure application testing | |
CN106776323B (en) | Application testing method and device | |
WO2019178957A1 (en) | Distributed system test method and device, computer device and storage medium | |
CN104572086A (en) | Method and system for acquiring FPS (Frames Per Second) value based on Android Device | |
CN108829588A (en) | A kind of processing method of test application program, deployment system and device | |
CN107168844B (en) | Performance monitoring method and device | |
CN113608812A (en) | Remote control method, device, system and storage medium | |
CN108733545B (en) | Pressure testing method and device | |
CN103561089B (en) | Virtual machine desktop log-in, Apparatus and system | |
US20170132112A1 (en) | Test method and device for business system | |
CN104008043B (en) | Cross-terminal method of testing, end to be tested and test lead | |
CN103729258A (en) | Automatic testing method, terminal and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EXSB | Decision made by sipo to initiate substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |