CN104809055A - Application program test method and device based on cloud platform - Google Patents

Application program test method and device based on cloud platform Download PDF

Info

Publication number
CN104809055A
CN104809055A CN201410037832.0A CN201410037832A CN104809055A CN 104809055 A CN104809055 A CN 104809055A CN 201410037832 A CN201410037832 A CN 201410037832A CN 104809055 A CN104809055 A CN 104809055A
Authority
CN
China
Prior art keywords
test
tested
duration
application program
hardware device
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
CN201410037832.0A
Other languages
Chinese (zh)
Other versions
CN104809055B (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.)
Tencent Technology Shenzhen Co Ltd
Tencent Cloud Computing Beijing Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201410037832.0A priority Critical patent/CN104809055B/en
Publication of CN104809055A publication Critical patent/CN104809055A/en
Application granted granted Critical
Publication of CN104809055B publication Critical patent/CN104809055B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephone Function (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses an application program test method based on a cloud platform and an application program test device based on the cloud platform. The application program test method comprises the following steps: test requests of an user and test models selected by the user are received, and the test requests at least include application programs to be tested and preset duration; hardware equipment lists corresponding to the application programs to be tested are confirmed by selecting the hardware equipment on the cloud platform, and the hardware equipment lists include multiple hardware equipment; under the test models, the application programs to be tested are tested by adopting the hardware equipment in the hardware equipment lists in order to test results, and the tested duration is the preset duration; the test results are displayed to the user. According to the method and the device, the hardware equipment on the cloud platform is tested to set the test models and the test duration for user selection, in comparison with the prior art, relatively accurate application program test results can be provided for the user to offer forceful reference.

Description

A kind of applied program testing method based on cloud platform and device
Technical field
The present invention relates to program test technical field, be specifically related to a kind of applied program testing method based on cloud platform and device.
Background technology
Along with increasing of application program kind, the performance difference of different application is obviously changed, so various applied program testing method arises at the historic moment, for getting rid of the application program of poor-performing, thus provides the application program of function admirable to user.
In prior art, the method for testing not standardization of application program, just the simple application program of testing that will need is run at several different hardware device, respectively to observe the operation conditions on different hardware devices.
Because existing applied program testing method just provides limited hardware device to carry out the test of application program, do not provide normalized testing process, so its test result produced may be inaccurate, can not provide strong reference for user simultaneously.
Summary of the invention
For the problems referred to above, the invention provides a kind of applied program testing method based on cloud platform and device, compared with prior art, the present invention can provide Application testing result more accurately for user, for user provides strong reference.
The invention provides a kind of applied program testing method based on cloud platform, described method comprises:
Receive the test request of user, and the test pattern that user selects, described test request at least comprises application program to be tested and preset duration;
By selecting the hardware device on cloud platform, determine the hardware device list that described application program to be tested is corresponding, described hardware device list comprises multiple hardware device;
Under described test pattern, utilize the hardware device in described hardware device list to test described application program to be tested, obtain test result, the duration of test is described preset duration;
Described test result is shown to described user.
Preferably, described under described test pattern, utilize the hardware device in described hardware device list to test described application program to be tested, obtain test result, the duration of described test is described preset duration, comprising:
For the hardware device in described hardware device list arranges test operation order respectively;
Under described test pattern, test described application program to be tested according to described test operation order, obtain test result, the duration of described test is described preset duration.
Preferably, described under described test pattern, test described application program to be tested according to described test operation order, obtain test result, the duration of described test is described preset duration, comprising:
According to described preset duration and default single duration, determine testing time;
According to described test operation order, test described application program to be tested, obtain test result, the number of times of test is described testing time, and the duration of each test is described default single duration.
With or,
According to described test operation order, described application program to be tested is tested;
When the duration tested reaches described preset duration or occurs the exception preset in testing, obtain test result.
Preferably, described method also comprises:
Pre-set abnormality processing list, described abnormality processing list comprises the corresponding relation of exception and disposal route;
When occurring abnormal in testing, inquiring about described abnormality processing list, determining the disposal route that described exception is corresponding;
After utilizing described disposal route to get rid of described exception, continue described test.
Preferably, described test result comprises test operation daily record and the daily record that makes mistakes.
Present invention also offers a kind of Application testing device based on cloud platform, described device comprises:
Receiver module, for receiving the test request of user, and the test pattern that user selects, described test request at least comprises application program to be tested and preset duration;
First determination module, for the hardware device by selecting on cloud platform, determine the hardware device list that described application program to be tested is corresponding, described hardware device list comprises multiple hardware device;
Test module, under described test pattern, utilize the hardware device in described hardware device list to test described application program to be tested, obtain test result, the duration of test is described preset duration;
Display module, for being shown to described user by described test result.
Preferably, described test module comprises:
Submodule is set, for arranging test operation order respectively for the hardware device in described hardware device list;
First test submodule, under described test pattern, test described application program to be tested according to described test operation order, obtain test result, the duration of described test is described preset duration.
Preferably, described first test submodule comprises:
Determine submodule, for according to described preset duration and default single duration, determine testing time;
Second test submodule, for according to described test operation order, test described application program to be tested, obtain test result, the number of times of test is described testing time, and the duration of each test is described default single duration.
With or,
3rd test submodule, for according to described test operation order, tests described application program to be tested;
Bear fruit module, during for reaching described preset duration when the duration tested or occurring the exception preset in testing, obtains test result.
Preferably, described device also comprises:
Arrange module, for pre-setting abnormality processing list, described abnormality processing list comprises the corresponding relation of exception and disposal route;
Second determination module, for when occurring abnormal in testing, inquiring about described abnormality processing list, determining the disposal route that described exception is corresponding;
Getting rid of module, getting rid of described exception for utilizing described disposal route.
The present invention receives the test request of user, and the test pattern that user selects, and described test request at least comprises application program to be tested and preset duration; By selecting the hardware device on cloud platform, determine the hardware device list that described application program to be tested is corresponding, described hardware device list comprises multiple hardware device; Under described test pattern, utilize the hardware device in described hardware device list to test described application program to be tested, obtain test result, the duration of test is described preset duration; Described test result is shown to described user.The present invention utilizes the hardware device on cloud platform to test, and arrange the duration of test pattern and the test can selected for user, compared with prior art, the present invention can provide Application testing result more accurately for user, for user provides strong reference.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present application, below the accompanying drawing used required in describing embodiment is briefly described, 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.
The applied program testing method process flow diagram based on cloud platform that Fig. 1 provides for the embodiment of the present invention one;
The apk method of testing process flow diagram based on cloud platform that Fig. 2 provides for the embodiment of the present invention two;
A kind of test result display mode schematic diagram that Fig. 3 provides for the embodiment of the present invention two;
The apk proving installation structural drawing based on cloud platform that Fig. 4 provides for the embodiment of the present invention three;
The block diagram of the part-structure of the mobile phone that Fig. 5 is correlated with for the terminal that the embodiment of the present invention three 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, those of ordinary skill in the art are not making the every other embodiment obtained under creative work prerequisite, all belong to the scope of the application's protection.
Embodiment one
With reference to the applied program testing method process flow diagram based on cloud platform that figure 1, Fig. 1 provides for the present embodiment, specifically comprise:
S101: the test request receiving user, and the test pattern that user selects, described test request at least comprises application program to be tested and preset duration.
In the present embodiment, the duration of application program to be tested and test is at least comprised in the test request of user, wherein, application program to be tested can be Android installation kit (apk) etc., preset duration is the time that user wants application program to be tested tested, concrete, can according to user's request sets itself.
In addition, there is alternative multiple test pattern in the method for testing that the present embodiment provides, each test pattern has specific function, and user can carry out the selection of test pattern according to the demand of oneself.Meanwhile, can pass through to add new test module, for user provides new test function.
S102: by selecting the hardware device on cloud platform, determine the hardware device list that described application program to be tested is corresponding, described hardware device list comprises multiple hardware device.
In the present embodiment, cloud platform is the platform of a shared resource, so the hardware device resources of cloud platform is enriched, and device type is comprehensive.The present embodiment utilizes the hardware device on cloud platform to treat test application and tests, and make test more comprehensively, test result is more accurate.
In practical operation, after user uploads application program to be tested, selecting the hardware device for testing for this application program to be tested, determining hardware device list.Wherein, if the idle hardware equipment on cloud platform is more, hardware device list can be added by several idle hardware equipment of Stochastic choice.Or, if the idle hardware equipment on cloud platform is less, idle hardware equipment can be added hardware device list, and at random some hardware devices being in busy state are also added hardware device list, when the hardware device being in busy state is in the free time, may be used for testing application program to be tested.
S103: under described test pattern, utilizes the hardware device in described hardware device list to test described application program to be tested, obtains test result, and the duration of test is described preset duration.
In the present embodiment, because user have selected test pattern, also determine for the hardware device list that described application program to be tested is corresponding simultaneously, so, the hardware device in described hardware device list directly can be utilized to test described application program to be tested, finally obtain test result.Wherein, the duration of test is the preset duration that user uploads.
In practical operation, the hardware device in hardware device list can be treated test application simultaneously test, or, test application can be treated successively and test.In addition, treat test application when the hardware device being in busy state in hardware device list can wait until the free time to test.
Concrete, in order to improve the testing efficiency of application program, the present embodiment can first for the hardware device in described hardware device list arranges test operation order respectively; Secondly, under described test pattern, test described application program to be tested according to described test operation order, obtain test result, the duration of described test is described preset duration.
In practical operation, test operation order is the order of each function of the described application program to be tested of test.Such as, such as, for the application program of a chat, its test operation order can be set to first test its plusing good friend function, secondly itself and certain good friend of test function of chatting.In practical application, pre-set the unnecessary operation that test operation order can avoid treating test application.
In addition, the present embodiment also specifically provides two kinds of test patterns, as follows:
The first test pattern:
First, according to described preset duration and default single duration, testing time is determined; Secondly, according to described test operation order, test described application program to be tested, obtain test result, the number of times of test is described testing time, and the duration of each test is described default single duration.
In practical application, first determine testing time, secondly, described application program to be tested is tested, obtains test result, the number of times of test and the above-mentioned testing time determined, each length of testing speech can the duration of systemic presupposition, the duration that also can arrange voluntarily for user.
At the first test pattern above-mentioned, described application program to be tested can be tested by stability during multiple switching in short-term.
The second test pattern:
According to described test operation order, described application program to be tested is tested; When the duration tested reaches described preset duration or occurs the exception preset in testing, obtain test result.
In practical application, can reach the test of preset duration to described application program to be tested, at test period, if there is the exception preset, directly can produce test result, in order to feedback user, the exception wherein preset can be the exceptions such as program crashing.Or, reach preset duration when the time of test, also can terminate test, and produce test result.
Under above-mentioned the second test pattern, the stability of described application program to be tested when long-play can be tested.
In order to improve the testing efficiency of application program, avoiding the abnormal interference to test of part simultaneously, present embodiments providing the abnormality eliminating method in a kind of test process, specifically can be as follows:
First: pre-set abnormality processing list, described abnormality processing list comprises the corresponding relation of exception and disposal route;
Second: when occurring abnormal in testing, inquiring about described abnormality processing list, determining the disposal route that described exception is corresponding;
3rd: after utilizing described disposal route to get rid of described exception, continue described test.
Wherein, abnormality processing list can be the summary according to testing experience in the past, when there is the exception recorded in described tables, exception in test process, inquires about the disposal route corresponding with described exception, abnormal described in quick solution, thus test is normally carried out.
It should be noted that user can select multiple test pattern simultaneously, to obtain the test result under multiple test pattern.
S104: described test result is shown to described user.
In the present embodiment, after above-mentioned test terminates, test result is shown to described user.Wherein, test result can comprise test operation daily record and the daily record that makes mistakes, test operation daily record is the record of the concrete test process to described application program to be tested, and the daily record that makes mistakes is the record of described application program to be tested runtimeerror in above-mentioned test process.
The present embodiment receives the test request of user, and the test pattern that user selects, and described test request at least comprises application program to be tested and preset duration; By selecting the hardware device on cloud platform, determine the hardware device list that described application program to be tested is corresponding, described hardware device list comprises multiple hardware device; Under described test pattern, utilize the hardware device in described hardware device list to test described application program to be tested, obtain test result, the duration of test is described preset duration; Described test result is shown to described user.The present embodiment utilizes the hardware device on cloud platform to test, the duration of the test pattern that setting can be selected for user and test, compared with prior art, the present embodiment can provide Application testing result more accurately for user, for user provides strong reference.
Embodiment two
With reference to the apk method of testing process flow diagram based on cloud platform that figure 2, Fig. 2 provides for the present embodiment, specifically comprise:
S201: the test request receiving user, and the test pattern that user selects, described test request at least comprises apk to be tested and preset duration;
The application program that smart mobile phone is installed is generally apk, i.e. android application program.The present embodiment specifically introduces the apk method of testing based on cloud platform for apk.Wherein, this step is similar to S101, does not repeat at this.
S202: by selecting the smart mobile phone on cloud platform, determine the smart mobile phone list that described apk to be tested is corresponding, described smart mobile phone list comprises the smart mobile phone of Multiple Type.
In the present embodiment, utilize the shared resource on cloud platform, i.e. polytype smart mobile phone, apk to be tested is tested.Wherein, smart mobile phone list can be the smart mobile phone model of Stochastic choice, obtains smart mobile phone and tests apk to be tested, can obtain more convictive test result by random inspection.
S203: under the test pattern that user selects, utilize the smart mobile phone in described smart mobile phone list to test described apk to be tested, obtain test result, the duration of test is described preset duration.
In the present embodiment, according to the test pattern that user selects, dissimilar test is carried out to apk to be tested.Such as, test repeatedly in short-term can be carried out to described apk to be tested, concrete, first determine testing time, secondly, described apk to be tested is tested, obtain test result, the number of times of test and the above-mentioned testing time determined, each length of testing speech can the duration of systemic presupposition, the duration that also can arrange voluntarily for user.
S204: described test result is shown to described user.
Test result, after test completes, can be shown to user by the present embodiment, and wherein test result can comprise test operation daily record and the daily record that makes mistakes.Be a kind of test result display mode schematic diagram with reference to figure 3, Fig. 3.Wherein, when user wants to obtain test operation daily record, can " details " on direct clicking operation hurdle, when user want understanding make mistakes daily record time, can " report " on direct clicking operation hurdle.
The present embodiment utilizes the smart mobile phone of the Multiple Type on cloud platform to test, the duration of the test pattern that setting can be selected for user and test, compared with prior art, the present embodiment can provide apk test result more accurately for user, for user provides strong reference.
Embodiment three
With reference to the apk proving installation structural drawing based on cloud platform that figure 4, Fig. 4 provides for the present embodiment, specifically comprise:
Receiver module 401, for receiving the test request of user, and the test pattern that user selects, described test request at least comprises application program to be tested and preset duration;
First determination module 402, for the hardware device by selecting on cloud platform, determine the hardware device list that described application program to be tested is corresponding, described hardware device list comprises multiple hardware device;
Test module 403, under described test pattern, utilize the hardware device in described hardware device list to test described application program to be tested, obtain test result, the duration of test is described preset duration;
Display module 404, for being shown to described user by described test result.
Wherein, described test module can comprise:
Submodule is set, for arranging test operation order respectively for the hardware device in described hardware device list;
First test submodule, under described test pattern, test described application program to be tested according to described test operation order, obtain test result, the duration of described test is described preset duration.
Concrete, described first test submodule can comprise:
Determine submodule, for according to described preset duration and default single duration, determine testing time;
Second test submodule, for according to described test operation order, test described application program to be tested, obtain test result, the number of times of test is described testing time, and the duration of each test is described default single duration.
With or,
3rd test submodule, for according to described test operation order, tests described application program to be tested;
Bear fruit module, during for reaching described preset duration when the duration tested or occurring the exception preset in testing, obtains test result.
In addition, described device can also comprise:
Arrange module, for pre-setting abnormality processing list, described abnormality processing list comprises the corresponding relation of exception and disposal route;
Second determination module, for when occurring abnormal in testing, inquiring about described abnormality processing list, determining the disposal route that described exception is corresponding;
Getting rid of module, getting rid of described exception for utilizing described disposal route.
The embodiment of the present invention additionally provides a kind of terminal, and as shown in Figure 5, for convenience of explanation, illustrate only the part relevant to the embodiment of the present invention, concrete ins and outs do not disclose, and please refer to embodiment of the present invention method part.This terminal can comprise mobile phone, panel computer, PDA(Personal Digital Assistant, personal digital assistant), POS(Point of Sales, point-of-sale terminal), the terminal device arbitrarily such as vehicle-mounted computer, take terminal as mobile phone be example:
Shown in Fig. 5 is the block diagram of the part-structure of the mobile phone relevant to the terminal that the embodiment of the present invention provides.With reference to figure 5, mobile phone comprises: radio frequency (Radio Frequency, RF) parts such as circuit 510, storer 520, input block 530, display unit 540, sensor 550, voicefrequency circuit 560, Wireless Fidelity (wirelessfidelity, WiFi) module 570, processor 580 and power supply 590.It will be understood by those skilled in the art that the handset structure shown in Fig. 5 does not form the restriction to mobile phone, the parts more more or less than diagram can be comprised, or combine some parts, or different parts are arranged.
Concrete introduction is carried out below in conjunction with Fig. 5 each component parts to mobile phone:
RF circuit 510 can be used for receiving and sending messages or in communication process, the reception of signal and transmission, especially, after being received by the downlink information of base station, process to processor 580; In addition, the up data of design are sent to base station.Usually, RF circuit includes but not limited to antenna, at least one amplifier, transceiver, coupling mechanism, low noise amplifier (Low Noise Amplifier, LNA), diplexer etc.In addition, RF circuit 510 can also by radio communication and network and other devices communicatings.Above-mentioned radio communication can use arbitrary communication standard or agreement, include but not limited to global system for mobile communications (Global System ofMobile communication, GSM), general packet radio service (General Packet RadioService, GPRS), CDMA (Code Division Multiple Access, CDMA), Wideband Code Division Multiple Access (WCDMA) (Wideband Code Division Multiple Access, WCDMA), Long Term Evolution (LongTerm Evolution, LTE)), Email, Short Message Service (Short Messaging Service, SMS) etc.
Storer 520 can be used for storing software program and module, and processor 580 is stored in software program and the module of storer 520 by running, thus performs various function application and the data processing of mobile phone.Storer 520 mainly can comprise storage program district and store data field, and wherein, storage program district can store operating system, application program (such as sound-playing function, image player function etc.) etc. needed at least one function; Store data field and can store the data (such as voice data, phone directory etc.) etc. created according to the use of mobile phone.In addition, storer 520 can comprise high-speed random access memory, can also comprise nonvolatile memory, such as at least one disk memory, flush memory device or other volatile solid-state parts.
Input block 530 can be used for the numeral or the character information that receive input, and generation arranges with the user of mobile phone 500 and function controls the input of relevant key signals.Particularly, input block 530 can comprise contact panel 531 and other input equipments 532.Contact panel 531, also referred to as touch-screen, user can be collected or neighbouring touch operation (such as user uses any applicable object or the operations of annex on contact panel 531 or near contact panel 531 such as finger, stylus) thereon, and drive corresponding coupling arrangement according to the formula preset.Optionally, contact panel 531 can comprise touch detecting apparatus and touch controller two parts.Wherein, touch detecting apparatus detects the touch orientation of user, and detects the signal that touch operation brings, and sends signal to touch controller; Touch controller receives touch information from touch detecting apparatus, and converts it to contact coordinate, then gives processor 580, and the order that energy receiving processor 580 is sent also is performed.In addition, the polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave can be adopted to realize contact panel 531.Except contact panel 531, input block 530 can also comprise other input equipments 532.Particularly, other input equipments 532 can include but not limited to one or more in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, control lever etc.
Display unit 540 can be used for the various menus showing information or the information being supplied to user and the mobile phone inputted by user.Display unit 540 can comprise display panel 541, optionally, the forms such as liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode (Organic Light-EmittingDiode, OLED) can be adopted to configure display panel 541.Further, contact panel 531 can cover display panel 541, when contact panel 531 detects thereon or after neighbouring touch operation, send processor 580 to determine the type of touch event, on display panel 541, provide corresponding vision to export with preprocessor 580 according to the type of touch event.Although in Figure 5, contact panel 531 and display panel 541 be as two independently parts to realize input and the input function of mobile phone, but in certain embodiments, can by integrated to contact panel 531 and display panel 541 and realize the input and output function of mobile phone.
Mobile phone 500 also can comprise at least one sensor 550, such as optical sensor, motion sensor and other sensors.Particularly, optical sensor can comprise ambient light sensor and proximity transducer, and wherein, ambient light sensor the light and shade of environmentally light can regulate the brightness of display panel 541, proximity transducer when mobile phone moves in one's ear, can cut out display panel 541 and/or backlight.As the one of motion sensor; accelerometer sensor can detect the size of all directions (are generally three axles) acceleration; size and the direction of gravity can be detected time static, can be used for identifying the application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating) of mobile phone attitude, Vibration identification correlation function (such as passometer, knock) etc.; As for mobile phone also other sensors such as configurable gyroscope, barometer, hygrometer, thermometer, infrared ray sensor, do not repeat them here.
Voicefrequency circuit 560, loudspeaker 561, microphone 562 can provide the audio interface between user and mobile phone.Voicefrequency circuit 560 can by receive voice data conversion after electric signal, be transferred to loudspeaker 561, by loudspeaker 561 be converted to voice signal export; On the other hand, the voice signal of collection is converted to electric signal by microphone 562, voice data is converted to after being received by voicefrequency circuit 560, after again voice data output processor 580 being processed, through RF circuit 510 to send to such as another mobile phone, or export voice data to storer 520 to process further.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user to send and receive e-mail by WiFi module 570, browse webpage and access streaming video etc., and its broadband internet wireless for user provides is accessed.Although Fig. 5 shows WiFi module 570, be understandable that, it does not belong to must forming of mobile phone 500, can omit in the scope of essence not changing invention as required completely.
Processor 580 is control centers of mobile phone, utilize the various piece of various interface and the whole mobile phone of connection, software program in storer 520 and/or module is stored in by running or performing, and call the data be stored in storer 520, perform various function and the process data of mobile phone, thus integral monitoring is carried out to mobile phone.Optionally, processor 580 can comprise one or more processing unit; Preferably, processor 580 accessible site application processor and modem processor, wherein, application processor mainly processes operating system, user interface and application program etc., and modem processor mainly processes radio communication.Be understandable that, above-mentioned modem processor also can not be integrated in processor 580.
Mobile phone 500 also comprises the power supply 590(such as battery of powering to all parts), preferably, power supply can be connected with processor 580 logic by power-supply management system, thus realizes the functions such as management charging, electric discharge and power managed by power-supply management system.
Although not shown, mobile phone 500 can also comprise camera, bluetooth module etc., does not repeat them here.
Specifically in the present embodiment, processor 580 in terminal can according to following instruction, executable file corresponding for the process of one or more application program is loaded in storer 520, and the application program be stored in storer 520 is run by processor 580, thus realize various function:
Receive the test request of user, and the test pattern that user selects, described test request at least comprises application program to be tested and preset duration;
By selecting the hardware device on cloud platform, determine the hardware device list that described application program to be tested is corresponding, described hardware device list comprises multiple hardware device;
Under described test pattern, utilize the hardware device in described hardware device list to test described application program to be tested, obtain test result, the duration of test is described preset duration;
Described test result is shown to described user.
Further, described under described test pattern, utilize the hardware device in described hardware device list to test described application program to be tested, obtain test result, the duration of described test is described preset duration, comprising:
For the hardware device in described hardware device list arranges test operation order respectively;
Under described test pattern, test described application program to be tested according to described test operation order, obtain test result, the duration of described test is described preset duration.
Further, described under described test pattern, test described application program to be tested according to described test operation order, obtain test result, the duration of described test is described preset duration, comprising:
According to described preset duration and default single duration, determine testing time;
According to described test operation order, test described application program to be tested, obtain test result, the number of times of test is described testing time, and the duration of each test is described default single duration.
With or,
According to described test operation order, described application program to be tested is tested;
When the duration tested reaches described preset duration or occurs the exception preset in testing, obtain test result.
Further, described method also comprises:
Pre-set abnormality processing list, described abnormality processing list comprises the corresponding relation of exception and disposal route;
When occurring abnormal in testing, inquiring about described abnormality processing list, determining the disposal route that described exception is corresponding;
After utilizing described disposal route to get rid of described exception, continue described test.
Further, described test result comprises test operation daily record and the daily record that makes mistakes.
The present embodiment utilizes the hardware device on cloud platform to test, the duration of the test pattern that setting can be selected for user and test, compared with prior art, the present embodiment can provide Application testing result more accurately for user, for user provides strong reference.
For device embodiment, because it corresponds essentially to embodiment of the method, so relevant part illustrates see the part of embodiment of the method.Device embodiment described above is 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. 
It should be noted that, in this article, the such as relational terms of first and second grades and so on is only used for an entity or operation to separate with another entity or operational zone, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or equipment.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment comprising described key element and also there is other identical element.
The applied program testing method based on cloud platform provided the embodiment of the present invention above and device are described in detail, apply specific case herein to set forth principle of the present invention and embodiment, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (9)

1. based on an applied program testing method for cloud platform, it is characterized in that, described method comprises:
Receive the test request of user, and the test pattern that user selects, described test request at least comprises application program to be tested and preset duration;
By selecting the hardware device on cloud platform, determine the hardware device list that described application program to be tested is corresponding, described hardware device list comprises multiple hardware device;
Under described test pattern, utilize the hardware device in described hardware device list to test described application program to be tested, obtain test result, the duration of test is described preset duration;
Described test result is shown to described user.
2. method according to claim 1, is characterized in that, described under described test pattern, the hardware device in described hardware device list is utilized to test described application program to be tested, obtain test result, the duration of described test is described preset duration, comprising:
For the hardware device in described hardware device list arranges test operation order respectively;
Under described test pattern, test described application program to be tested according to described test operation order, obtain test result, the duration of described test is described preset duration.
3. method according to claim 2, is characterized in that, described under described test pattern, and test described application program to be tested according to described test operation order, obtain test result, the duration of described test is described preset duration, comprising:
According to described preset duration and default single duration, determine testing time;
According to described test operation order, test described application program to be tested, obtain test result, the number of times of test is described testing time, and the duration of each test is described default single duration.
With or,
According to described test operation order, described application program to be tested is tested;
When the duration tested reaches described preset duration or occurs the exception preset in testing, obtain test result.
4. method according to claim 1, is characterized in that, described method also comprises:
Pre-set abnormality processing list, described abnormality processing list comprises the corresponding relation of exception and disposal route;
When occurring abnormal in testing, inquiring about described abnormality processing list, determining the disposal route that described exception is corresponding;
After utilizing described disposal route to get rid of described exception, continue described test.
5. method according to claim 1, is characterized in that, described test result comprises test operation daily record and the daily record that makes mistakes.
6. based on an Application testing device for cloud platform, it is characterized in that, described device comprises:
Receiver module, for receiving the test request of user, and the test pattern that user selects, described test request at least comprises application program to be tested and preset duration;
First determination module, for the hardware device by selecting on cloud platform, determine the hardware device list that described application program to be tested is corresponding, described hardware device list comprises multiple hardware device;
Test module, under described test pattern, utilize the hardware device in described hardware device list to test described application program to be tested, obtain test result, the duration of test is described preset duration;
Display module, for being shown to described user by described test result.
7. device according to claim 6, is characterized in that, described test module comprises:
Submodule is set, for arranging test operation order respectively for the hardware device in described hardware device list;
First test submodule, under described test pattern, test described application program to be tested according to described test operation order, obtain test result, the duration of described test is described preset duration.
8. device according to claim 7, is characterized in that, described first test submodule comprises:
Determine submodule, for according to described preset duration and default single duration, determine testing time;
Second test submodule, for according to described test operation order, test described application program to be tested, obtain test result, the number of times of test is described testing time, and the duration of each test is described default single duration.
With or,
3rd test submodule, for according to described test operation order, tests described application program to be tested;
Bear fruit module, during for reaching described preset duration when the duration tested or occurring the exception preset in testing, obtains test result.
9. device according to claim 6, is characterized in that, described device also comprises:
Arrange module, for pre-setting abnormality processing list, described abnormality processing list comprises the corresponding relation of exception and disposal route;
Second determination module, for when occurring abnormal in testing, inquiring about described abnormality processing list, determining the disposal route that described exception is corresponding;
Getting rid of module, getting rid of described exception for utilizing described disposal route.
CN201410037832.0A 2014-01-26 2014-01-26 Application program testing method and device based on cloud platform Active CN104809055B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410037832.0A CN104809055B (en) 2014-01-26 2014-01-26 Application program testing method and device based on cloud platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410037832.0A CN104809055B (en) 2014-01-26 2014-01-26 Application program testing method and device based on cloud platform

Publications (2)

Publication Number Publication Date
CN104809055A true CN104809055A (en) 2015-07-29
CN104809055B CN104809055B (en) 2020-02-11

Family

ID=53693899

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410037832.0A Active CN104809055B (en) 2014-01-26 2014-01-26 Application program testing method and device based on cloud platform

Country Status (1)

Country Link
CN (1) CN104809055B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107943684A (en) * 2017-10-30 2018-04-20 北京奇虎科技有限公司 A kind of test crash retries method, apparatus, server and storage medium
CN110888815A (en) * 2019-12-09 2020-03-17 米哈游科技(上海)有限公司 Application program testing method, device, equipment and storage medium
CN111190791A (en) * 2019-12-20 2020-05-22 北京你财富计算机科技有限公司 Application exception reporting method and device and electronic equipment
CN112306857A (en) * 2020-02-24 2021-02-02 北京字节跳动网络技术有限公司 Method and apparatus for testing applications
CN112732543A (en) * 2021-01-08 2021-04-30 支付宝(杭州)信息技术有限公司 Method, device, equipment and medium for testing task time consumption
CN114328272A (en) * 2022-03-02 2022-04-12 北京新氧科技有限公司 Application testing method, device and system and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102455971A (en) * 2010-10-28 2012-05-16 无锡江南计算技术研究所 Application-level random instruction testing method, system and device
CN102981951A (en) * 2012-11-01 2013-03-20 珠海金山网络游戏科技有限公司 Platform and method of cloud test development
CN103516851A (en) * 2012-06-30 2014-01-15 北京新媒传信科技有限公司 Cloud testing platform system for wireless products
US20140026122A1 (en) * 2012-07-18 2014-01-23 Infosys Limited Cloud-based application testing

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102455971A (en) * 2010-10-28 2012-05-16 无锡江南计算技术研究所 Application-level random instruction testing method, system and device
CN103516851A (en) * 2012-06-30 2014-01-15 北京新媒传信科技有限公司 Cloud testing platform system for wireless products
US20140026122A1 (en) * 2012-07-18 2014-01-23 Infosys Limited Cloud-based application testing
CN102981951A (en) * 2012-11-01 2013-03-20 珠海金山网络游戏科技有限公司 Platform and method of cloud test development

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
CRAZYCREATOR: "iTestin1.0使用说明手册", 《百度文库:HTTPS://WENKU.BAIDU.COM/VIEW/82ACD2E75EF7BA0D4A733B42.HTML?FROM=SEARCH》 *
库波 等: "《软件测试技术》", 31 October 2010 *
陈磊 等: "自动化WEB系统稳定性测试框架研究", 《计算机技术与发展》 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107943684A (en) * 2017-10-30 2018-04-20 北京奇虎科技有限公司 A kind of test crash retries method, apparatus, server and storage medium
CN110888815A (en) * 2019-12-09 2020-03-17 米哈游科技(上海)有限公司 Application program testing method, device, equipment and storage medium
CN111190791A (en) * 2019-12-20 2020-05-22 北京你财富计算机科技有限公司 Application exception reporting method and device and electronic equipment
CN112306857A (en) * 2020-02-24 2021-02-02 北京字节跳动网络技术有限公司 Method and apparatus for testing applications
CN112732543A (en) * 2021-01-08 2021-04-30 支付宝(杭州)信息技术有限公司 Method, device, equipment and medium for testing task time consumption
CN114328272A (en) * 2022-03-02 2022-04-12 北京新氧科技有限公司 Application testing method, device and system and electronic equipment
CN114328272B (en) * 2022-03-02 2022-06-21 北京新氧科技有限公司 Application testing method, device and system and electronic equipment

Also Published As

Publication number Publication date
CN104809055B (en) 2020-02-11

Similar Documents

Publication Publication Date Title
CN103716331B (en) Method, terminal, server and system for numerical value transfer
CN104834529A (en) Method and device for optimizing performance of application
CN104954402A (en) Application recommending method, system and apparatus
CN104598262A (en) Method and device for updating mobile application
CN104516812A (en) Method and device for testing software
CN103544033A (en) Method, device and associated equipment for rolling back application program
CN104636255A (en) Method and device for testing webpage application display effect
CN103294515A (en) Method, device and system for acquiring application programs
CN104809055A (en) Application program test method and device based on cloud platform
CN103179026B (en) Communication means in user interactive system, system and server and client side
CN104571787A (en) Message display method and communication terminal
CN103945241A (en) Streaming data statistical method, system and related device
WO2014194759A1 (en) A method, apparatus, and system for controlling voice data transmission
CN103312907B (en) Voice channel allocation management method, voice server and communication system
CN103177217A (en) File scan method, file scan system, client-side and server
CN104135504B (en) A kind of service providing method, Apparatus and system based on application
CN104699501A (en) Method and device for running application program
CN105227598A (en) A kind of resource sharing method, device and system stored based on cloud
CN103546632A (en) Method and device for alarm ringing of mobile terminal and mobile terminal
CN103312783B (en) Method, device and system for switching function modes
CN103399706A (en) Page interaction method, device and terminal
CN104092657A (en) Information transmission method, device and system
CN104348949A (en) Method and apparatus for switching operation state of electronic device
CN104135396B (en) Show the method for network speed information, device and terminal
CN104702643A (en) A webpage access method, device and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230710

Address after: 518000 Tencent Building, No. 1 High-tech Zone, Nanshan District, Shenzhen City, Guangdong Province, 35 Floors

Patentee after: TENCENT TECHNOLOGY (SHENZHEN) Co.,Ltd.

Patentee after: TENCENT CLOUD COMPUTING (BEIJING) Co.,Ltd.

Address before: 2, 518000, East 403 room, SEG science and Technology Park, Zhenxing Road, Shenzhen, Guangdong, Futian District

Patentee before: TENCENT TECHNOLOGY (SHENZHEN) Co.,Ltd.