CN106776294A - Android mobile phone automated testing method and system - Google Patents
Android mobile phone automated testing method and system Download PDFInfo
- Publication number
- CN106776294A CN106776294A CN201611076464.6A CN201611076464A CN106776294A CN 106776294 A CN106776294 A CN 106776294A CN 201611076464 A CN201611076464 A CN 201611076464A CN 106776294 A CN106776294 A CN 106776294A
- Authority
- CN
- China
- Prior art keywords
- test
- mobile phone
- android mobile
- module
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3684—Test management for test design, e.g. generating new test cases
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3688—Test management for test execution, e.g. scheduling of test suites
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Telephone Function (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a kind of Android mobile phone automated testing method and system, method includes:Automatization test system is installed and is connected with the Android mobile phone to be tested batch;Data acquisition module obtains routine data;Automatic test module obtains the data that test needs from automatization test system, and Android mobile phone program is tested;Automatic handling module in automatization test system is captured and shows the page for assessing the test that test effect is used;The modified module of automatization test system is tested Android mobile phone program by the test scene that configuration parameter simulates different mobile phone states;After the completion of test, automatization test system shows on PC screen for tester's assessment test result;System includes:Data acquisition module, automatic test module, automatic handling module, automatic modified module, compression module and modular converter;Implement the present invention, can efficiently complete Android mobile phone test, improve mobile phone test system versatility and scalability.
Description
Technical field
The present invention relates to mobile phone test technical field, more particularly to a kind of Android mobile phone automated testing method and system.
Background technology
Software test is exactly to carry out function and performance test to product according to testing scheme and flow using testing tool, very
To different testing tools, design and maintenance test system is write as needed, the problem being likely to occur to testing scheme is carried out
Analysis and assessment.After implementation of test cases, in addition it is also necessary to track failure, demand is adapted to the product for ensuring exploitation.Cell phone software is surveyed
Examination is the quality of mobile phone productses to be tested, is verified, check mobile phone software either with or without mistake, judge whether cell phone software has
There is stability, software test personnel will also write out the specialized work personnel of corresponding test specification and test case.
In existing cell phone software test, the general process run using artificial means or test certain system, its mesh
Be to check its difference for whether meeting the demand of regulation or understanding fully between expected results and actual result.But surveyed in mobile phone
The operation of a large amount of analogue mobile phone users is needed in examination, with verify mobile phone whether can normal work, using obtaining expected use
Effect, if only manual testing is relied on, is then faced with test job amount greatly, inefficiency, the more problem of resource requirement.It is existing
Cell phone software PTS there are problems that it is following:
1st, server resolve command is converted into test script, and script is associated with the application program to be tested, and different should
Different test scripts are corresponded to program, versatility is not strong;
2nd, test script preset in advance writes completion, it is impossible to the test scene outside reply is default, does not possess good expansion
Malleability.
3rd, test script only corresponds to a kind of state of single type, when changing type or changing the emulation mode of mobile phone,
Cannot be tested, after the completion of test, there is no test result to feed back, tester cannot in time be known the test of cell phone software
Situation, efficiency comparison is poor.
The content of the invention
The versatility that exists for existing cell phone software test system is not strong, do not possess good autgmentability, tests work
Make the problem of inefficiency, propose a kind of mobile phone automatized test method and system based on Android system, by automation
Mobile phone test system sets automatic test module, and the attribute and ID of automatic identification each control test all controls at any time
Institute is functional, it is ensured that all of control of traversal and its function, intelligent decision next step behavior operation, with fine autgmentability;It is logical
Cross and automatic handling module from the Android system bottom display driving current test surfaces of acquisition is set, without being limited by type, have
Good versatility;By set modified module change Android mobile phone configuration file to change type assess different type of machines pacify
The test effect and change cell-phone function of tall and erect handset program simulate different test scenes, and then to assess different test scenes
The application effect of Android mobile phone program.
A kind of Android mobile phone automated testing method, including:
Automatization test system is arranged on PC, and is connected with the Android mobile phone to be tested batch by attachment means
Connect;
Data acquisition module in the automatization test system obtains the routine data of the Android mobile phone program to be tested,
Routine data is stored in automatization test system in the form of a list
Automatic test module in the automatization test system obtains the data that test needs from automatization test system,
And Android mobile phone program is tested
Automatic handling module in the automatization test system is captured and shown for assessing the test that test effect is used
The page
The modified module of the automatization test system simulates the test scene pair of different mobile phone states by configuration parameter
The Android mobile phone program is tested;
After the completion of test, test result is shown and commented for tester on the PC screen by the automatization test system
Estimate.
A kind of Android mobile phone automated testing method of the invention at all, routine data includes the Android mobile phone journey to be tested
Data required for the account of sequence, password and test control.
A kind of Android mobile phone automated testing method of the present invention, automatic in the automatization test system at all
Test module obtains each pacing and tries the data of the needs from the automatization test system, and Android mobile phone program is carried out
Test, including:
All control id and control property of the tested Android mobile phone program of the automatic test module automatic identification, make
Automatic test is tested according to default path;
The automatic test module tests the operating function for traveling through all controls automatically.
A kind of Android mobile phone automated testing method of the present invention at all, the control property includes the name of control
Title, size and color.
A kind of Android mobile phone automated testing method of the present invention at all, the operating function include control slide,
Click on and be input into.
A kind of Android mobile phone automated testing method of the present invention, automatic in the automatization test system at all
Handling module captures each pacing examination display page for assessing test effect, including:
The automatic handling module drives layer to capture current test page from Android operation system display;
Be compressed for the current test page by the compression module in the automatization test system, and after being compressed
Current test page is transferred to PC;
Current test page after the modular converter of the automatization test system will be compressed enters after row format is changed to show
Show on PC screen.
A kind of Android mobile phone automated testing method of the present invention at all, the automatization test system simulation is different
Android mobile phone program is tested described in the test scene of mobile phone state, including:
Modified module in the automatization test system obtains different type of machines or hand by changing the accuracy of mobile phone parameter
The test scene of diverse location residing for machine, and to the test scene in different type of machines or diverse location in the Android mobile phone journey
Sequence is tested;
It is operable to obtain the test scene of different network environments by the bluetooth or WiFi to being tested in mobile phone, and
Android mobile phone program in the test scene of different network environments is tested.
On the other hand, a kind of Android mobile phone automatization test system is proposed, including:
Data acquisition module:It is connected with tested Android mobile phone and automatic test module respectively, it is described tested for obtaining
Try the routine data of Android mobile phone program;
Automatic test module:Be connected with the data acquisition module and PC respectively, in test process by journey
Ordinal number includes on the PC screen test result at the end of test according to tested Android mobile phone program is imported into;
Automatic handling module:It is connected with tested Android mobile phone and compression module respectively, for from tested Android hand
The driving layer crawl current tested page of machine Android system, and the test page of crawl is transferred to compression module is pressed
Contracting;
Automatic modified module:It is connected with tested Android mobile phone, different surveys is obtained for changing the accuracy of mobile phone file
Examination hall scape;
Compression module:It is connected with handling module and modular converter respectively, for the test page captured to handling module
It is compressed, to be transferred to PC;
Modular converter:It is connected with compression module and PC respectively, for the test page form after Transpression, so as to
It is displayed on PC screen.
A kind of Android mobile phone automatization test system of the present invention, the Android mobile phone automatization test system at all
Also include be test for the Android mobile phone of different type of machines, the PC for showing test result and for realize Android mobile phone with
The attachment means that PC is communicated.
Implement Android mobile phone automated testing method proposed by the present invention and system, first by Android mobile phone automatic test
System is arranged on PC, and what data acquisition module in automatization test system obtained Android mobile phone wants testing mobile phone program
These data are imported into automatic test module by various data when being needed in test process, and automatic test module is according to advance
The path of setting is tested Android mobile phone application program, the attribute and id of automatic identification each control, and institute is tested at any time
There is the institute of control functional, it is ensured that all of control of traversal and its function, intelligent decision next step behavior operation, with good
Autgmentability;Automatic handling module is used to capture the test page needed in test process, and this is conducive to right after the completion of test
Test result is estimated, and the different test pages of crawl manually, and be from Android system bottom during the page is captured
Layer display drives and obtains current test surfaces, without being limited by type, with good versatility;On the one hand modified module, leads to
The configuration file for crossing modification Android mobile phone assesses the test effect of different type of machines Android mobile phone program, the opposing party to change type
Face, the function setting to mobile phone modifies to simulate different test scenes, and then to assess different test scene Android hands
The application effect of machine program.
Brief description of the drawings
Technical scheme in order to illustrate more clearly the embodiments of the present invention, below will be to that will make needed for embodiment description
Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for
For those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings
Accompanying drawing.
Fig. 1 is a kind of schematic flow sheet of Android mobile phone automated testing method embodiment in the present invention;
Fig. 2 is that a kind of sub-step flow of step S3 in Android mobile phone automated testing method embodiment in the present invention is illustrated
Figure;
Fig. 3 is that a kind of sub-step flow of step S4 in Android mobile phone automated testing method embodiment in the present invention is illustrated
Figure;
Fig. 4 is that a kind of sub-step flow of step S5 in Android mobile phone automated testing method embodiment in the present invention is illustrated
Figure;
Fig. 5 is a kind of composition connection diagram of Android mobile phone automatization test system embodiment in the present invention.
Specific embodiment
In existing cell phone software test, the general process run using artificial means or test certain system, its mesh
Be to check its difference for whether meeting the demand of regulation or understanding fully between expected results and actual result.But surveyed in mobile phone
The operation of a large amount of analogue mobile phone users is needed in examination, with verify mobile phone whether can normal work, using obtaining expected use
Effect, if only manual testing is relied on, is then faced with test job amount greatly, inefficiency, the more problem of resource requirement.It is existing
Cell phone software PTS there are problems that it is following:Server resolve command is converted into test script, script with
The application program to be tested is associated, and the different test script of different application program correspondences, versatility is not strong;Test script is carried
Preceding presetting writes completion, it is impossible to the test scene outside reply is default, does not possess good autgmentability;Test script only corresponds to single
A kind of state of one type, when changing type or changing the emulation mode of mobile phone, it is impossible to tested, after the completion of test,
There is no test result to feed back, tester cannot in time know the test case of cell phone software, efficiency comparison is poor.
The problem to be solved in the present invention is:The versatility that existing cell phone software test system is present is not strong, do not possess good
Good autgmentability, test job inefficiency.
Technical scheme proposed by the present invention is:Propose a kind of mobile phone automatized test method based on Android system and be
A kind of system, Android mobile phone automatization test system includes:User obtains the data acquisition module of Android mobile phone application data
110th, for the automatic test module 120 to Android mobile phone Application testing, for the automatic crawl to being transferred to PC 190
Module 160 automatically crawl test page changed modular converter 140, for automatic handling module 160 automatically capture
The test page compression module 150, the survey for capturing the need for Android mobile phone Application testing process that are compressed
Automatic handling module 160 that the examination page is captured, batch Android Android mobile phone and carried out for Android mobile phone configuration parameter
The modified module 180 of modification;Data acquisition module 110 obtains the various data for wanting testing mobile phone program of Android mobile phone, is surveying
These data are imported into automatic test module 120 when being needed during examination, automatic test module 120 is according to road set in advance
Footpath is tested Android mobile phone application program, the attribute and ID of automatic identification each control, and all controls are tested at any time
Institute is functional, it is ensured that all of control of traversal and its function, intelligent decision next step behavior operation, with good autgmentability;
Automatic handling module 160 is used to capture the test page needed in test process, and this is conducive to after the completion of test to test
Result is estimated, and the different test pages of crawl manually, and be aobvious from Android system bottom during the page is captured
Show that driving obtains current test surfaces, without being limited by type, with good versatility;Modified module 180 has two sides
The effect in face:1st, change type by changing the configuration file of Android mobile phone to assess the survey of different type of machines Android mobile phone program
Examination effect;2nd, the function setting to mobile phone modifies to simulate different test scenes, and then to assess different test scenes
The application effect of Android mobile phone program.
Below in conjunction with accompanying drawing, the present invention will be described.
First, embodiment of the method
Fig. 1 is a kind of schematic flow sheet of Android mobile phone automated testing method embodiment in the present invention, refer to Fig. 1,
A kind of Android mobile phone automated testing method, including:
S1, automatization test system is arranged on PC 190, and by attachment means 130 and the Android hand to be tested
Machine batch is connected.
Automatization test system in the present invention is mounted on PC 190, is connected by attachment means 130 and Android mobile phone
Connect, in test, Android mobile phone is batch connection, can be multiple mobile phones, or different hands of same mobile phone model
Multiple mobile phones of type number are connected with PC 190, and the automatic mobile testing system in the present invention is connected by with mobile phone batch
To realize that the same Android mobile phone program to multiple Android mobile phones of different model is tested, on the one hand, batch testing is different
The Android mobile phone of model improves the operating efficiency of test, on the other hand, it is also possible to same test is assessed by batch testing
Test effect of the Android mobile phone program in different type of machines.
Attachment means 130 are used to connect PC 190 and tested Android mobile phone, realize PC 190 with tested Android hand
Data communication between machine, by attachment means 130, will be pressed by the test page that automatic handling module 160 is captured at random
Contract, and be transferred to PC 190 and changed, shown;Attachment means 130 are realized by operating the PC 190 just can be to tested
Try the operation in terms of Android mobile phone program is tested, such as capturing pictures, change the accuracy of mobile phone parameter etc.
Data acquisition module 110 in S2, automatization test system obtains the program number of the Android mobile phone program to be tested
According to routine data is stored in automatization test system in the form of a list.
Data acquisition module 110 is mainly used for carrying out data extraction in the Android mobile phone program to be tested, because
Automatization test system will recognize the id and attribute of all controls during test, etc. the size of attribute including control, title, color
Deng, test is tested according to road strength set in advance, all control functions are tested, in test function or read control attribute
When or enter setting path when sometimes need to be input into corresponding data, such as account of Android mobile phone application program, password,
Control needs the data of display or the quantity of a certain subspace etc..Only correctly obtain Android mobile phone program account,
Password, automatization test system can enter Android mobile phone program and start test.The tested Android mobile phone program of different mobile phones
Data be different because different tested Android mobile phone programs corresponding user operation and caching different, data are obtained
Modulus block 110 is stored in automatization test system in the form of a list after the data for obtaining tested Android mobile phone program,
Each tested Android mobile phone is corresponded to respectively.After test starts, order imports the Android mobile phone program of acquisition successively as desired,
Ensure that test is smoothed out.
Automatic test module 120 in S3, automatization test system obtains the number that test needs from automatization test system
According to, and Android mobile phone program is tested.
Fig. 2 is that a kind of sub-step flow of step S3 in Android mobile phone automated testing method embodiment in the present invention is illustrated
Figure, refer to Fig. 2, and step S3 includes:All controls of the tested Android mobile phone program of S31, the automatic identification of automatic test module 120
Part id and control property, make automatic test be tested according to default path.S32, automatic test module 120 are surveyed automatically
Try through all operating functions for going through each control.
Before automatic test, automatic test module 120 obtains the data required for testing from automatization test system,
The account and password of tested Android mobile phone program are for example obtained first, into Android mobile phone program;During test, often
The data that one step needs obtain the data for needing from storage in the corresponding data list of automatization test system.Automatic test module
120 test jobs for being used to complete Android mobile phone program:1st, control property, id of Android mobile phone program etc., control are recognized first
Attribute is mainly color, size and title of control etc.;2nd, the institute for testing all controls is functional, the slip of such as control,
The function such as click and input.Automatic identification module can the behavior of intelligent decision next step operation, for example, a certain control is included
Many child controls, child control corresponds to many next stage child controls again, or a control is to that should have many functions, automatic test module
120 according to predetermined path step-by-step measurement child control or test function item by item, for example, first test the sliding function of control, then survey
Examination click function, last test input function is operated so that automatization test system has by the behavior of intelligent decision next step
Good autgmentability.
Automatic handling module 160 in S4, automatization test system is captured and shown for assessing the test that test effect is used
Show the page.
Fig. 3 is that a kind of sub-step flow of step S4 in Android mobile phone automated testing method embodiment in the present invention is illustrated
Figure, refer to Fig. 3, and S41, automatic handling module 160 drive layer to capture current test page from Android operation system display.S42、
Be compressed for current test page by the compression module 150 in automatization test system, and the current test page after being compressed
It is transferred to PC 190.S43, the current test page after the modular converter 140 of automatization test system will be compressed enter row format
Shown after conversion on the screen of PC 190.
Test case in the present invention in automatization test system is related to mobile phone page situation elements, with single application nothing
Close, meet the identical performance testing of different Android mobile phone programs, to accomplish this point, in automatization test system of the present invention from
Dynamic handling module 160 obtains current test page data, this type with mobile phone in being driven from the bottom display of mobile phone Android system
Number it doesn't matter, with very strong versatility.The test page that existing mobile phone test system is obtained is with user in tested peace
There is relation position in Zhuo Shouji, and has relation with the model of Android mobile phone, that is to say, that even if changing mobile phone model or hand
Machine application scenarios, test case in automated system need not simultaneously change, and improve the versatility of automatization test system,
S5, the modified module 180 of automatization test system simulate the test scene of different mobile phone states by configuration parameter
Android mobile phone program is tested.Fig. 4 is step S5 in a kind of Android mobile phone automated testing method embodiment in the present invention
Sub-step schematic flow sheet, refer to Fig. 4, the modified module 180 in S51, automatization test system is matched somebody with somebody by changing mobile phone
Parameter is put to obtain the test scene of diverse location residing for different type of machines or mobile phone, and to the survey in different type of machines or diverse location
Android mobile phone program in the scape of examination hall is tested.S52, by be tested mobile phone in bluetooth or WiFi be operable to obtain
The test scene of different network environments is taken, and Android mobile phone program in the test scene of different network environments is tested.
Modified module 180 changes mobile phone model by changing the configuration parameter of mobile phone or changes the use position of Android mobile phone
Put.1st, android cell phone model is changed:A. the factory number of Android mobile phone is changed;B. the Mobile phone card sequence number of Android mobile phone is changed;
C. the Android id and mac of Android mobile phone are changed;D. change the bluetooth mac or title of mobile phone, change the mac or title of WiFi.
2nd, the use position of mobile phone is changed:The position of mobile phone is the WiFi by GPS, handset mobile communications operator base station and mobile phone
, come what is determined, modified module 180 is by changing the GPS in configuration file or handset mobile communications operator base station or mobile phone for mac
WiFi mac parameters come reach simulation Android mobile phone change using position scene purpose.Furthermore it is also possible to pass through manipulator
Machine carrys out the scene of analogue mobile phone network state change, and the WiFi or bluetooth of Android mobile phone are closed or opened to example.By above means
To reach the model that simulation changes tested Android mobile phone, the scene being changed using position and network state, in the present invention
Automatization test system can efficiently complete the test of same Android mobile phone program under different scenes, improve operating efficiency.
After the completion of S6, test, test result is shown and commented for tester on the screen of PC 190 by automatization test system
Estimate.
After the completion of test, automatization test system collects to test result, generates a test result list and shows
Show on the screen of PC 190, the parameter in test result list includes the Android mobile phone program name of test, is test for mobile phone
Model, mobile phone IP, the network state of mobile phone.
A kind of Android mobile phone automated testing method of the invention at all, routine data includes the Android mobile phone journey to be tested
Data required for the account of sequence, password and test control.
A kind of Android mobile phone automated testing method of the invention at all, control property include the title of control, size with
And color.
A kind of Android mobile phone automated testing method of the invention at all, operating function include control slide, click on and
Input.
On the other hand, a kind of Android mobile phone automatization test system is proposed, including:
Data acquisition module 110:It is connected with tested Android mobile phone and automatic test module 120 respectively, for obtaining quilt
Test the routine data of Android mobile phone program;
Automatic test module 120:It is connected with data acquisition module 110 and PC 190 respectively, in test process
Routine data is imported into tested Android mobile phone program, includes on the screen of PC 190 test result at the end of test;
Automatic handling module 160:It is connected with tested Android mobile phone and compression module 150 respectively, for from tested
The driving layer crawl current tested page of Android mobile phone Android system, and the test page of crawl is transferred to compression module
150 are compressed;
Automatic modified module 180:It is connected with tested Android mobile phone, it is different to obtain for changing the accuracy of mobile phone file
Test scene;
Compression module 150:It is connected with handling module and modular converter 140 respectively, for the survey captured to handling module
The examination page is compressed, to be transferred to PC 190;
Modular converter 140:It is connected with compression module 150 and PC 190 respectively, for the test page after Transpression
Form, to be displayed on the screen of PC 190.
A kind of Android mobile phone automatization test system of the present invention, the Android mobile phone automatization test system at all
Also include being test for the Android mobile phone of different type of machines, the PC 190 for showing test result and for realizing Android hand
The attachment means 130 that machine is communicated with PC 190.
Implement Android mobile phone automated testing method proposed by the present invention and system, first by Android mobile phone automatic test
System is arranged on PC 190, and what data acquisition module 110 in automatization test system obtained Android mobile phone wants testing mobile phone
These data are imported into automatic test module 120, automatic test module by the various data of program when being needed in test process
120 test Android mobile phone application program according to path set in advance, the attribute and ID of automatic identification each control,
The institute for testing all controls at any time is functional, it is ensured that all of control of traversal and its function, intelligent decision next step behavior operation,
With good autgmentability;Automatic handling module 160 is used to capture the test page needed in test process, and this is conducive to
Test result is estimated after the completion of test, and the different test pages of crawl manually, and during the page is captured, be
Driven from the display of Android system bottom and obtain current test surfaces, without being limited by type, with good versatility;Modification mould
On the one hand block 180, type is changed by changing the configuration file of Android mobile phone to assess different type of machines Android mobile phone program
Test effect, on the other hand, the function setting to mobile phone modifies to simulate different test scenes, and then to assess not
With the application effect of test scene Android mobile phone program.
The embodiments of the present invention are for illustration only, and the quality of embodiment is not represented.
One of ordinary skill in the art will appreciate that realizing that all or part of step of above-described embodiment can be by hardware
To complete, it is also possible to instruct the hardware of correlation to complete by program, described program can be stored in a kind of computer-readable
In storage medium, storage medium mentioned above can be read-only storage, disk or CD etc..
The foregoing is only presently preferred embodiments of the present invention, be not intended to limit the invention, it is all it is of the invention spirit and
Within principle, any modification, equivalent substitution and improvements made etc. should be included within the scope of the present invention.
Claims (9)
1. a kind of Android mobile phone automated testing method, it is characterised in that including:
Automatization test system is arranged on PC (190), and by attachment means (130) and the Android mobile phone to be tested batch
Amount connection;
Data acquisition module (110) in the automatization test system obtains the program number of the Android mobile phone program to be tested
According to routine data is stored in automatization test system in the form of a list;
Automatic test module (120) in the automatization test system obtains the number that test needs from automatization test system
According to, and Android mobile phone program is tested;
Automatic handling module (160) in the automatization test system is captured and shown for assessing the test that test effect is used
The page;
The modified module (180) of the automatization test system simulates the test scene pair of different mobile phone states by configuration parameter
The Android mobile phone program is tested;
After the completion of test, test result is shown and tester is supplied on the PC (190) screen by the automatization test system
Assessment.
2. a kind of Android mobile phone automated testing method according to claim 1, it is characterised in that routine data includes will
Data required for the account of the Android mobile phone program of test, password and test control.
3. a kind of Android mobile phone automated testing method according to claim 1, it is characterised in that the automatic test
Automatic test module (120) in system obtains the data that each pacing tries the needs from the automatization test system, and
Android mobile phone program is tested, including:
All control id and control property of the tested Android mobile phone program of automatic test module (120) automatic identification,
Automatic test is set to be tested according to default path;
The automatic test module (120) tests the operating function of all controls of traversal automatically.
4. a kind of Android mobile phone automated testing method according to claim 1, it is characterised in that the control property bag
Include title, size and the color of control.
5. a kind of Android mobile phone automated testing method according to claim 1, it is characterised in that the operating function bag
Control is included to slide, click on and be input into.
6. a kind of Android mobile phone automated testing method according to claim 1, it is characterised in that the automatic test
Automatic handling module (160) in system captures each pacing examination display page for assessing test effect, including:
The automatic handling module (160) drives layer to capture current test page from Android operation system display;
Be compressed for the current test page by the compression module (150) in the automatization test system, and after being compressed
Current test page be transferred to PC (190);
Current test page after the modular converter (140) of the automatization test system will be compressed enters after row format is changed to show
Show on PC (190) screen.
7. a kind of Android mobile phone automated testing method according to claim 1, it is characterised in that the automatic test
Android mobile phone program described in the test scene of system simulation difference mobile phone state is tested, including:
Modified module (180) in the automatization test system obtains different type of machines or hand by changing the accuracy of mobile phone parameter
The test scene of diverse location residing for machine, and to the test scene in different type of machines or diverse location in the Android mobile phone journey
Sequence is tested;
It is operable to obtain the test scene of different network environments by the bluetooth or WiFi to being tested in mobile phone, and to not
Tested with Android mobile phone program in the test scene of network environment.
8. a kind of Android mobile phone automatization test system, it is characterised in that including:
Data acquisition module (110):It is connected with tested Android mobile phone and automatic test module (120) respectively, for obtaining
State the routine data of tested Android mobile phone program;
Automatic test module (120):It is connected with the data acquisition module (110) and PC (190) respectively, in test
During routine data is imported into tested Android mobile phone program, at the end of test by test result include in the PC
(190) on screen;
Automatic handling module (160):It is connected with tested Android mobile phone and compression module (150) respectively, for from tested
The driving layer crawl current tested page of Android mobile phone Android system, and the test page of crawl is transferred to compression module
(150) it is compressed;
Automatic modified module (180):It is connected with tested Android mobile phone, different surveys is obtained for changing the accuracy of mobile phone file
Examination hall scape;
Compression module (150):It is connected with handling module and modular converter (140) respectively, for the survey captured to handling module
The examination page is compressed, to be transferred to PC (190);
Modular converter (140):It is connected with compression module (150) and PC (190) respectively, for the test sheets after Transpression
Face form, to be displayed on PC (190) screen.
9. a kind of Android mobile phone automatization test system according to claim 8, it is characterised in that the Android mobile phone from
Dynamicization test system also include be test for the Android mobile phone of different type of machines, the PC (190) for showing test result and
For realizing the attachment means (130) that Android mobile phone is communicated with PC (190).
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611076464.6A CN106776294B (en) | 2016-11-29 | 2016-11-29 | Automatic android mobile phone testing method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611076464.6A CN106776294B (en) | 2016-11-29 | 2016-11-29 | Automatic android mobile phone testing method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106776294A true CN106776294A (en) | 2017-05-31 |
CN106776294B CN106776294B (en) | 2020-06-16 |
Family
ID=58900994
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611076464.6A Active CN106776294B (en) | 2016-11-29 | 2016-11-29 | Automatic android mobile phone testing method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106776294B (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107509212A (en) * | 2017-10-13 | 2017-12-22 | 上海展扬通信技术有限公司 | A kind of method of testing and test system for mobile terminal |
CN108319554A (en) * | 2018-02-13 | 2018-07-24 | 广州市百果园信息技术有限公司 | Test method, computer readable storage medium and the terminal device of application function |
CN108462614A (en) * | 2018-01-09 | 2018-08-28 | 深圳市亿道数码技术有限公司 | Automatization test system |
CN109032948A (en) * | 2018-07-28 | 2018-12-18 | 安徽捷兴信息安全技术有限公司 | It is a kind of by USB interface to the method and detection system of mobile phone application safety detection |
WO2019000291A1 (en) * | 2017-06-26 | 2019-01-03 | 深圳市靖洲科技有限公司 | Intelligent terminal test method, device, and system |
CN109151466A (en) * | 2018-06-28 | 2019-01-04 | 苏州乐轩科技有限公司 | A kind of android system platform clectronic equipment utility function automatic test approach |
CN109324741A (en) * | 2018-09-30 | 2019-02-12 | 广州云测信息技术有限公司 | A kind of method of controlling operation thereof, device and system |
CN112306576A (en) * | 2020-11-03 | 2021-02-02 | 深圳市桑达无线通讯技术有限公司 | Method for modifying internal number of application program of android device |
CN112579438A (en) * | 2020-12-01 | 2021-03-30 | 河南芯盾网安科技发展有限公司 | Multifunctional automatic test tool and test method |
CN114490228A (en) * | 2021-07-21 | 2022-05-13 | 荣耀终端有限公司 | Bluetooth automatic test method and related device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103269497A (en) * | 2013-05-08 | 2013-08-28 | 百度在线网络技术(北京)有限公司 | Method and system capable of conducting managing and testing on mobile phone |
CN104850489A (en) * | 2014-02-13 | 2015-08-19 | 富士通株式会社 | Mobile application test system |
CN105868105A (en) * | 2016-03-24 | 2016-08-17 | 厦门美图移动科技有限公司 | Application traversal testing method and device, and mobile terminal |
CN106033393A (en) * | 2015-03-13 | 2016-10-19 | 展讯通信(天津)有限公司 | Method and system for testing application program, and mobile terminal |
-
2016
- 2016-11-29 CN CN201611076464.6A patent/CN106776294B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103269497A (en) * | 2013-05-08 | 2013-08-28 | 百度在线网络技术(北京)有限公司 | Method and system capable of conducting managing and testing on mobile phone |
CN104850489A (en) * | 2014-02-13 | 2015-08-19 | 富士通株式会社 | Mobile application test system |
CN106033393A (en) * | 2015-03-13 | 2016-10-19 | 展讯通信(天津)有限公司 | Method and system for testing application program, and mobile terminal |
CN105868105A (en) * | 2016-03-24 | 2016-08-17 | 厦门美图移动科技有限公司 | Application traversal testing method and device, and mobile terminal |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019000291A1 (en) * | 2017-06-26 | 2019-01-03 | 深圳市靖洲科技有限公司 | Intelligent terminal test method, device, and system |
CN107509212A (en) * | 2017-10-13 | 2017-12-22 | 上海展扬通信技术有限公司 | A kind of method of testing and test system for mobile terminal |
CN108462614A (en) * | 2018-01-09 | 2018-08-28 | 深圳市亿道数码技术有限公司 | Automatization test system |
CN108319554A (en) * | 2018-02-13 | 2018-07-24 | 广州市百果园信息技术有限公司 | Test method, computer readable storage medium and the terminal device of application function |
CN109151466A (en) * | 2018-06-28 | 2019-01-04 | 苏州乐轩科技有限公司 | A kind of android system platform clectronic equipment utility function automatic test approach |
CN109032948A (en) * | 2018-07-28 | 2018-12-18 | 安徽捷兴信息安全技术有限公司 | It is a kind of by USB interface to the method and detection system of mobile phone application safety detection |
CN109324741A (en) * | 2018-09-30 | 2019-02-12 | 广州云测信息技术有限公司 | A kind of method of controlling operation thereof, device and system |
CN112306576A (en) * | 2020-11-03 | 2021-02-02 | 深圳市桑达无线通讯技术有限公司 | Method for modifying internal number of application program of android device |
CN112306576B (en) * | 2020-11-03 | 2023-11-07 | 深圳市桑达无线通讯技术有限公司 | Method for modifying built-in number of android device application program |
CN112579438A (en) * | 2020-12-01 | 2021-03-30 | 河南芯盾网安科技发展有限公司 | Multifunctional automatic test tool and test method |
CN114490228A (en) * | 2021-07-21 | 2022-05-13 | 荣耀终端有限公司 | Bluetooth automatic test method and related device |
Also Published As
Publication number | Publication date |
---|---|
CN106776294B (en) | 2020-06-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106776294A (en) | Android mobile phone automated testing method and system | |
CN106021095B (en) | A kind of Android application automated testing method based on push-mechanism | |
CN102141962B (en) | Safety distributed test framework system and test method thereof | |
CN103365779B (en) | Method for testing software and system | |
CN104778124B (en) | A kind of software application automated testing method | |
CN106021099A (en) | System and method for achieving UI automatic test of intelligent terminal | |
CN103744787A (en) | Cellphone automated testing method | |
CN102938800B (en) | A kind of radio communication quality Auto-Test System and method | |
CN108566323A (en) | A kind of T-Box automated testing methods and system | |
CN102591780B (en) | Device driver software test method and test system | |
CN111104341A (en) | Automatic testing method, device, equipment and storage medium for intelligent household equipment | |
CN104780407A (en) | Automatic testing method and automatic testing system for set top box | |
CN102438055A (en) | Mobile phone automated testing method based on bluetooth communication | |
CN104679644A (en) | Testing method and system for application program in mobile terminal | |
CN108509343A (en) | Automated testing method based on image recognition technology and system | |
CN101646100A (en) | Method and system for testing machine top box based on serial port communication | |
CN104980552B (en) | Realize the method and system of Android mobile terminal automatic test | |
CN106100935A (en) | Charging equipment of electric automobile communication protocol consistency test device and method | |
CN105120483B (en) | Automatic testing method and system for compatibility of smart card and mobile terminal | |
CN102750301A (en) | Blueprint generating method for integrated avionic system model aiming at architecture analysis and design language (AADL) description | |
CN102123191A (en) | Mobile phone automatic testing method | |
CN106528429A (en) | UI testing method and device | |
CN103559114A (en) | Embedded module driving functional testing system and method | |
CN105354138A (en) | Method for determining specific control attribute of mobile phone page | |
JPWO2013190714A1 (en) | Automatic operation system and operation automation method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |