CN104850498B - A kind of filling information method of testing and system - Google Patents
A kind of filling information method of testing and system Download PDFInfo
- Publication number
- CN104850498B CN104850498B CN201510307108.XA CN201510307108A CN104850498B CN 104850498 B CN104850498 B CN 104850498B CN 201510307108 A CN201510307108 A CN 201510307108A CN 104850498 B CN104850498 B CN 104850498B
- Authority
- CN
- China
- Prior art keywords
- filling information
- filling
- information
- module
- database
- 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.)
- Active
Links
- 238000010998 test method Methods 0.000 title claims abstract description 36
- 238000012360 testing method Methods 0.000 claims abstract description 41
- 230000006870 function Effects 0.000 claims description 31
- 239000002131 composite material Substances 0.000 claims description 9
- 238000006243 chemical reaction Methods 0.000 claims description 5
- 238000000034 method Methods 0.000 description 19
- 239000008186 active pharmaceutical agent Substances 0.000 description 6
- 230000000694 effects Effects 0.000 description 4
- 238000013500 data storage Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000011160 research Methods 0.000 description 3
- 230000004044 response Effects 0.000 description 3
- 238000003490 calendering Methods 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 230000005611 electricity Effects 0.000 description 2
- 238000012856 packing Methods 0.000 description 2
- 230000009466 transformation Effects 0.000 description 2
- 230000004075 alteration Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 238000004321 preservation Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Landscapes
- Mobile Radio Communication Systems (AREA)
- Telephone Function (AREA)
Abstract
The present invention provides a kind of filling information method of testing, including:When the mobile terminal enters test pattern, input makes user according to the instruction of the selected functional module of self-demand;To being input into the filling information in the selected functional module;The filling information is stored in the common storage text that multiple functional modules can be shared by the store path matched with the functional module;Call the first perform script file that the filling information is input into corresponding functional module for performing being pre-stored in the mobile terminal;Call be pre-stored in the mobile terminal for performing the second perform script file being installed into the first perform script file in the Directory of Features in the mobile terminal of test.Invention achieves enabling, tester is succinct, quick logging data, facilitates test job to carry out, and greatly improves unicity of the current automation data filling just for certain specific category module, the data filling function of expansible other class Modules.
Description
Technical field
The invention belongs to mobile terminal test technical field, it is related to a kind of method of testing and system, it is more particularly to a kind of
Filling information method of testing and system.
Background technology
Current Android intelligent is increasingly favored by user.Android platform mobile phone possesses powerful touch
Screen function, friendly system interface and mode of operation etc., these all bring hommization, efficiently intellectuality, experience effect to user
Really.But each portion is towards all condensing mobile-phone manufacturers, software version developer, software version after the cell phone back of end user
The hard working achievement of the related work person such as tester.Wherein the quality of software version directly concerns the experience effect of user,
And the person of making a final check of software version is software test personnel.Usual software test personnel need to carry out software version comprehensively thin
The test of cause is known and confirms final qualified version.Software test personnel usually need to be manually entered some numbers when test
It is believed that breath, such as newly-built associated person information, send short message, multimedia message, call, receive calls, newly-built schedule, browse webpage and add
Plus browser bookmark, to mobile phone data storage etc.;Substantial amounts of data test is carried out (such as by hundreds of contacts if necessary to test
People's information is derived to be come), tester is accomplished by creating mass data information (as created hundreds of associated person informations), and creates big
Amount data message not only operates complicated and very time-consuming, may sometimes need to put into more manpowers to obtain output in time
As a result.So operation is that labor intensive expends the time again, influences operating efficiency.
The existing technology in terms of Android phone data filling primarily directed to some specific modules (short message,
Multimedia message, contact person, message registration) propose specific a kind of data filling method.For example,
Patent【1】:A kind of automatic filling test method of message registration, Application No. 201110287697.1 invention pin
To the Research on Automatic Filling of message registration, the program of being mainly based upon has main operation interface, and energy code generates data message warp at random
Crossing backstage after operation is filled in selection directly operates Android modules correspondence database to add information;
Patent【2】:A kind of cell phone multimedia message Research on Automatic Filling based on Android, Application No. 201210084912.2
The Research on Automatic Filling for multimedia message is invented, the program of being mainly based upon has main operation interface, and energy code generates data letter at random
Cease by packing number fill in operation after backstage directly operate Android modules correspondence database add information;It is existing above
Two patents be all by start invention design program after start-up operation interface, automatically generated data is filled in by user straight
Connecing the corresponding database of mode transfer block carries out filling in operation, and technology is realized being based on Android program code.
Therefore, how a kind of filling information method of testing and system are provided, are existed with solving tester of the prior art
, it is necessary to create mass data information when carrying out substantial amounts of data test to mobile terminal, and create mass data information and not only grasp
Make cumbersome, and take time and effort so that reducing test job efficiency, and prior art is filled only for single a certain work(automatically
Energy module, does not widely use many disadvantages such as multiple functional modules, and having turned into practitioner in the art's technology urgently to be resolved hurrily in fact asks
Topic.
The content of the invention
The shortcoming of prior art in view of the above, it is an object of the invention to provide a kind of filling information method of testing and
System, for solve in the prior art tester when substantial amounts of data test is carried out to mobile terminal, it is necessary to create a large amount of
Data message, and it is not only cumbersome to create mass data information, and take time and effort so that reduce test job efficiency, and
Prior art is filled only for single a certain functional module automatically, does not widely use the problem of multiple functional modules.
In order to achieve the above objects and other related objects, one aspect of the present invention provides a kind of filling information method of testing, should
With being configured with the mobile terminal of multiple functional modules, each functional module can be received according to its corresponding function and come from
The filling information of user input, is provided with Directory of Features in the mobile terminal, the filling information method of testing includes following
Step:When the mobile terminal enters test pattern, input makes user according to the instruction of the selected functional module of self-demand;
To being input into the filling information in the selected functional module;By the filling information by matching with the functional module
Store path is stored in the common storage text that multiple functional modules can be shared;Call and be pre-stored in the mobile terminal
The first perform script file that the filling information is input into corresponding functional module for performing;Call and be pre-stored in the shifting
The first perform script file is installed into the Directory of Features in the mobile terminal of test for performing in dynamic terminal
Second perform script file.
Alternatively, the first perform script file performs the specific steps that described information is input into corresponding functional module
Including:Read filling information of the storage in the common storage text;The filling information that will be read is converted into specifying
Type filling information;Random filling information word is created according to random filling information character range set in advance and Prefabricated composite mode
Symbol string;The identifier for searching matching database is provided with the random filling information character string;According to described
Identifier searches the database of matching, and random filling information character string is write into the database;The database is configured with use
The specified type filling information is written to the write instruction of database in instruction;Instructed the specified type according to said write
Filling information writes the database.
Alternatively, the database of matching is being searched according to the identifier, the write-in of random filling information character string is described
Also include obtaining the access limit of the database in the step of database.
Alternatively, the specified type filling information is int type filling informations.
Alternatively, the first perform script file is .apk script files;The second perform script file is .bat
Script file.
Alternatively, all there is corresponding first perform script file and perform pin with described first in each functional module
The corresponding second perform script file of presents.
Another aspect of the present invention also provides a kind of filling information test system, applies and is being configured with the shifting of multiple functional modules
In dynamic terminal, each functional module can receive the filling information for coming from user input, the shifting according to its corresponding function
Directory of Features is provided with dynamic terminal, the filling information test system includes:Instruction input module, for described mobile whole
When end enters test pattern, input makes user according to the instruction of the selected functional module of self-demand;With the instruction input mould
The MIM message input module of block connection, for being input into the filling information in the selected functional module;It is defeated with described information
Enter the memory module of module connection, for the filling information to be stored in by the store path matched with the functional module
In the common storage text that multiple functional modules can be shared;The first calling module being connected with the memory module, is used for
Call the first execution that the filling information is input into corresponding functional module for performing being pre-stored in the mobile terminal
Script file;The second calling module being connected with first calling module, is pre-stored in the mobile terminal for calling
For performing the second execution pin being installed into the first perform script file in the Directory of Features in the mobile terminal of test
Presents.
Alternatively, first calling module includes:Reading unit, for reading storage in common storage text text
Filling information in part;The information conversion unit being connected with the reading unit, the filling information for that will read is converted into
The type of specifying filling information;The character string creating unit being connected with described information converting unit, for according to set in advance random
Filling information character range and Prefabricated composite mode create random filling information character string;In the random filling information character string
It is provided with the identifier for searching matching database;The first write-in being connected with the character string creating unit is single
Unit, the database for searching matching according to the identifier, the database is write by random filling information character string;It is described
Database is configured with the write instruction for indicating to be written to the specified type filling information database;With the described first write-in
Second writing unit of unit connection, for the specified type filling information to be write into the data according to said write instruction
Storehouse.
Alternatively, one is prestored in the reading unit is used to read the reading file of the filling information, the reading
Unit reads the filling information using the reading file.
Alternatively, first writing unit is additionally operable to obtain the access limit of the database.
As described above, filling information method of testing of the invention and system, have the advantages that:
First, the filling information method of testing provides the exe instruments that can be run, and starts instrument convenient.
Second, the filling information method of testing will need newly-built or addition contact person, SMS/MMS, schedule, call note
The related filling of record, browser bookmark content and mobile phone EMS memory is encapsulated in a kind of form class, by simple manifolding base class work(
The related filling function of contact person, SMS/MMS, schedule, browser bookmark content and mobile phone EMS memory can be realized, it is multiple
The filling functional realiey of other modules again simplify the work of tester, improve operating efficiency.
3rd, the filling information method of testing is using java code calls " .bat " file loading correspondence " .apk " file
Realize the data write-in of correspondence class Modules.The method has generally applicable type, and each automation data fills the realization of function
The method can be used.Current automation data fill method is greatly improved just for the single of certain specific category module
Property, it has very strong scalability in addition, and developer can as needed extend the data filling function of other class Modules,
Can again be upgraded more module data filling functions according to demand.
Brief description of the drawings
Fig. 1 is shown as filling information method of testing schematic flow sheet of the invention.
First perform script file is performed the filling information during Fig. 2 is shown as filling information method of testing of the invention
It is input into the specific steps schematic flow sheet of corresponding functional module.
Fig. 3 is shown as filling information test principle structural representation of the invention.
Fig. 4 is shown as the first calling module theory structure schematic diagram in filling information test system of the invention.
Component label instructions
1 described information fills test system
11 instruction input modules
12 MIM message input modules
13 memory modules
14 first calling modules
15 second calling modules
141 reading units
142 information conversion units
143 character string creating units
144 first writing units
145 second writing units
S1~S5 steps
Specific embodiment
Embodiments of the present invention are illustrated below by way of specific instantiation, those skilled in the art can be by this specification
Disclosed content understands other advantages of the invention and effect easily.The present invention can also be by specific realities different in addition
The mode of applying is embodied or practiced, the various details in this specification can also based on different viewpoints with application, without departing from
Various modifications or alterations are carried out under spirit of the invention.It should be noted that, in the case where not conflicting, following examples and implementation
Feature in example can be mutually combined.
It should be noted that the diagram provided in following examples only illustrates basic structure of the invention in a schematic way
Think, component count, shape and size when only display is with relevant component in the present invention rather than according to actual implementation in schema then
Draw, it is actual when the implementing kenel of each component, quantity and ratio can be a kind of random change, and its assembly layout kenel
It is likely more complexity.
The present invention provides a kind of filling information method of testing and system mainly for mobile terminal, for example, Android platform
Mobile phone terminal, development environment is Eclipse Java EE IDE, and exploitation reference is Java API, Android API.This
The inventive principle of invention is:
Realization of the invention needs " .bat " script file and the writing for android files of " .apk " to use cooperatively.Originally carry
Case mainly to be introduced and realize technical method suitable for what the data of multiple class Modules were filled.The core thinking of this technology method is:
Be saved in number in certain path txt formatted files by system after user independently sets filling information bar number first;In addition
One apk file of pre-preparation, for filling information to be filled into corresponding class Modules, this apk needs packaged function
Have:Content transformation is digital number, establishment random data information character string, the data to correspondence class Modules in reading txt
Number data information is filled in storehouse.Start after filling preserved number, system calls corresponding " .bat " file will be right
Apk is answered to be installed into cellphone directory, apk start completion filling work.Wherein, each class Modules correspondence apk has corresponding
" .bat " file and " .apk " file.Because user is carried out according to oneself needing selected class Modules to set different packing numbers
Filling, thus the public preservation number of all categories module txt file, it is to avoid create the txt of multiple identical functions,
Response efficiency is improved." .bat " file installs apk using script command, and content transformation is numeral during " .apk " file reads txt
The number of int types is converted into during number using type after reading file File contents;Create random data information character string
Be as needed setting random character scope, using Android API and Java API provide random function method carry out with
Machine combines to form required data message character string;To correspondence class Modules database in fill in data message character string when
Time is after correspondence database access limit is obtained, to be write character string according to the database corresponding keys that Android API are provided,
This part of Primary Reference Android API is developed.
Embodiment one
The present embodiment provides a kind of filling information method of testing, and the filling information method of testing is applied and is being configured with multiple work(
On the mobile terminal of energy module, the mobile terminal can be smart mobile phone, panel computer etc. electronic equipment, each function
Module can receive the filling information for coming from user input according to its corresponding function, and functional mesh is set in the mobile terminal
Record, multiple functional modules include contact person's memory module, and SMS module, multimedia message module, calendaring module, dial module, webpage is clear
Look at module, memory modules etc..These modules usually need newly-built associated person information, send short message, send multimedia message, dial electricity
Words, check message registration, and newly-built schedule browses webpage addition browser bookmark, gives mobile phone data storage testing mobile phone content, this
A little data messages are required for tester first to find corresponding information input being manually entered again.Fig. 1 is referred to, is shown as filling out
Fill information test method schematic flow sheet.As shown in figure 1, described information filling method of testing is comprised the following steps:
S1, in the mobile terminal, in the present embodiment, the mobile terminal is Android phone, into test pattern
When, input makes user according to the instruction of the selected functional module of self-demand.In the present embodiment, the self-demand of user is chosen
Call module.
S2, to being input into the filling information in the selected functional module;The filling information includes filling contact person
Number, short message bar number, multimedia message bar number, schedule bar number, message registration bar number, browser bookmark number, and mobile phone EMS memory etc..At this
In embodiment, the filling information is contact person's number.
S3, the filling information, i.e. contact person's number are matched by with the functional module, i.e. contact person's memory module
Store path be stored in a storage text, the storage text is that all functional modules can be shared in mobile terminal
Common storage text.And can avoid creating the text of malicious dog volume identical function using a public storage text
Presents, response efficiency is high.
S4, calls to be pre-stored in the mobile terminal filling information is input into corresponding functional module for performing
The first perform script file.In the present embodiment, all there is corresponding first perform script file in each functional module.
In the present embodiment, the first perform script file is " .apk files ".Fig. 2 is referred to, the first perform script text is shown as
Part performs the specific steps schematic flow sheet that the filling information is input into corresponding functional module, and the step includes:
S41, reads filling information of the storage in the common storage text.In the present embodiment, by using
The one reading file f ile for prestoring reads filling information of the storage in the common storage text, that is, read contact person
Number.
S42, the filling information that will be read is converted into specifying type filling information.In the present embodiment, by filling out for reading
Fill information, i.e. contact person's number and be converted into the specified type filling information for int type filling informations, i.e. int types digital information.
S43, random filling information is created according to random filling information character range set in advance and Prefabricated composite mode
Character string;The identifier for searching matching database is provided with the random filling information character string.In this reality
Apply in example, the random filling information character range can be numeral, alphabetical, punctuation mark etc..The Prefabricated composite mode
In the present embodiment can using Java API and Android API provide random function method carry out random combine create with
Machine filling information character string.
S44, the database of matching is searched according to the identifier, and random filling information character string is write into the data
Storehouse.The identifier for searching matching database is provided with random filling information character string.Will in described step
Correspondence database access limit is being obtained when random filling information character string writes the database, access limit is being obtained
Afterwards, the write instruction for indicating to be written to the specified type filling information database for being configured according to the database, i.e.,
With the key-value pair of the identifier match of the random filling information character string.
S45, the database is write according to said write instruction by the specified type filling information.
S5, calls to be pre-stored in the mobile terminal the first perform script file is installed into test for performing
Mobile terminal in Directory of Features in the second perform script file corresponding with the first perform script file.In this reality
Apply in example, the second perform script file is " .bat files ".In the present embodiment, using java code calls " .bat texts
Part " loads the data write-in that corresponding " .apk files " realizes corresponding function module.In the present embodiment, step S5 is realized
The final filling of data message.
Filling information method of testing described in the present embodiment aim to provide a data filling function cover contact person, it is short/
The related data information fill method of multimedia message, schedule, message registration, browser bookmark content and mobile phone EMS memory.Improve existing
Some technical schemes reached again enable tester succinctly, quickly to testing mobile phone logging data, facilitate test job to open
Exhibition, improves the purpose of operating efficiency.The present invention proposes a method for being widely used in multiple module data fillings, for many
Individual module carries out the usable flow and method of data filling, and slightly difference is realized for different classes of module this method inside,
Integral Thought flow is consistent.Highly versatile, regarded as output controlling is used again to be easy to different groups after disclosure, can effectively improve industry
The operating efficiency of personnel.The filling information method of testing has advantages below:
First, the filling information method of testing provides the exe instruments that can be run, and starts instrument convenient.
Second, the filling information method of testing will need newly-built or addition contact person, SMS/MMS, schedule, call note
The related filling of record, browser bookmark content and mobile phone EMS memory is encapsulated in a kind of form class, by simple manifolding base class work(
The related filling function of contact person, SMS/MMS, schedule, browser bookmark content and mobile phone EMS memory can be realized, it is multiple
The filling functional realiey of other modules again simplify the work of tester, improve operating efficiency.
3rd, the filling information method of testing is using java code calls " .bat " file loading correspondence " .apk " file
Realize the data write-in of correspondence class Modules.The method has generally applicable type, and each automation data fills the realization of function
The method can be used.Current automation data fill method is greatly improved just for the single of certain specific category module
Property, it has very strong scalability in addition, and developer can as needed extend the data filling function of other class Modules,
Can again be upgraded more module data filling functions according to demand.
Embodiment two
The present embodiment provides a kind of filling information test system 1, and the filling information test system is applied and is being configured with multiple
On the mobile terminal of functional module, the mobile terminal can be smart mobile phone, panel computer etc. electronic equipment, each work(
Energy module can receive the filling information that come from user input according to its corresponding function, and functional mesh is set in the mobile terminal
Record, multiple functional modules include contact person's memory module, and SMS module, multimedia message module, calendaring module, dial module, webpage is clear
Look at module, memory modules etc..These modules usually need newly-built associated person information, send short message, send multimedia message, dial electricity
Words, check message registration, and newly-built schedule browses webpage addition browser bookmark, gives mobile phone data storage testing mobile phone content, this
A little data messages are required for tester first to find corresponding information input being manually entered again.Fig. 3 is referred to, is shown as filling out
Fill information test principle structural representation.As shown in figure 3, described information filling test system 1 includes:Instruction input module
11st, MIM message input module 12, memory module 13, the first calling module 14 and the second calling module 15.
The instruction input module 11 is used in the mobile terminal, and in the present embodiment, the mobile terminal is
Android phone, during into test pattern, input makes user according to the instruction of the selected functional module of self-demand.In this reality
Apply in example, the self-demand of user chooses call module.
The MIM message input module 12 being connected with the instruction input module 11 is used for defeated in the selected functional module
Enter the filling information;The filling information includes filling contact person number, short message bar number, multimedia message bar number, schedule bar number, call
Record strip number, browser bookmark number, and mobile phone EMS memory etc..In the present embodiment, the filling information is contact person's number.
The memory module 13 being connected with described information input module 12 is used for the filling information, i.e. contact person's number is logical
Cross and be stored in a storage text with the functional module, the i.e. store path of contact person's memory module matching, the storage
Text is the common storage text that all functional modules can be shared in mobile terminal.And public deposited using one
Storage text can avoid creating the text of malicious dog volume identical function, and response efficiency is high.
The first calling module 14 being connected with the memory module 13 is used to call the use being pre-stored in the mobile terminal
The filling information is input into the first perform script file of corresponding functional module in execution.In the present embodiment, Mei Yigong
All there is corresponding first perform script file in energy module.In the present embodiment, the first perform script file is
" .apk files ".Fig. 4 is referred to, the theory structure schematic diagram of the first calling module is shown as.As shown in figure 4, described first adjusts
Included with module:Reading unit 141, information conversion unit 142, character string creating unit 143, the first writing unit 144 and
Two writing units 145.
The reading unit 141 is used to read filling information of the storage in the common storage text.In this reality
In applying example, the reading unit 141 is pre-stored in reading file f ile therein and reads storage by using one public deposits described
Filling information in storage text, that is, read contact person's number.
Described information converting unit 142 is connected and the filling information conversion for that will read with the reading unit 141
Into specified type filling information.In the present embodiment, the filling information that described information converting unit 142 will read, i.e. contact person
Number is converted into the specified type filling information for int type filling informations, i.e. int types digital information.
The character string creating unit 143 being connected with described information converting unit 142 is used to be filled out at random according to set in advance
Fill information character scope and Prefabricated composite mode creates random filling information character string;Set in the random filling information character string
It is equipped with the identifier for searching matching database.In the present embodiment, the random filling information character range can
Think numeral, letter, punctuation mark etc..The Prefabricated composite mode in the present embodiment can using Java API and
The random function method that Android API are provided carries out random combine and creates random filling information character string.The present embodiment what
Always, the random filling information character range and Prefabricated composite mode are all to be pre-stored in speed to search in character string creation module 143.
The first writing unit 144 being connected with the character string creating unit 143 is used for according to identifier lookup
The database matched somebody with somebody, the database is write by random filling information character string.Be provided with random filling information character string for
Search the identifier of matching database.First writing unit 144 is additionally operable to write random filling information character string
Correspondence database access limit is being obtained when entering the database, after access limit is obtained, is being matched somebody with somebody according to the database
The write instruction for indicating to be written to the specified type filling information database put, i.e., with the random filling information word
Accord with the key-value pair of the identifier match of string.
The second writing unit 145 being connected with first writing unit 144 is used for according to said write instruction by described in
The type of specifying filling information writes the database.
The second calling module 15 being connected with first calling module 14 is used to call to be pre-stored in the mobile terminal
For perform by the first perform script file be installed into the Directory of Features in the mobile terminal of test with described
The corresponding second perform script file of one perform script file.In the present embodiment, the second perform script file is " .bat
File ".In the present embodiment, corresponding " .apk files " is loaded using java code calls " .bat files " and realizes correspondence
The data write-in of functional module, second calling module 15 realizes the final filling of data message.
In sum, filling information method of testing of the present invention and system have advantages below:
First, the filling information method of testing provides the exe instruments that can be run, and starts instrument convenient.
Second, the filling information method of testing will need newly-built or addition contact person, SMS/MMS, schedule, call note
The related filling of record, browser bookmark content and mobile phone EMS memory is encapsulated in a kind of form class, by simple manifolding base class work(
The related filling function of contact person, SMS/MMS, schedule, browser bookmark content and mobile phone EMS memory can be realized, it is multiple
The filling functional realiey of other modules again simplify the work of tester, improve operating efficiency.
3rd, the filling information method of testing is using java code calls " .bat " file loading correspondence " .apk " file
Realize the data write-in of correspondence class Modules.The method has generally applicable type, and each automation data fills the realization of function
The method can be used.Current automation data fill method is greatly improved just for the single of certain specific category module
Property, it has very strong scalability in addition, and developer can as needed extend the data filling function of other class Modules,
Can again be upgraded more module data filling functions according to demand.
So, the present invention effectively overcomes various shortcoming of the prior art and has high industrial utilization.
The above-described embodiments merely illustrate the principles and effects of the present invention, not for the limitation present invention.It is any ripe
The personage for knowing this technology all can carry out modifications and changes under without prejudice to spirit and scope of the invention to above-described embodiment.Cause
This, those of ordinary skill in the art is complete with institute under technological thought without departing from disclosed spirit such as
Into all equivalent modifications or change, should be covered by claim of the invention.
Claims (8)
1. a kind of filling information method of testing, applies and is being configured with the mobile terminal of multiple functional modules, each function
Module can receive the filling information for coming from user input according to its corresponding function, and functional mesh is set in the mobile terminal
Record, it is characterised in that the filling information method of testing is comprised the following steps:
When the mobile terminal enters test pattern, input makes user according to the instruction of the selected functional module of self-demand;
To being input into the filling information in the selected functional module;
The filling information is stored in what multiple functional modules can be shared by the store path matched with the functional module
In common storage text;
Call to be pre-stored in the mobile terminal and the filling information is input into the first of corresponding functional module for performing
Perform script file;
Call the movement that the first perform script file is installed into test for performing being pre-stored in the mobile terminal
The second perform script file in Directory of Features in terminal;
The first perform script file is performed includes the specific steps that described information is input into corresponding functional module:
Read filling information of the storage in the common storage text;
The filling information that will be read is converted into specifying type filling information;
Random filling information character string is created according to random filling information character range set in advance and Prefabricated composite mode;Institute
State the identifier being provided with random filling information character string for searching matching database;
The database of matching is searched according to the identifier, random filling information character string is write into the database;The number
The write instruction for indicating to be written to the specified type filling information database is configured with according to storehouse;
The specified type filling information is write by the database according to said write instruction.
2. filling information method of testing according to claim 1, it is characterised in that:Matched being searched according to the identifier
Database, the step of random filling information character string is write into the database in also include obtaining the read-write of the database
Authority.
3. filling information method of testing according to claim 1, it is characterised in that:The specified type filling information is int
Type filling information.
4. filling information method of testing according to claim 1, it is characterised in that:The first perform script file is
.apk script file;The second perform script file is .bat script files.
5. filling information method of testing according to claim 1, it is characterised in that:It is right therewith that each functional module is all present
The the first perform script file and the second perform script file corresponding with the first perform script file answered.
6. a kind of filling information test system, applies and is being configured with the mobile terminal of multiple functional modules, each function
Module can receive the filling information for coming from user input according to its corresponding function, and functional mesh is set in the mobile terminal
Record, it is characterised in that the filling information test system includes:
Instruction input module, for when the mobile terminal enters test pattern, input to make user selected according to self-demand
The instruction of one functional module;
The MIM message input module being connected with the instruction input module, for being filled out to described in input in the selected functional module
Fill information;
The memory module being connected with described information input module, for the filling information to be matched by with the functional module
Store path be stored in the common storage text that multiple functional modules can be shared;
The first calling module being connected with the memory module, for call be pre-stored in the mobile terminal for performing general
The filling information is input into the first perform script file of corresponding functional module;
The second calling module being connected with first calling module, for call be pre-stored in the mobile terminal for holding
It is about to the second perform script file that the first perform script file is installed into the Directory of Features in the mobile terminal of test;
First calling module includes:
Reading unit, for reading filling information of the storage in the common storage text;
The information conversion unit being connected with the reading unit, the filling information for that will read is converted into specifying type filling letter
Breath;
The character string creating unit being connected with described information converting unit, for according to random filling information character set in advance
Scope and Prefabricated composite mode create random filling information character string;It is provided with for looking into the random filling information character string
Look for the identifier of matching database;
The first writing unit being connected with the character string creating unit, the data for searching matching according to the identifier
Storehouse, the database is write by random filling information character string;The database is configured with for indicating to fill out on the specified type
The information of filling is written to the write instruction of database;
The second writing unit being connected with first writing unit, for being filled the specified type according to said write instruction
Information writes the database.
7. filling information test system according to claim 6, it is characterised in that:A use is prestored in the reading unit
In the reading file for reading the filling information, the reading unit reads the filling information using the reading file.
8. filling information test system according to claim 6, it is characterised in that:First writing unit is additionally operable to obtain
Take the access limit of the database.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510307108.XA CN104850498B (en) | 2015-06-05 | 2015-06-05 | A kind of filling information method of testing and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510307108.XA CN104850498B (en) | 2015-06-05 | 2015-06-05 | A kind of filling information method of testing and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104850498A CN104850498A (en) | 2015-08-19 |
CN104850498B true CN104850498B (en) | 2017-06-16 |
Family
ID=53850151
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510307108.XA Active CN104850498B (en) | 2015-06-05 | 2015-06-05 | A kind of filling information method of testing and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104850498B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107665166B (en) * | 2016-07-27 | 2020-08-14 | 广州供电局有限公司 | Function detection method and system of information system |
CN106951371B (en) * | 2017-03-20 | 2019-07-09 | 南京大学 | A kind of semi-automatic test method of Android application based on dependence injection |
CN107506292B (en) * | 2017-07-07 | 2021-04-13 | 郑州云海信息技术有限公司 | Automatic test method for random read time delay under multilevel non-uniform directory |
CN108415826B (en) * | 2018-01-12 | 2021-10-29 | 深圳壹账通智能科技有限公司 | Application testing method, terminal device and computer readable storage medium |
CN112152871B (en) * | 2020-08-14 | 2021-09-24 | 上海纽盾科技股份有限公司 | Artificial intelligence test method, device and system for network security equipment |
CN114860582B (en) * | 2022-04-14 | 2024-01-09 | 中国电子科技集团公司第十五研究所 | Web page test auxiliary method and system |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103135976A (en) * | 2011-11-30 | 2013-06-05 | 阿里巴巴集团控股有限公司 | Code automatic generation method and device |
US8511545B1 (en) * | 2007-04-13 | 2013-08-20 | United Services Automobile Association (Usaa) | Method and system for pre-filling account information |
CN103502953A (en) * | 2011-12-05 | 2014-01-08 | 华为技术有限公司 | Method and device for improving concurrence performance of distributed object storage system |
-
2015
- 2015-06-05 CN CN201510307108.XA patent/CN104850498B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8511545B1 (en) * | 2007-04-13 | 2013-08-20 | United Services Automobile Association (Usaa) | Method and system for pre-filling account information |
CN103135976A (en) * | 2011-11-30 | 2013-06-05 | 阿里巴巴集团控股有限公司 | Code automatic generation method and device |
CN103502953A (en) * | 2011-12-05 | 2014-01-08 | 华为技术有限公司 | Method and device for improving concurrence performance of distributed object storage system |
Also Published As
Publication number | Publication date |
---|---|
CN104850498A (en) | 2015-08-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104850498B (en) | A kind of filling information method of testing and system | |
CN104572114B (en) | A kind of binding device, using updating device and method | |
CN108027722A (en) | The dynamically renewal application in compiling and deployment | |
CN109901834A (en) | Document file page generation method, device, computer equipment and storage medium | |
CN107451162A (en) | Network resource accession equipment, mixing apparatus and method | |
CN102760096B (en) | The generation method of test data, unit test method and unit test system | |
CN103443763B (en) | Comprise to connect the ISA Bridge of the support called rewriteeing virtual function | |
CN103176778B (en) | Web development methods and device | |
CN109634607A (en) | A kind of method and device of Code automatic build | |
CN104915297B (en) | A kind of automated testing method of the APP power consumption of android equipment | |
CN103440285B (en) | Large-scale mobile phone games system and database update method thereof | |
CN110020356A (en) | A kind of code generating method of page module, apparatus and system | |
CN110069264A (en) | Construct method, apparatus, computer equipment and the storage medium of resource packet | |
CN107688529A (en) | Component adjustment method and device | |
CN110297636A (en) | A kind of automatic production of HTML page and parameter management method based on page configuration file, system and device | |
CN102122245A (en) | Method and system for generating configuration item setting interface | |
CN109960491A (en) | Application program generation method, generating means, electronic equipment and storage medium | |
CN108280219A (en) | Text interpretation method, device, computer equipment and storage medium | |
CN102364437A (en) | Multi-language site development system and implementation method thereof | |
CN113377661A (en) | Interface testing method and device, electronic equipment and storage medium | |
CN108418797A (en) | Web access method, device, computer equipment and storage medium | |
CN111221530A (en) | Mobile terminal Web application interface construction method, Web application interface and operation method thereof | |
CN113032275A (en) | Method and device for testing field, electronic equipment and storage medium | |
CN112306486B (en) | Interface generation method and device, server and storage medium | |
CN111382044A (en) | Positioning method and positioning device for performance bottleneck, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EXSB | Decision made by sipo to initiate substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
PP01 | Preservation of patent right |
Effective date of registration: 20180313 Granted publication date: 20170616 |
|
PP01 | Preservation of patent right | ||
PD01 | Discharge of preservation of patent | ||
PD01 | Discharge of preservation of patent |
Date of cancellation: 20210313 Granted publication date: 20170616 |
|
PP01 | Preservation of patent right | ||
PP01 | Preservation of patent right |
Effective date of registration: 20210313 Granted publication date: 20170616 |
|
PD01 | Discharge of preservation of patent |
Date of cancellation: 20240313 Granted publication date: 20170616 |
|
PD01 | Discharge of preservation of patent |