CN102710456A - Method and system for testing mobile application - Google Patents
Method and system for testing mobile application Download PDFInfo
- Publication number
- CN102710456A CN102710456A CN2012101198241A CN201210119824A CN102710456A CN 102710456 A CN102710456 A CN 102710456A CN 2012101198241 A CN2012101198241 A CN 2012101198241A CN 201210119824 A CN201210119824 A CN 201210119824A CN 102710456 A CN102710456 A CN 102710456A
- Authority
- CN
- China
- Prior art keywords
- link
- correctness
- server
- mobile application
- 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.)
- Pending
Links
Images
Abstract
The invention provides a method and a system for testing mobile application. The method for testing the mobile application includes extracting links in the application to be tested by a server; and detecting correctness of each extracted link according to link correctness testing rules by the server. Various links in the mobile application are automatically searched, correctness of each link is tested, and the correctness of the links in the mobile application is automatically tested.
Description
Technical field
The present invention relates to a kind of mobile application testing method and system, the correctness that moves the link in using is carried out automatic test method and system in particular to a kind of.
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 some cases, can be built-in with some links (URL) in mobile the application.For example, when mobile application can be carried out online updating through network, this moves in the application can be built-in with the URL that online updating is used.Therefore, need in move using the correctness of built-in link test.
At present, need accomplish through artificial the test of moving the link in using.Waste time and energy like this, improve testing cost.In addition, because link possibly be present in a plurality of interfaces of moving in using, and might occur with various forms; For example picture, video etc., therefore, words through the manual testing only; Miss some link of moving in using easily, cause test result imperfect or unreliable.
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, seeks each link of moving in using automatically, and the correctness of each link is tested automatically.
To achieve these goals, the present invention provides a kind of mobile application testing method, comprising: extract the link in the application to be tested by server; , according to link correctness test order the correctness of the link of being extracted is detected by server.
To achieve these goals, the present invention also provides a kind of mobile application test systems, comprising: server, be used for extracting the link of application to be tested, and according to link correctness test order, the correctness of the link of being extracted is detected; And transmitting apparatus, be connected to server, be used for application to be tested and link correctness test order thereof are sent to server.
Mobile application testing method of the present invention and system move each link in the application through automatic searching, and the correctness of each link is tested, and realize moving the automatic test of the link correctness in using.
Description of drawings
Fig. 1 is the sketch map of mobile application test systems 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 (PersonalDigitalAssistant, PDA), flat computer (TabletPC), 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.
When the link correctness in the application to be tested is tested, at first, application to be tested is sent to server 4.Can send through portable phone 1 and/or the PC 2 that directly is connected with server 4, also can send by portable phone 1 and/or PC 2 via network 3.
When sending application to be tested, portable phone 1 and/or PC 2 also will link the correctness test order and send to server 4.This link correctness test order can be, for example, and correct chained list and/or wrong chained list.
For the URL in the correct chained list, should comprise one of them URL at least in the application to be tested, otherwise the link correctness that server 4 will be used detects to incorrect.For the URL in the wrong chained list, as long as contain wherein arbitrary URL in the application to be tested, the link correctness that server 4 just will be used detects to incorrect.
For neither belonging to correct chained list, also not belonging to link in the mistake chained list; As required; Server 4 can be detected. as correctly, also can be detected. as incorrectly, can also it be presented to the tester through alternant way; Be set at by tester's manual work correct or incorrect, and correct chained list of corresponding renewal and/or wrong chained list.
Below just link an example of correctness test order.The invention is not restricted to this, can also use other link correctness test order.
After server 4 receives application to be tested and link correctness test order, at first application to be tested is analyzed and handled, the whole links that extract wherein to be comprised, whether detect each link according to link correctness test order then correct.
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 (10)
1. mobile application testing method comprises:
Extract the link in the application to be tested by server;
, according to link correctness test order the correctness of the link of being extracted is detected by server.
2. mobile application testing method according to claim 1 is characterized in that, application to be tested and link correctness test order thereof send to server through network.
3. mobile application testing method according to claim 1 is characterized in that, link correctness test order comprises in correct chained list and the wrong chained list one or both.
4. mobile application testing method according to claim 3 is characterized in that, rare one when identical when linking in the link of being extracted and the correct chained list, the link correctness of this application is detected to correct.
5. mobile application testing method according to claim 3 is characterized in that, rare one when identical when linking in the link of being extracted and the wrong chained list, the link correctness of this application is detected to incorrect.
6. mobile application testing method according to claim 3; It is characterized in that; When the link of being extracted neither with correct chained list in link identical, also not with wrong chained list in link when identical, the tester is presented in this link, and sets this link correctness by the tester.
7. mobile application testing method according to claim 6 is characterized in that, the tester said link is set at correct or incorrect after, correct chained list of corresponding renewal or wrong chained list.
8. mobile application test systems comprises:
Server is used for extracting the link of application to be tested, according to link correctness test order, the correctness of the link of being extracted is detected; And
Transmitting apparatus is connected to server, is used for application to be tested and link correctness test order thereof are sent to server.
9. mobile application test systems according to claim 8 is characterized in that transmitting apparatus is connected to server through network.
10. mobile application test systems according to claim 8 is characterized in that, said transmitting apparatus is mobile device or computer.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012101198241A CN102710456A (en) | 2012-04-21 | 2012-04-21 | Method and system for testing mobile application |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012101198241A CN102710456A (en) | 2012-04-21 | 2012-04-21 | Method and system for testing mobile application |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102710456A true CN102710456A (en) | 2012-10-03 |
Family
ID=46903026
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2012101198241A Pending CN102710456A (en) | 2012-04-21 | 2012-04-21 | Method and system for testing mobile application |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102710456A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9703691B1 (en) | 2015-06-15 | 2017-07-11 | Google Inc. | Testing application software using virtual or physical devices |
CN107908552A (en) * | 2017-10-30 | 2018-04-13 | 阿里巴巴集团控股有限公司 | A kind of test method based on link, device and equipment |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101242279A (en) * | 2008-03-07 | 2008-08-13 | 北京邮电大学 | Automatic penetration testing system and method for WEB system |
CN101572608A (en) * | 2009-06-17 | 2009-11-04 | 杭州华三通信技术有限公司 | Method and device for acquiring once-login parameters |
-
2012
- 2012-04-21 CN CN2012101198241A patent/CN102710456A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101242279A (en) * | 2008-03-07 | 2008-08-13 | 北京邮电大学 | Automatic penetration testing system and method for WEB system |
CN101572608A (en) * | 2009-06-17 | 2009-11-04 | 杭州华三通信技术有限公司 | Method and device for acquiring once-login parameters |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9703691B1 (en) | 2015-06-15 | 2017-07-11 | Google Inc. | Testing application software using virtual or physical devices |
CN107908552A (en) * | 2017-10-30 | 2018-04-13 | 阿里巴巴集团控股有限公司 | A kind of test method based on link, device and equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10360257B2 (en) | System and method for image annotation | |
CN105302732B (en) | A kind of automatic test approach and device of mobile terminal | |
CN101236523B (en) | Input method test method and device | |
CN102685323A (en) | Mobile device testing method and system | |
CN103186643A (en) | Autonomous learning method for realizing association of teaching contents, terminal and system | |
CN102681942A (en) | Testing method and system of mobile application | |
CN102710832A (en) | Mobile application test method and system | |
CN105677561B (en) | The multi-platform test method of mobile product and system | |
CN103136342A (en) | Searching method, system and searching server of application programs (APP) | |
CN102708048B (en) | Method and system for testing mobile application | |
CN105786875A (en) | Method and device for providing question and answer pair data search results | |
CN103379206A (en) | Handheld device and data sharing achieving method thereof | |
CN105323748B (en) | Test error uploading method and device | |
CN106982448A (en) | Wi Fi module test methods and device and computer-readable recording medium | |
CN104536874A (en) | Client collapse locating method and device | |
CN104519105A (en) | Method and device for acquiring applications matched with terminals | |
CN105930486A (en) | Quick search method and apparatus for big data | |
CN105117340B (en) | URL detection methods and device for iOS browser application quality evaluations | |
CN103380443A (en) | Object information provision device, object information provision system, terminal, and object informaiton provision method | |
CN202799166U (en) | Mobile application network testing system | |
CN102710456A (en) | Method and system for testing mobile application | |
CN104813610A (en) | Providing multiple content items for display on multiple devices | |
CN105471980B (en) | A kind of Cloud Server data access method based on embedded OpenWrt wireless router technology | |
CN105224420B (en) | A kind of analysis method and system of automatic parsing terminal abnormal | |
CN103473355A (en) | Method, device and system for sharing application |
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 |