CN102710832A - Mobile application test method and system - Google Patents

Mobile application test method and system Download PDF

Info

Publication number
CN102710832A
CN102710832A CN201210119835XA CN201210119835A CN102710832A CN 102710832 A CN102710832 A CN 102710832A CN 201210119835X A CN201210119835X A CN 201210119835XA CN 201210119835 A CN201210119835 A CN 201210119835A CN 102710832 A CN102710832 A CN 102710832A
Authority
CN
China
Prior art keywords
test
mobile device
server
mobile
tested
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201210119835XA
Other languages
Chinese (zh)
Inventor
戴亦斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
BEIJING MAIKAI INTERACTION NETWORK TECHNOLOGY Co Ltd
Original Assignee
BEIJING MAIKAI INTERACTION NETWORK TECHNOLOGY 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 BEIJING MAIKAI INTERACTION NETWORK TECHNOLOGY Co Ltd filed Critical BEIJING MAIKAI INTERACTION NETWORK TECHNOLOGY Co Ltd
Priority to CN201210119835XA priority Critical patent/CN102710832A/en
Publication of CN102710832A publication Critical patent/CN102710832A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention provides a mobile application test method and a mobile application test system. The mobile application test method comprises the following steps: publishing a test task through a network by a server; carrying out the test task on mobile equipment to test the test task; and sending a test result to the server through the network. According to the mobile application test method, an application to be tested and a test script are published through the network, so that a person can test the application by a mobile device of the person, and therefore, the application can be tested on a large scale under various conditions.

Description

Move application testing method and system
Technical field
The present invention relates to a kind of mobile application testing method and system, realize using the method and system that carries out large scale test moving in particular to a kind of network that utilizes.
Background technology
Because the develop rapidly of mobile Internet causes the application (application, for example application software and recreation) based on mobile device more and more; The function of mobile device for example through browsing page by mobile equipment, is handled official business also from strength to strength; Recreation, and other various application.This has attracted global millions of mobile application developer to develop various application for mobile device.
Under this background, also increasing to the demand that the application of mobile device is tested.Present test is manual test mostly, rarely seen automatically testing platform, and this causes the manpower and the time of labor.In addition, even if for automatic test, also face some problems inevitably:
(1) kind of mobile device and model are extremely various, for the ruuning situation of Test Application on the mobile device of variety classes and model, need to buy a large amount of mobile devices, and this causes testing cost sharply to increase.
(2) some test need for example carried out under the different conditions such as different time, different location, heterogeneous networks; For example the network response speed of different time sections is tested; Perhaps the network response speed of different location is tested, this also will cause the rapid increase of testing cost.
In order to improve testing efficiency, test is one of trend automatically.But as stated, in the face of numerous, various test requests, test is difficult to realize sometimes automatically, realizes that perhaps cost is too high, causes in fact can't realizing.
Summary of the invention
The present invention makes in view of the problems referred to above, and its purpose is to provide a kind of mobile application testing method and system, utilizes network issue application and test script to be tested; Make anyone can both utilize its oneself mobile device that application is tested automatically; And test result (for example, the screenshot capture of mobile device and Log daily record) beamed back through network, thereby under various conditions (for example realize; The mobile device of variety classes and model; Different time, different location, heterogeneous networks) large scale test is carried out in application.
To achieve these goals, the present invention provides a kind of mobile application testing method, comprising: utilize server to pass through network issue test assignment; On mobile device, carry out test assignment so that test assignment is tested; And test result sent to server through network.
To achieve these goals, the present invention also provides a kind of mobile application test systems, comprising: server is used to issue application to be tested and test script, and handles test result; And mobile device, be used to install application to be tested and test script, so that application to be tested is tested, through network connection service device and mobile device.
Mobile application testing method of the present invention and system because utilize test script to test automatically, thereby have improved testing efficiency.
In addition; Because utilize network issue application to be tested and test script and/or utilize the network issue to test required assistant software; Make anyone can both utilize its oneself mobile device that application is tested; Avoided buying a large amount of mobile devices specially, saved testing cost in order on the mobile device of variety classes and model, to test.
In addition, because the tester can be positioned at any place, can be at any time, application is tested under any other condition, thereby can under the condition of any hope, test application.
Description of drawings
Fig. 1 is the sketch map of mobile application test systems according to an embodiment of the present invention.
Fig. 2 is the flow chart of mobile application testing method according to an embodiment of the present invention.
Embodiment
Below in conjunction with accompanying drawing execution mode of the present invention is described.
It is pointed out that in following explanation, describe with the example of portable phone (cellularphone) as mobile device.But, the invention is not restricted to portable phone, can also be other mobile device, for example individual digital help (Personal Digital Assistant, PDA), flat computer (Tablet PC), smart mobile phone (Smart phone), iPad etc.
Fig. 1 is the sketch map of mobile application test systems according to an embodiment of the present invention.As shown in Figure 1, mobile application test systems according to an embodiment of the present invention comprises portable phone (example of mobile device) 1, personal computer (PC) 2, network 3 and server 4.
Portable phone 1 is equipped with and can writes down the operation of portable phone 1 and generate the software of corresponding scripts (that is, test script), for example notes the numerical key " 1 " of supressing portable phone 1 and generates corresponding test script.When on other portable phone 1, carrying out this test script,, for example, press the numerical key " 1 " of this other portable phone 1 carrying out on this other portable phone 1 and identical operations on the portable phone 1 of this test script of generation.The common software of the portable phone 1 that is applicable to various kinds and model also can downloaded and install to the software that this software can use the portable phone 1 of particular types and model to carry from server 4.
Portable phone 1 is connected to PC 2.Connected mode can be passed through wired connection, also can connect through for example wireless mode such as wireless lan (wlan), bluetooth.In operating process to portable phone 1, that is, on portable phone 1, to carry out in the test script process, 2 pairs of operating results of PC carry out record, for example, the screenshot capture of portable phone 1 and Log daily record etc.PC 2 can realize this function through software, realizes that the software of this function can be downloaded and install from server 4.In addition, portable phone 1 record test script that the operation note of portable phone 1 is generated also is sent to PC 2.
PC 2 is connected to server 4 through network 3, thereby test script, screenshot capture and Log daily record etc. are sent to server 4.
Server 4 receives test script, screenshot capture and the Log daily record etc. that PC2 sent through network, it is analyzed and handles, thereby obtain the test result to using.
In addition, server 4 also stores application to be tested, supplies the tester through network download and be installed in its portable phone 1, thereby also is that test script from server 4 is downloaded is tested this application through carrying out.These application can be uploaded in the server 4 by people's (can be same people with the people who records test script, also can be different people) that hope is tested application.
Below in conjunction with Fig. 2 the method that use is tested application according to the mobile application test systems of this execution mode is described.
As shown in Figure 2, at step S01, application to be tested is installed on arbitrary portable phone 1, it is carried out test operation and writes down the operation of being carried out, to record test script.Upload in the server 4 with application to be tested and to its test script of recording, and/or also test request is uploaded in the server 4.That is, at step S01, through server 4 issues application and test script thereof to be tested.Test request for example is this application of operation on the portable phone 1 of model, and operation should be used under specified resolution, should use in the special time period operation, and operation should be used in the locality, and operation should be used under particular network, or the like.This step is optional, can also on server 4, issue application and test script thereof to be tested through alternate manner.In addition, as required, at step S01, before recording test script, can also from server 4 download and install be used to make portable phone 1 record to its operation and generate the software of corresponding test script.
As required, at step S02, the tester downloads and installs the software that is used to make tester's oneself PC 2 and/or operating results such as screenshot capture that portable phone 1 writes down portable phone 1 and Log daily record from server 4.
At step S1, the tester downloads application and test script thereof to be tested from server 4, and the application to be tested of being downloaded is installed to tester's oneself portable phone 1.
At step S2, the test request that the tester is issued according to server 4 is carried out the test script of being downloaded (that is, application to be tested being tested automatically) on portable phone 1.At this moment, operating results such as the screenshot capture of 2 pairs of portable phones 1 of PC and Log daily record carry out record.
At step S3, the tester will upload onto the server 4 to the operating result of portable phone 1 through carrying out test script through PC 2.
At step S4; 4 pairs of servers receive operating result and analyze and handle, and generate the test result of this time test, and write down the specifying information of this time test; The for example kind of tester's title, portable phone 1 and/or model, testing time, testing location, test network, or the like.
Repeat above-mentioned steps S1~S4; When satisfying the condition that is provided with in advance; For example there is abundant tester to carry out test, on the portable phone 1 of abundant kind and model, carried out test etc.; Finish test, and each time test result is analyzed, handled and gathers, thereby obtain final test result.
More than combine an embodiment of the present invention that the present invention has been described, but the invention is not restricted to this execution mode, but can carry out various changes it.
For example, in the above-described embodiment, the operation note of portable phone 1 by portable phone 1 record and generate test script, by the PC2 record, but the invention is not restricted to this to operating results such as screenshot capture, Log daily records.Can be only by portable phone 1 recording operation record and generation test script and recording operation result; Also can be only by PC 2 recording operations record and generation test script and recording operation result.
In addition; In the above-described embodiment; Communication between portable phone 1 and the server 4 is accomplished through PC 2, that is, downloaded application and test script to be tested and attach it to portable phone 1 from server 4 by PC 2; And by PC 2 with recording operation record and the test script and/or the operating result that generate send to server 4, but the invention is not restricted to this.Can portable phone 1 be directly connected to server 4 through network 3.In this case, application to be tested and test script are downloaded and installed to portable phone 1 directly from server 4, and the test script and/or the operating result that directly the recording operation record are generated send to server 4.
In addition, in the above-described embodiment, application to be tested and test script thereof are sent on the server 4 as test assignment, but the invention is not restricted to this.Can also test specification be sent on the server 4 as test assignment, for example, the display effect of website (at this moment need issue its URL) on mobile device tested.
In addition, in the above-described embodiment, screenshot capture, Log daily record as test result, but the invention is not restricted to this.Test result can also be, for example, and video, sound, explanatory note, or the like.
In addition, in the above-described embodiment, initiatively obtain test assignment by the tester through network, but the invention is not restricted to this from server.For example, server can push test assignment (push) to the mobile device that it connected.
In above explanation, " application " refers to the content that on mobile device, shows or move, the software of for example developing to mobile device, recreation, picture, video, audio frequency, e-book, website etc.
In above explanation, " computer " refers to has processor and memory, can realize the equipment of mathematical operation, and it not only comprises the computer on the ordinary meaning, also comprises other any type of equipment with said structure and function.
In above explanation; " server " thus refer to the equipment of be connected with computer and/or mobile device control computer and/or mobile device; Thereby the computer on the ordinary meaning of its can be the operation specific software realize above-mentioned functions; Also can be the server on the ordinary meaning, can also be other any type of equipment with above-mentioned functions.

Claims (16)

1. mobile application testing method comprises:
Utilize server to pass through network issue test assignment;
On mobile device, carry out test assignment so that test assignment is tested; And
Test result is sent to server through network.
2. mobile application testing method according to claim 1 is characterized in that, test assignment comprises one or more in application to be tested, test script, the test specification.
3. mobile application testing method according to claim 1 is characterized in that, on mobile device, test assignment is carried out test operation, and the test operation that record is carried out generates test script based on the test operation that is write down.
4. mobile application testing method according to claim 3; It is characterized in that; On the mobile device test assignment carried out test operation with before generating test script, thereby downloading and installing the software of the operation generation script that is used to write down mobile device from server.
5. mobile application testing method according to claim 1 is characterized in that, through network test assignment is uploaded onto the server, thereby issues.
6. mobile application testing method according to claim 1 is characterized in that, also utilizes server to pass through network issue test request.
7. mobile application testing method according to claim 6; It is characterized in that, said test request be use in operation on the mobile device of particular types and model, use, use in the special time period operation in operation under the specified resolution, in the locality operation use, one or more under particular network in the operation application.
8. mobile application testing method according to claim 1 is characterized in that, when test assignment is tested, writes down the operating result of mobile device, and operating result is sent to server as test result.
9. mobile application testing method according to claim 8 is characterized in that, before test assignment is tested, downloads and install the software of the operating result that is used to write down mobile device from server.
10. mobile application testing method according to claim 8 is characterized in that, said operating result is one or more in the screenshot capture, daily record, video, sound, explanatory note of mobile device.
11. mobile application testing method according to claim 1 is characterized in that, when satisfying the condition that is provided with in advance, server finishes test, and each test result is handled.
12. mobile application testing method according to claim 1 is characterized in that, also with the one or more servers that send in the model of the kind of tester's title, mobile device, mobile device, testing time, testing location, the test network.
13. mobile application testing method according to claim 1 is characterized in that test assignment is delivered to mobile device by server push.
14. a mobile application test systems comprises:
Server is used to issue application to be tested and test script, and handles test result; And
Mobile device is used to install application to be tested and test script, so that application to be tested is tested,
Through network connection service device and mobile device.
15. mobile application test systems according to claim 14; It is characterized in that; By operation note and the operating result of mobile device record, generate test script according to the operation note of being write down, and test script and operating result are sent to server through network mobile device.
16. mobile application test systems according to claim 14 is characterized in that, also comprises computer, it is connected to mobile device, also is connected to server through network,
By operation note and the operating result of computer recording, generate test script according to the operation note of being write down, and test script and operating result are sent to server through network mobile device.
CN201210119835XA 2012-04-21 2012-04-21 Mobile application test method and system Pending CN102710832A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210119835XA CN102710832A (en) 2012-04-21 2012-04-21 Mobile application test method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210119835XA CN102710832A (en) 2012-04-21 2012-04-21 Mobile application test method and system

Publications (1)

Publication Number Publication Date
CN102710832A true CN102710832A (en) 2012-10-03

Family

ID=46903375

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210119835XA Pending CN102710832A (en) 2012-04-21 2012-04-21 Mobile application test method and system

Country Status (1)

Country Link
CN (1) CN102710832A (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102681942A (en) * 2012-04-21 2012-09-19 北京迈凯互动网络科技有限公司 Testing method and system of mobile application
CN103823756A (en) * 2014-03-06 2014-05-28 北京京东尚科信息技术有限公司 Method for running application under test and scheduler
CN103927255A (en) * 2013-01-16 2014-07-16 腾讯科技(深圳)有限公司 Software testing method based on cloud testing system, cloud testing system and client side of cloud testing system
CN104065537A (en) * 2014-07-04 2014-09-24 中国联合网络通信集团有限公司 Application external measurement method, external measurement device management server and application external measurement system
CN104202454A (en) * 2014-09-24 2014-12-10 福建联迪商用设备有限公司 Method and system for automatically executing mobile phone compatibility testing cases
CN104536891A (en) * 2014-12-26 2015-04-22 小米科技有限责任公司 Method and device for testing system
CN104661238A (en) * 2015-01-16 2015-05-27 杭州斯凯网络科技有限公司 Mobile phone power consumption test system
CN104679654A (en) * 2015-02-26 2015-06-03 百度在线网络技术(北京)有限公司 Method, equipment and system for testing application program
CN104866384A (en) * 2014-02-20 2015-08-26 纬创资通股份有限公司 Method and system for rapidly testing and detecting mobile device
CN105183630A (en) * 2014-06-05 2015-12-23 腾讯科技(深圳)有限公司 Method and device for testing application program
CN105183648A (en) * 2015-09-08 2015-12-23 北京思特奇信息技术股份有限公司 Visualized automatic dial testing method and system
CN105607994A (en) * 2015-10-19 2016-05-25 珠海金山网络游戏科技有限公司 Mobile terminal software testing method and system
CN106776323A (en) * 2016-12-17 2017-05-31 广州酷狗计算机科技有限公司 Application testing method and device
US9703691B1 (en) 2015-06-15 2017-07-11 Google Inc. Testing application software using virtual or physical devices
CN107273299A (en) * 2017-07-07 2017-10-20 广东中星电子有限公司 Software testing device, software test platform and method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20100108000A (en) * 2009-03-27 2010-10-06 한국전자통신연구원 Testing apparatus and method for mobile software
CN102420712A (en) * 2010-09-28 2012-04-18 中国移动通信集团公司 Testing method and equipment
CN102436416A (en) * 2011-09-17 2012-05-02 北京迈凯互动网络科技有限公司 Testing system and method for mobile equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20100108000A (en) * 2009-03-27 2010-10-06 한국전자통신연구원 Testing apparatus and method for mobile software
CN102420712A (en) * 2010-09-28 2012-04-18 中国移动通信集团公司 Testing method and equipment
CN102436416A (en) * 2011-09-17 2012-05-02 北京迈凯互动网络科技有限公司 Testing system and method for mobile equipment

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102681942A (en) * 2012-04-21 2012-09-19 北京迈凯互动网络科技有限公司 Testing method and system of mobile application
CN103927255A (en) * 2013-01-16 2014-07-16 腾讯科技(深圳)有限公司 Software testing method based on cloud testing system, cloud testing system and client side of cloud testing system
CN104866384A (en) * 2014-02-20 2015-08-26 纬创资通股份有限公司 Method and system for rapidly testing and detecting mobile device
TWI510918B (en) * 2014-02-20 2015-12-01 Wistron Corp Method and system for quick testing and detectiing mobile devices
CN103823756A (en) * 2014-03-06 2014-05-28 北京京东尚科信息技术有限公司 Method for running application under test and scheduler
CN105183630B (en) * 2014-06-05 2019-06-14 腾讯科技(深圳)有限公司 Applied program testing method and device
CN105183630A (en) * 2014-06-05 2015-12-23 腾讯科技(深圳)有限公司 Method and device for testing application program
CN104065537B (en) * 2014-07-04 2017-09-26 中国联合网络通信集团有限公司 Using exterior measuring method, exterior trajectory measurement equipment management server and using outer examining system
CN104065537A (en) * 2014-07-04 2014-09-24 中国联合网络通信集团有限公司 Application external measurement method, external measurement device management server and application external measurement system
CN104202454A (en) * 2014-09-24 2014-12-10 福建联迪商用设备有限公司 Method and system for automatically executing mobile phone compatibility testing cases
CN104202454B (en) * 2014-09-24 2017-12-08 福建联迪商用设备有限公司 The method and system that a kind of handset compatibility test case performs automatically
CN104536891A (en) * 2014-12-26 2015-04-22 小米科技有限责任公司 Method and device for testing system
CN104536891B (en) * 2014-12-26 2017-07-11 小米科技有限责任公司 System detection method and device
CN104661238A (en) * 2015-01-16 2015-05-27 杭州斯凯网络科技有限公司 Mobile phone power consumption test system
CN104679654A (en) * 2015-02-26 2015-06-03 百度在线网络技术(北京)有限公司 Method, equipment and system for testing application program
US9703691B1 (en) 2015-06-15 2017-07-11 Google Inc. Testing application software using virtual or physical devices
CN105183648A (en) * 2015-09-08 2015-12-23 北京思特奇信息技术股份有限公司 Visualized automatic dial testing method and system
CN105607994A (en) * 2015-10-19 2016-05-25 珠海金山网络游戏科技有限公司 Mobile terminal software testing method and system
CN105607994B (en) * 2015-10-19 2018-12-11 珠海金山网络游戏科技有限公司 A kind of mobile terminal software test method and system
CN106776323A (en) * 2016-12-17 2017-05-31 广州酷狗计算机科技有限公司 Application testing method and device
CN106776323B (en) * 2016-12-17 2019-12-27 广州酷狗计算机科技有限公司 Application testing method and device
CN107273299A (en) * 2017-07-07 2017-10-20 广东中星电子有限公司 Software testing device, software test platform and method

Similar Documents

Publication Publication Date Title
CN102710832A (en) Mobile application test method and system
CN102681942A (en) Testing method and system of mobile application
CN102708050B (en) Method and system for testing mobile application
CN106021095B (en) A kind of Android application automated testing method based on push-mechanism
CN103959745B (en) The method and apparatus of supervision application program resource consumption
CN105302732B (en) A kind of automatic test approach and device of mobile terminal
US20120197957A1 (en) Systems, methods, and media for managing ambient adaptability of web applications and web services
CN102685323A (en) Mobile device testing method and system
JP2009501499A5 (en)
CN102667717A (en) A method, apparatuses and a system for compilation
NO20052610D0 (en) Method, system and device for detecting and connecting data sources
CN105068876B (en) Method based on distributed deployment prototype collection cell phone application performance data
CN102436416A (en) Testing system and method for mobile equipment
CN109726094A (en) The method and apparatus of pressure test
CN102708048A (en) Method and system for testing mobile application
CN102004695A (en) Method and system for testing browser
CN108345540A (en) Application test systems, method, equipment based on privately owned cloud platform and storage medium
CN103019717A (en) Identifying application resources through hidden application model
CN103685515A (en) Method and system for downloading application
CN102708049B (en) Mobile solution test result record and back method and system
US20160080918A1 (en) Auditing of mobile applications
CN105488049A (en) Webpage image analysis method and apparatus and browser
CN202799166U (en) Mobile application network testing system
CN104506661B (en) A kind of mobile telephone power consumption automatic production generation method based on usage scenario of Remote configuration
CN107368407B (en) Information processing method and device

Legal Events

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

Application publication date: 20121003