CN104765678A - Method and device for testing applications on mobile terminal - Google Patents

Method and device for testing applications on mobile terminal Download PDF

Info

Publication number
CN104765678A
CN104765678A CN201410008476.XA CN201410008476A CN104765678A CN 104765678 A CN104765678 A CN 104765678A CN 201410008476 A CN201410008476 A CN 201410008476A CN 104765678 A CN104765678 A CN 104765678A
Authority
CN
China
Prior art keywords
adaptive type
defect
sectional drawing
test
application
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.)
Granted
Application number
CN201410008476.XA
Other languages
Chinese (zh)
Other versions
CN104765678B (en
Inventor
张海华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201410008476.XA priority Critical patent/CN104765678B/en
Publication of CN104765678A publication Critical patent/CN104765678A/en
Application granted granted Critical
Publication of CN104765678B publication Critical patent/CN104765678B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The application discloses a method and a device for testing applications on a mobile terminal. The method for testing the applications on the mobile terminal comprises the following steps: when receiving an application test request from a first terminal, determining a tested application, at least one available model and a test script based on the test request; indicating the available model to install the tested application, and issuing the test script to each available model; indicating the available model to start the tested application for executing the test script, taking a screenshot of the execution result upon executing operations, and returning the acquired screenshot; returning the execution process of the test script on the available model to the first terminal by means of remote monitoring; when receiving a request of submitting defects, submitting information of the target available model having the defects as well as the target screenshot to a defect system. With the method and the device for testing the applications on the mobile terminal, the defects of the tested application in certain available models can be intuitively discovered, accordingly increasing the efficiency of submitting the defects.

Description

The method that application on mobile terminal device is tested and device
Technical field
The application relates to the application testing technical field of mobile terminal, particularly relates to the method and device of testing the application on mobile terminal device.
Background technology
Along with the development of the intelligent mobile terminals such as mobile phone, mobile Internet causes the concern of people gradually, can only to make a phone call photos and sending messages, can surf the Net till now, voice-enabled chat from mobile phone in the past, online shopping, etc., mobile terminal has be unable to do without the life of people.Mobile Internet is also thereupon fast-developing, and constantly emerges the application software being widely used in mobile terminal.
A application software, after being developed, first needs to test.The application software testing type of mobile terminal is broadly divided into: UI test, functional module test, crossing event test, pressure test, security test, compatibility test, ease for use/Consumer's Experience test etc.And the application software testing on mobile terminal is unlike web test on PC, the browser of main flow only has IE, limited several such as Firefox and Chrome, and any one PC can install all browsers, for the application software testing on mobile terminal, mobile terminal device huge number, especially the mobile terminal device of Android operation system, have more serious type fragmentation problem, therefore, tester often needs to test on all mobile terminals, and the cost of the mobile terminal such as mobile phone is also very high, in addition the renewal speed of mobile terminal also quickly, so can both reduce expenses with under the prerequisite of equipment cost, the efficiency of the test that can improve again seems especially important.
In order to adapt to this needs, some automatic test platforms have been there are in prior art, utilize this test platform, tester and can need the installation kit of the application software developed on which mobile terminal device, carry out the information of testing etc. and to upload onto the server end, this application software installed by the mobile terminal device that server end just can be selected tester, and test result is returned to tester.Like this, applied software development side does not just need to test the application software of oneself and purchases a large amount of mobile terminal devices, which saves testing cost.
But, in prior art, be generally tested on each mobile terminal device after, by respective test result, such as, the sectional drawing etc. in that scenario process is performed, unified return to tester, efficiency is very low, and may cause some defects cannot Timeliness coverage.On the other hand, after tester finds defect, need to enter defective system separately again, carry out the operations such as the submission of defect, perform very loaded down with trivial details.
Summary of the invention
This application provides the method and device of testing the application on mobile terminal device, tester can find testedly to be applied in the defect that may exist when running in certain adaptive type intuitively, and improves the efficiency that defect submits to.
This application provides following scheme:
To the method that the application on mobile terminal device is tested, comprising:
When receiving the application testing request from first terminal equipment, according to described test request, determine tested application, at least one adaptive type and test script; Described first terminal equipment is the equipment that screen size meets prerequisite;
Indicate described adaptive type that described tested application is installed, and described test script is distributed to each adaptive type;
Indicate described adaptive type to start described tested application, perform described test script, and when executable operations, sectional drawing is carried out to execution result, and the sectional drawing of gained is returned;
By the mode of remote monitoring, the test script implementation on adaptive type is returned to described first terminal equipment, show the test result of described adaptive type in respective operations step so that described on a user interface at first terminal equipment; Wherein, described user interface shows simultaneously the test result of at least one adaptive type;
When receiving the request submitting defect to, according to the interface of defective system, the information of the targeted fit type at defect place and target sectional drawing are submitted to described defective system.
To the device that the application on mobile terminal device is tested, comprising:
Detecting information determining unit, during for receiving the application testing request from first terminal equipment, according to described test request, determines tested application, at least one adaptive type and test script; Described first terminal equipment is the equipment that screen size meets prerequisite;
First indicating member, is used to indicate described adaptive type and installs described tested application, and described test script is distributed to each adaptive type;
Second indicating member, is used to indicate described adaptive type and starts described tested application, perform described test script, and when executable operations, carry out sectional drawing to execution result, and returned by the sectional drawing of gained;
Interface returns unit, for the mode by remote monitoring, test script implementation on adaptive type is returned to described first terminal equipment, shows the test result of described adaptive type in respective operations step so that described on a user interface at first terminal equipment; Wherein, described user interface shows simultaneously the test result of at least one adaptive type;
Defect commit unit, during for receiving the request submitting defect to, according to the interface of defective system, is submitted to described defective system by the information of the targeted fit type at defect place and target sectional drawing.
According to the specific embodiment that the application provides, this application discloses following technique effect:
Pass through the embodiment of the present application, on the adaptive type of server end testing results script process in, in the first client, the test operating procedure in multiple adaptive type directly can be shown to tester, like this, tester can find testedly to be applied in the defect that may exist when running in certain adaptive type intuitively.Further, test platform and defective system are got through, tester, after discovery defect, directly can initiate defect from the client of test platform and submit request to, and the information that defect is relevant just directly can be submitted to defective system by the server of test platform.Therefore improve the efficiency that defect is submitted to.
Certainly, the arbitrary product implementing the application might not need to reach above-described all advantages simultaneously.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present application or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment below, apparently, accompanying drawing in the following describes is only some embodiments of the application, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the process flow diagram of the method that the embodiment of the present application provides;
Fig. 2 is the system architecture schematic diagram that the embodiment of the present application provides;
Fig. 3 is the schematic diagram of the device that the embodiment of the present application provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present application, be clearly and completely described the technical scheme in the embodiment of the present application, obviously, described embodiment is only some embodiments of the present application, instead of whole embodiments.Based on the embodiment in the application, the every other embodiment that those of ordinary skill in the art obtain, all belongs to the scope of the application's protection.
First it should be noted that, to the adaptation test of application in the embodiment of the present application, mainly refer to the test to user interface (UI) layer, such as, testedly be applied in when running in concrete mobile terminal device, whether the pattern of the display such as the control in user interface, word etc. are normal.Wherein, user interface not only comprises the main interface of application, the sub-interfaces at different levels that the control also comprised in interface demonstrates upon being triggered.So-called control just refers to the button (Button), text box (TextView), picture (ImageView) etc. that can trigger in the user interface of application, multiple control may be included in an interface, after a control is triggered, sub-interface may be obtained, in sub-interface, multiple control may be included again.For realizing the test to interface UI at different levels, tester can write test script in advance, define in this test script in the process run in tested application, need what kind of order to perform which operation according to, which such as, all need to trigger control etc., like this, in the process that script performs, every single stepping all may trigger and obtain new user interface.Certainly, because the mobile terminal device of real testing results script is generally that test platform provides, for tester, mobile terminal device is at far-end, also be the server end of test platform, therefore, tester directly can not see the operation result in each mobile terminal device.For this reason, general needs all carry out sectional drawing to the user interface obtained after often walking operation, then the client of test platform is returned to, show sectional drawing in client to tester, tester just can according to this sectional drawing judge tested be applied in run in each mobile terminal device time whether existing defects.
In prior art, test platform be generally in mobile terminal device, perform complete test script after, returning to client after being gathered by the sectional drawing of gained for tester checks.But this mode can make tester obtain the time lag of test result, and find that the efficiency of defect is not high yet.The more important thing is, after finding defect, also need again to sign in in defective system and submit to, efficiency comparison is low.
Wherein, so-called defective system is the fault management system provided for test, developer, and system comprises submission defect, the functions such as managing defect.Tester is after being submitted to defective system by defect, and developer can check in defective system which defect application has, and then can improve etc. according to the code of defect to application.
In the embodiment of the present application, in order to provide more intuitive test result to tester, convenient tester finds the tested defect be applied in when concrete adaptive type runs, and after discovery defect, also be convenient to defect is submitted to defective system for reference during developer's update routine, terminal device (the such as PC that tester can be allowed to utilize there is large-size screen, notebook computer, panel computer etc., it should be noted that, this terminal device is not directly run tested application, but for showing test results, for ease of distinguishing, in the embodiment of the present application, this terminal device is called first terminal equipment) on enter into the test platform of the embodiment of the present application, test assignment is configured, test platform provides multiple adaptive type, and (tested application generally needs to test respectively in multiple mobile terminal devices, therefore, a variety of conventional type may be provided, tester can select to test tested application on which type), automatically can complete and be applied in different type of machines, the installation of heterogeneous networks, the adaptive test such as operation, in addition, can also by the long-range real-time exhibition of test process of multiple adaptive type to client, like this, tester can check in adaptive test process more intuitively, the display situation of interface on each adaptive type of tested application, to be also convenient to find in pattern, data display etc. whether existing defects., also adaptive platform and defective system are got through in the embodiment of the present application, after tester finds defect, can directly initiate to submit in adaptive platform, relevant information be directly submitted to defective system by adaptive platform meanwhile.In a word, achieve a kind of cross-platform mutual, make the submission being found to defect from defect, the flow process of whole adaptation test is more smooth and easy, and efficiency is higher.Below concrete implementation is introduced in detail.
See Fig. 1, the embodiment of the present application provide firstly a kind of method of testing the application on mobile terminal device, and the method can comprise:
S101: when receiving the application testing request from first terminal equipment, according to described test request, determines tested application, at least one adaptive type and test script; Described first terminal equipment is the equipment that screen size meets prerequisite;
During specific implementation, tester can by test platform client logs that first terminal equipment is installed to test platform server, and sending test request, and can be configured this test assignment, to comprise the test script etc. of specifying tested application, adaptive type and use.
Wherein, the installation kit of tested application can upload to test platform server by tester.Test script can be that tester writes in advance and uploads to test platform server, certainly, when writing test script, needs the agreement etc. specified in the test platform according to the embodiment of the present application to write.Or, under another kind of implementation, in order to reduce the workload of tester, also can adopt the mode of automatic recording script to realize.
Concrete, tester in the client of the second terminal device (being also the mobile terminal device of any one type) upper installation testing platform and tested application, can be communicated with the script Video Record Processor of test platform by test platform client (the second terminal device).It should be noted that, the function of the test platform client that the test platform client that the second terminal device is installed and first terminal equipment are installed is different, for ease of distinguishing, in the embodiment of the present application, the former can be called " the second client ", the latter is called " the first client ".Second client can establish a communications link with the script Video Record Processor of test platform, and after the tested application of installing on the second terminal device is activated, tester performs in the process of various operation to tested application, second client can identify the control of tester's operation, and concrete event can be identified, such as, when clicking certain button on main interface when tester, second client can identify this button and specifically belong to what control, and identify " click " event, these specifying informations operated are generated recording script automatically according to the agreement of agreement, and upload on Video Record Processor.
Recorded by automatic script, tester is equivalent to carry out record to the concrete operations that tested application performs on a certain mobile terminal device, follow-up when performing this test script on each adaptive type, be the equal of just by tester on this mobile terminal device to the concrete operations that tested application performs, on each adaptive type reset one time.
It should be noted that, the various controls comprised in interface for tested application, what have may be general control (control also referred to as primary), and also namely according to the control that the definition in operating system generates, this control can directly identify according to the control ID etc. in operating system.Also some control is the self-defining control of developer, and the second client, specifically when carrying out the identification of self-defined control, can do the identification of special processing by analyzing source code.
In a word, after tester is by the first client logs on first terminal equipment to test platform, the entrance selecting the associative operations such as tested application, adaptive type, test script can be viewed in the user interface of the first client, and therefrom select.Wherein, when carrying out the selection of tested application, test platform server can according to each application getting installation kit, each information applied is returned to the first client, like this, the interface of the first client can show selectable list of application, and tester therefrom can select the tested application needing in this test assignment to test.When carrying out the selection of test script, similar with the selection of tested application, the first client can demonstrate optional test script information list, tester therefrom selects the test script needing in this test assignment to use.In addition, about adaptive type, the server side due to test platform can provide the type of plurality of optional, therefore, various optional type list can be shown by the first client, tester therefrom selects adaptive type required in this test assignment.
It should be noted that, when first client is selected the information such as tested application, adaptive type, test script, for the ease of when carrying out defect and submitting to, avoid repeating defect submitter, defect recipient (being generally corresponding developer), item id etc., can also be configured above-mentioned information.Like this, follow-uply find defect tester, and when submitting to, just can directly bring the information now arranged, and re-enter without tester, improve the efficiency that defect is submitted to.
Wherein, so-called item id refers to: be the space that each allocation of items is certain in defective system, carry out depositing of concrete defect information, come with project id the space that unique identification defective system distributes to this project for it.Generally, in defective system, the corresponding item id of each tested application, when carrying out defect and submitting to, for each defect that same project to be tested is submitted to, under being all saved in this item id in defective system.
S102: indicate described adaptive type to install described tested application, and described test script is distributed to each adaptive type;
After determining tested application, adaptive type and test script, test platform just can send the installation kit of tested application to each adaptive type, indicate adaptive type to install tested application, and test script can be distributed to each adaptive type.
Wherein, communication connection between test platform server and each adaptive type can be pre-configured, by this communication connection, test platform can transmit control signal or the data such as installation kit, test script to each adaptive type, and adaptive type also can return the relevant test result information such as sectional drawing to test platform server.
S103: indicate described adaptive type to start described tested application, perform described test script, and when executable operations, sectional drawing is carried out to execution result, and the sectional drawing of gained is returned;
After adaptive type has installed tested application, test platform server just can indicate each adaptive type to start tested application, and performs test script.That is the previously described each step recorded in test script being operated on adaptive type is reset.
S104: by the mode of remote monitoring, returns to described first terminal equipment by the test script implementation on adaptive type, to show the test result of described adaptive type in respective operations step on a user interface at first terminal equipment; Wherein, described user interface shows simultaneously the test result of at least one adaptive type;
Carry out in the process of testing at adaptive type, processing procedure interface on adaptive type can be returned to the first client of first terminal equipment by test center's server in real time, like this, although concrete adaptive type is positioned at far-end server side, but, for tester, still can directly view in test process by the first client, the interface display situation in each adaptive type.
In a same test assignment, the adaptive type of selection often has multiple, in the embodiment of the present application, can show the execution interface of multiple adaptive type on the interface of the first client simultaneously.Certainly, screen size due to first terminal equipment is also limited after all, in order to ensure display effect, the interface in the adaptive type of some (such as four, six etc.) only can be shown on the interface of the first client, sectional drawing result in other adaptive types can directly be preserved on test platform server, follow-up when tester needs to check, can download from test platform server.Preferably, for each the adaptive type shown, the sectional drawing result of each step can be preserved on test platform server, download use for tester.
Wherein, for the direct adaptive type demonstrating each operation steps interface in the user interface of the first client, tester can find testedly to be applied in when each adaptive type runs very intuitively, the display situation at the interface that each operation steps obtains, and when showing the interface display situation of multiple adaptive type at the same time, also can conveniently contrast between different types, this is more conducive to finding the defect that may exist when wherein certain adaptive type runs.
S105: when receiving the request submitting defect to, according to the interface of defective system, the information of the targeted fit type at defect place and target sectional drawing are submitted to described defective system.
Perform in the process of every single stepping at adaptive type according to test script, owing to showing the interface display situation of some adaptive types on the interface of the first client, therefore, if existing defects in certain adaptive type, tester just can Timeliness coverage.Therefore, in the embodiment of the present application, directly can provide the operation entry submitting defect in the user interface of the first client, wherein, each adaptive type a corresponding defect can submit entrance to.
As shown in Figure 2, it is the display situation in the user interface of the first client, wherein, show four adaptive types simultaneously and perform the interface display situation in scenario process, visible, " key submits bug to " is wherein exactly the operation entry for carrying out defect submission, simultaneously, the operation entry of each adaptive type also corresponding " download sectional drawing ", for carrying out packing download to the sectional drawing in whole test process.If tester finds existing defects in certain adaptive type, just can entrance be submitted to initiate to submit request to by the defect that this adaptive type is corresponding, correspondingly, first client just can be transmitted to test platform server, test platform server can get the interface of defective system in advance, by this interface, the identification information (such as model etc.) of this adaptive type and the current sectional drawing shown is submitted to defective system.Certainly, when carrying out defect and submitting to, if configured information such as submitter's information, recipient information and item ids in step S101, then these information directly can be submitted to defective system by test center.If be not configured in step S101, then tester can be pointed out to input above-mentioned information when submitting defect to.
In addition, test platform is except being submitted to except defective system by the information of adaptive type and the shot image information of correspondence, can also by network state (such as, be in secondary or three-level network, or whether connect by the mode of WiFi) be submitted to defective system, for corresponding developer locate and reappear problem time carry out reference.
It should be noted that, when tester submits to entrance to have submitted certain defect by defect, test platform can temporarily stop to each adaptive type distribution test script, and like this, each adaptive type can suspend test.After the relevant information of defect is submitted to defective system, then continue the distribution and the execution that perform test script.
In a word, in the embodiment of the present application, on the adaptive type of server end testing results script process in, can by the interface in multiple adaptive type implementation in the first client, tester is shown in real time by the mode of remote monitoring, like this, tester can find testedly to be applied in the defect that may exist when running in certain adaptive type intuitively.Further, directly test platform and defective system are got through, tester, after discovery defect, directly can initiate defect from the client of test platform and submit request to, and the information that defect is relevant just directly can be submitted to defective system by the server of test platform.Therefore improve the efficiency that defect is submitted to.
Above-described situation is all initiatively found by tester and submit defect to, in actual applications, if certain adaptive type is in the process running tested application, the phenomenons such as internal memory spilling, system crash are there is, also may cause due to tested application existing defects, therefore also should be submitted in defective system.In the embodiment of the present application, test platform server can be monitored the ruuning situation of each adaptive type, if this occurs, abnormal log can be captured, now, test platform server can automatically by occur abnormal before some (such as 5 to 10) width sectional drawing and the identification information of adaptive type of correspondence and abnormal log etc. be submitted to defective system.Certainly, when specific implementation, record can be carried out to time when being truncated to each sectional drawing, this temporal information can realize the sequence to sectional drawing, and then, when capturing abnormal occurrence in the error log of certain adaptive type, according to the time of catching and each sectional drawing by the time intercepted, the sectional drawing of the some before abnormal generation can be extracted.
Corresponding with the method for testing the application on mobile terminal device that the embodiment of the present application provides, the embodiment of the present application additionally provides a kind of device tested the application on mobile terminal device, and see Fig. 3, this device can comprise:
Detecting information determining unit 301, during for receiving the application testing request from first terminal equipment, according to described test request, determines tested application, at least one adaptive type and test script; Described first terminal equipment is the equipment that screen size meets prerequisite;
First indicating member 302, is used to indicate described adaptive type and installs described tested application, and described test script is distributed to each adaptive type;
Second indicating member 303, is used to indicate described adaptive type and starts described tested application, perform described test script, and when executable operations, carry out sectional drawing to execution result, and returned by the sectional drawing of gained;
Interface returns unit 304, for the mode by remote monitoring, test script implementation on adaptive type is returned to described first terminal equipment, shows the test result of described adaptive type in respective operations step so that described on a user interface at first terminal equipment; Wherein, described user interface shows simultaneously the test result of at least one adaptive type;
Defect commit unit 305, during for receiving the request submitting defect to, according to the interface of defective system, is submitted to described defective system by the information of the targeted fit type at defect place and target sectional drawing.
Wherein, this device can also comprise:
Script recording elements, after receiving the script recording request on the second terminal device, according to the application that described second terminal device runs and user to the operation of the related service logic that this application performs, carry out script recording, generate test script, and preserve.
Meanwhile, in order to avoid makeing mistakes, this device can also comprise:
Installation file receiving element, for receiving the installation file of the tested application that described second terminal device is uploaded, and preserves the corresponding relation between described installation file and described test script.
In addition, this device can also comprise:
Entrance providing unit, in described user interface for each the adaptive type demonstrated is provided for submitting the user operation entrance of defect to respectively;
Described defect commit unit 305 specifically may be used for:
Receive by described user operation entrance the request that user submits defect to, adaptive type corresponding for this user operation entrance is defined as the targeted fit type at defect place, and the sectional drawing shown current in this targeted fit type is defined as target sectional drawing;
According to the interface of defective system, the information of the targeted fit type at defect place and target sectional drawing are submitted to described defective system.
In addition, this device specifically can also comprise:
By described user operation entrance receive user submit the request of defect to time, suspend to each adaptive type distribution test script.
Also comprise:
Receive the defect submitter information of user's submission, defect recipient information and/or the described tested item id information being applied in correspondence in defective system, to be submitted in defective system.
In addition, can also comprise:
Store respectively the sectional drawing in each adaptive type, wherein, for same adaptive type, the storage order of each sectional drawing is identical with the execution sequence respectively operated in test script.
Can also store temporal information when each sectional drawing is intercepted, described device can also comprise:
Exception catching unit, for the error log by reading adaptive type, catches the abnormal occurrence occurred in adaptive type;
Sectional drawing determining unit, if there is abnormal occurrence for capturing in an adaptive type, then according to the time that abnormal occurrence occurs, and time when each sectional drawing is intercepted in this adaptive type, determines to occur the sectional drawing of preset number before this abnormal occurrence;
Automatic commit unit, for the interface according to defective system, is submitted to defective system by the sectional drawing of the information of this adaptive type and described preset number.
This device can also comprise:
Download unit, during for receiving the request of downloading the sectional drawing of specifying in adaptive type, according to stored information, returns response.
Wherein, described test script comprises many parts scripted code, wherein, separate between each several part scripted code, the corresponding operation steps of every part scripted code; Described first indicating member distribute script time, specifically for:
At every turn scripted code corresponding for operation steps is distributed to each adaptive type.
In a word, in the said apparatus that the embodiment of the present application provides, on the adaptive type of server end testing results script process in, in the first client, the test operating procedure in multiple adaptive type directly can be shown to tester, like this, tester can find testedly to be applied in the defect that may exist when running in certain adaptive type intuitively.Further, directly test platform and defective system are got through, tester, after discovery defect, directly can initiate defect from the client of test platform and submit request to, and the information that defect is relevant just directly can be submitted to defective system by the server of test platform.Therefore improve the efficiency that defect is submitted to.
As seen through the above description of the embodiments, those skilled in the art can be well understood to the mode that the application can add required general hardware platform by software and realizes.Based on such understanding, the technical scheme of the application can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product can be stored in storage medium, as ROM/RAM, magnetic disc, CD etc., comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform the method described in some part of each embodiment of the application or embodiment.
Each embodiment in this instructions all adopts the mode of going forward one by one to describe, between each embodiment identical similar part mutually see, what each embodiment stressed is the difference with other embodiments.Especially, for system or system embodiment, because it is substantially similar to embodiment of the method, so describe fairly simple, relevant part illustrates see the part of embodiment of the method.System described above and system embodiment are only schematic, the wherein said unit illustrated as separating component or can may not be and physically separates, parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of module wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.Those of ordinary skill in the art, when not paying creative work, are namely appreciated that and implement.
The method that the application on mobile terminal device is tested above the application provided and device, be described in detail, apply specific case herein to set forth the principle of the application and embodiment, the explanation of above embodiment is just for helping method and the core concept thereof of understanding the application; Meanwhile, for one of ordinary skill in the art, according to the thought of the application, all will change in specific embodiments and applications.In sum, this description should not be construed as the restriction to the application.

Claims (11)

1. to the method that the application on mobile terminal device is tested, it is characterized in that, comprising:
When receiving the application testing request from first terminal equipment, according to described test request, determine tested application, at least one adaptive type and test script; Described first terminal equipment is the equipment that screen size meets prerequisite;
Indicate described adaptive type that described tested application is installed, and described test script is distributed to each adaptive type;
Indicate described adaptive type to start described tested application, perform described test script, and when executable operations, sectional drawing is carried out to execution result, and the sectional drawing of gained is returned;
By the mode of remote monitoring, the test script implementation on adaptive type is returned to described first terminal equipment, show the test result of described adaptive type in respective operations step so that described on a user interface at first terminal equipment; Wherein, described user interface shows simultaneously the test result of at least one adaptive type;
When receiving the request submitting defect to, according to the interface of defective system, the information of the targeted fit type at defect place and target sectional drawing are submitted to described defective system.
2. method according to claim 1, is characterized in that, also comprises before described method:
After receiving the script recording request on the second terminal device, according to the application that described second terminal device runs and user to the operation of the related service logic that this application performs, carry out script recording, generate test script, and preserve.
3. method according to claim 2, is characterized in that, also comprises:
Receive the installation file of the tested application that described second terminal device is uploaded, and preserve the corresponding relation between described installation file and described test script.
4. method according to claim 1, is characterized in that, also comprises:
Each adaptive type for demonstrating in described user interface is provided for the user operation entrance submitting defect to respectively;
Describedly receive when submitting the request of defect to, according to the interface of defective system, the information of the targeted fit type at defect place and target sectional drawing be submitted to described defective system, comprise:
Receive by described user operation entrance the request that user submits defect to, adaptive type corresponding for this user operation entrance is defined as the targeted fit type at defect place, and the sectional drawing shown current in this targeted fit type is defined as target sectional drawing;
According to the interface of defective system, the information of the targeted fit type at defect place and target sectional drawing are submitted to described defective system.
5. method according to claim 4, is characterized in that, also comprises:
By described user operation entrance receive user submit the request of defect to time, suspend to each adaptive type distribution test script.
6. method according to claim 4, is characterized in that, also comprises:
Receive the defect submitter information of user's submission, defect recipient information and/or the described tested item id information being applied in correspondence in defective system, to be submitted in defective system.
7. method according to claim 1, is characterized in that, also comprises:
Store respectively the sectional drawing in each adaptive type, wherein, for same adaptive type, the storage order of each sectional drawing is identical with the execution sequence respectively operated in test script.
8. method according to claim 7, is characterized in that, also store temporal information when each sectional drawing is intercepted, described method also comprises:
By reading the error log of adaptive type, catch the abnormal occurrence occurred in adaptive type;
If capture in an adaptive type and abnormal occurrence occurs, then according to the time that abnormal occurrence occurs, and time when each sectional drawing is intercepted in this adaptive type, determine to occur the sectional drawing of preset number before this abnormal occurrence;
According to the interface of defective system, the sectional drawing of the information of this adaptive type and described preset number is submitted to defective system.
9. method according to claim 7, is characterized in that, also comprises:
When receiving the request of downloading the sectional drawing of specifying in adaptive type, according to stored information, return response.
10. the method according to any one of claim 1 to 9, is characterized in that, described test script comprises many parts scripted code, wherein, separate between each several part scripted code, the corresponding operation steps of every part scripted code; Described described test script is distributed to each adaptive type, comprises:
At every turn scripted code corresponding for operation steps is distributed to each adaptive type.
11. 1 kinds of devices tested the application on mobile terminal device, is characterized in that, comprising:
Detecting information determining unit, during for receiving the application testing request from first terminal equipment, according to described test request, determines tested application, at least one adaptive type and test script; Described first terminal equipment is the equipment that screen size meets prerequisite;
First indicating member, is used to indicate described adaptive type and installs described tested application, and described test script is distributed to each adaptive type;
Second indicating member, is used to indicate described adaptive type and starts described tested application, perform described test script, and when performing every single stepping, carrying out sectional drawing, and returned by the sectional drawing of gained execution result;
Interface returns unit, for the mode by remote monitoring, test script implementation on adaptive type is returned to described first terminal equipment, shows the test result of described adaptive type in respective operations step so that described on a user interface at first terminal equipment; Wherein, described user interface shows the test result of at least one adaptive type;
Defect commit unit, during for receiving the request submitting defect to, according to the interface of defective system, is submitted to described defective system by the information of the targeted fit type at defect place and target sectional drawing.
CN201410008476.XA 2014-01-08 2014-01-08 The method and device tested the application on mobile terminal device Active CN104765678B (en)

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 true CN104765678A (en) 2015-07-08
CN104765678B 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)

Cited By (31)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105335295A (en) * 2015-12-01 2016-02-17 上海斐讯数据通信技术有限公司 Response type layout interface testing method and system and browser
CN105760300A (en) * 2016-02-23 2016-07-13 惠州Tcl移动通信有限公司 Automatic STK/UTK service testing method and system
CN106168924A (en) * 2016-07-07 2016-11-30 北京金山安全软件有限公司 Software testing method and device and electronic equipment
CN106294158A (en) * 2016-08-11 2017-01-04 北京小米移动软件有限公司 Terminal test method, Apparatus and system
CN106484614A (en) * 2016-09-29 2017-03-08 厦门美图之家科技有限公司 A kind of method of verification picture processing effect, device and mobile terminal
CN106569955A (en) * 2016-11-14 2017-04-19 合网络技术(北京)有限公司 Method and system for implementing regression testing
CN106598835A (en) * 2015-10-19 2017-04-26 广州爱九游信息技术有限公司 Application testing method, device and system
CN106681916A (en) * 2016-12-20 2017-05-17 广东小天才科技有限公司 Method, device and system for testing application power consumption
CN106776323A (en) * 2016-12-17 2017-05-31 广州酷狗计算机科技有限公司 Application testing method and device
CN106843947A (en) * 2017-01-04 2017-06-13 腾讯科技(深圳)有限公司 The treating method and apparatus of aacode defect
CN106844204A (en) * 2017-01-11 2017-06-13 福建星网视易信息系统有限公司 A kind of utilization mobile terminal generates the method and system of defect report
CN107025174A (en) * 2017-04-06 2017-08-08 网易(杭州)网络有限公司 For the method for the user interface abnormality test of equipment, device and readable storage media
CN107066386A (en) * 2017-04-12 2017-08-18 合网络技术(北京)有限公司 The method of testing and system of a kind of video ads
CN107179983A (en) * 2016-03-09 2017-09-19 阿里巴巴集团控股有限公司 The method of calibration and device of ui testing result
CN107608848A (en) * 2016-07-12 2018-01-19 博彦科技股份有限公司 Method of testing and system
CN108579094A (en) * 2018-05-11 2018-09-28 深圳市腾讯网络信息技术有限公司 A kind of user interface detection method and relevant apparatus, system and storage medium
CN108776631A (en) * 2018-05-31 2018-11-09 康键信息技术(深圳)有限公司 Server, the method and storage medium for obtaining compatibility test equipment
CN109240934A (en) * 2018-09-29 2019-01-18 中国平安人寿保险股份有限公司 Application program capacity test method, device and computer readable storage medium
CN109491888A (en) * 2018-09-29 2019-03-19 中国平安人寿保险股份有限公司 Application compatibility test method, device and computer readable storage medium
CN109582549A (en) * 2017-09-28 2019-04-05 北京国双科技有限公司 A kind of recognition methods of device type and device
CN109656826A (en) * 2018-12-14 2019-04-19 深圳前海微众银行股份有限公司 Application testing method, system, equipment and computer readable storage medium
CN109726107A (en) * 2018-06-01 2019-05-07 平安普惠企业管理有限公司 Test method, device, equipment and storage medium
CN110502414A (en) * 2019-08-20 2019-11-26 Oppo广东移动通信有限公司 Terminal device performance test methods, device, terminal device and storage medium
CN110515514A (en) * 2019-08-30 2019-11-29 腾讯科技(深圳)有限公司 A kind of data processing method, device and storage medium
CN110618937A (en) * 2019-08-29 2019-12-27 深圳市新系区块链技术有限公司 Software evaluation method, device and equipment
CN110704321A (en) * 2019-09-27 2020-01-17 京东数字科技控股有限公司 Program debugging method and device
CN111611163A (en) * 2020-05-21 2020-09-01 携程计算机技术(上海)有限公司 Mobile terminal and processing method of defect document in application program thereof
CN111737149A (en) * 2020-07-24 2020-10-02 浙江口碑网络技术有限公司 Real machine platform, test method and test script processing method
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
CN114741325A (en) * 2022-06-13 2022-07-12 武汉迎风聚智科技有限公司 Recording method and device of test script for application system test

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100095159A1 (en) * 2008-10-14 2010-04-15 Jeong Sung-Won Apparatus and method for automatic testing of software or digital devices
CN102098695A (en) * 2009-12-10 2011-06-15 上海杉达学院 Mobile phone testing system and method
CN103152458A (en) * 2011-12-07 2013-06-12 中国移动通信集团广东有限公司 Test mobile phone, remote mobile phone test system, method and device of remote mobile phone test
CN103365770A (en) * 2012-04-09 2013-10-23 陆兵 Mobile terminal software testing system and software testing method
US20130283100A1 (en) * 2011-02-14 2013-10-24 Ntt Docomo, Inc. Testing device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100095159A1 (en) * 2008-10-14 2010-04-15 Jeong Sung-Won Apparatus and method for automatic testing of software or digital devices
CN102098695A (en) * 2009-12-10 2011-06-15 上海杉达学院 Mobile phone testing system and method
US20130283100A1 (en) * 2011-02-14 2013-10-24 Ntt Docomo, Inc. Testing device
CN103152458A (en) * 2011-12-07 2013-06-12 中国移动通信集团广东有限公司 Test mobile phone, remote mobile phone test system, method and device of remote mobile phone test
CN103365770A (en) * 2012-04-09 2013-10-23 陆兵 Mobile terminal software testing system and software testing method

Cited By (44)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106598835A (en) * 2015-10-19 2017-04-26 广州爱九游信息技术有限公司 Application testing method, device and system
WO2017067441A1 (en) * 2015-10-19 2017-04-27 广州爱九游信息技术有限公司 Method, device and system for testing application, and non-transient machine-readable storage medium
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
CN105760300A (en) * 2016-02-23 2016-07-13 惠州Tcl移动通信有限公司 Automatic STK/UTK service testing method and system
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
CN106484614A (en) * 2016-09-29 2017-03-08 厦门美图之家科技有限公司 A kind of method of verification picture processing effect, device and mobile terminal
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
CN106776323A (en) * 2016-12-17 2017-05-31 广州酷狗计算机科技有限公司 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
CN106843947A (en) * 2017-01-04 2017-06-13 腾讯科技(深圳)有限公司 The treating method and apparatus of aacode defect
CN106844204A (en) * 2017-01-11 2017-06-13 福建星网视易信息系统有限公司 A kind of utilization mobile terminal generates the method and system of defect report
CN107025174A (en) * 2017-04-06 2017-08-08 网易(杭州)网络有限公司 For the method for the user interface abnormality test of equipment, device and readable storage media
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
CN108579094A (en) * 2018-05-11 2018-09-28 深圳市腾讯网络信息技术有限公司 A kind of user interface detection method and relevant apparatus, system and storage medium
CN108776631A (en) * 2018-05-31 2018-11-09 康键信息技术(深圳)有限公司 Server, the method and storage medium for obtaining compatibility test equipment
CN109726107A (en) * 2018-06-01 2019-05-07 平安普惠企业管理有限公司 Test method, device, equipment and storage medium
CN109240934B (en) * 2018-09-29 2023-05-26 中国平安人寿保险股份有限公司 Application program performance test method and device and computer readable storage medium
CN109491888A (en) * 2018-09-29 2019-03-19 中国平安人寿保险股份有限公司 Application compatibility test method, device and computer readable storage medium
CN109240934A (en) * 2018-09-29 2019-01-18 中国平安人寿保险股份有限公司 Application program capacity test method, device and computer readable storage medium
CN109656826B (en) * 2018-12-14 2022-01-28 深圳前海微众银行股份有限公司 Application testing method, system, device and computer readable storage medium
CN109656826A (en) * 2018-12-14 2019-04-19 深圳前海微众银行股份有限公司 Application testing method, system, equipment 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
CN110502414A (en) * 2019-08-20 2019-11-26 Oppo广东移动通信有限公司 Terminal device performance test methods, device, terminal device and storage medium
CN110618937A (en) * 2019-08-29 2019-12-27 深圳市新系区块链技术有限公司 Software evaluation method, device and equipment
CN110515514A (en) * 2019-08-30 2019-11-29 腾讯科技(深圳)有限公司 A kind of data processing method, device and storage medium
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
CN111737149A (en) * 2020-07-24 2020-10-02 浙江口碑网络技术有限公司 Real machine platform, test method and test script processing method
CN114741325A (en) * 2022-06-13 2022-07-12 武汉迎风聚智科技有限公司 Recording method and device of test script for application system test

Also Published As

Publication number Publication date
CN104765678B (en) 2018-06-22

Similar Documents

Publication Publication Date Title
CN104765678A (en) Method and device for testing applications on mobile terminal
US9898397B2 (en) Deployment pattern monitoring
US20170244626A1 (en) Device and settings management platform
US10013330B2 (en) Automated mobile application verification
US9959201B2 (en) Automated test generation for multi-interface enterprise virtualization management environment
JP2022171958A (en) System, method, apparatus, and non-temporary computer readable storage medium for providing mobile device support services
US10831463B2 (en) Intelligent software deployment on an IaaS platform
US20160242024A1 (en) Purposed device management platform
US11151025B1 (en) Generating software test plans based at least in part on monitored traffic of a production application
CN112073269A (en) Block chain network testing method, device, server and storage medium
US20220027969A1 (en) Virtualized Services Discovery and Recommendation Engine
KR20140110520A (en) Method for automatic verification for samrt applications by automatic execution control of test terminals, and computer-readable recording medium for the same
US20180234325A1 (en) Data Processing System with Machine Learning Engine to Provide Enterprise Monitoring Functions
CN111258913A (en) Automatic algorithm testing method and device, computer system and readable storage medium
CN111813495A (en) Node testing method and device, storage medium and electronic device
CN107679423A (en) Partition integrity inspection method and device
CN110750453A (en) HTML 5-based intelligent mobile terminal testing method, system, server and storage medium
US20170295085A1 (en) Building and testing composite virtual services using debug automation
CN109828883B (en) Task data processing method and device, storage medium and electronic device
CN112463574A (en) Software testing method, device, system, equipment and storage medium
CN110362294A (en) Development task executes method, apparatus, electronic equipment and storage medium
US10176062B2 (en) Cloud servers and methods for handling dysfunctional cloud services
CN114328196A (en) Method, device and equipment for testing data leakage prevention system and storage medium
CN112596750B (en) Application testing method and device, electronic equipment and computer readable storage medium
CN114996955A (en) Target range environment construction method and device for cloud-originated chaotic engineering experiment

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