CN106528413A - Method and device for testing application program - Google Patents
Method and device for testing application program Download PDFInfo
- Publication number
- CN106528413A CN106528413A CN201610954707.5A CN201610954707A CN106528413A CN 106528413 A CN106528413 A CN 106528413A CN 201610954707 A CN201610954707 A CN 201610954707A CN 106528413 A CN106528413 A CN 106528413A
- Authority
- CN
- China
- Prior art keywords
- script
- user
- application program
- scene
- parameter configuration
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
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/3688—Test management for test execution, e.g. scheduling of test suites
-
- 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/3696—Methods or tools to render software testable
Abstract
The embodiment of the invention discloses a method and device for testing an application program. The method comprises the steps that communication connection with an intelligent terminal in which a to-be-tested application program is located is established; parameter configuration transcribed by the user for a script is acquired, and the course of the user's operation of the to-be-tested application program is transcribed into the script according to the parameter configuration; the user's operation to strengthen the script is received, and a scene set by the user for the script is acquired; and the scene is operated, and a running result is displayed. Through application of the scheme, performance of a server side of the intelligent terminal application program can be tested.
Description
Technical field
The present embodiments relate to software testing technology field, the method for testing and dress of more particularly to a kind of application program
Put.
Background technology
With the function of the intelligent terminals such as the development of internet, computer and the communication technology, smart mobile phone it is also more next
More powerful, user is also being continuously increased to the degree of dependence of application program of mobile phone (Application, APP).
But make a application program allow most of users to like being not easy to.For arbitrary money application program of mobile phone comes
Say, the product quality of its own and the publicity in later stage are indispensable.Therefore Mobile phone application product is not only in marketing side
Face will be handled properly, and the accreditation of user must be also obtained in terms of interaction and Consumer's Experience.Therefore, it is born in application program of mobile phone
Each stage is very necessary to its test for carrying out quality.The success or not of test is directly connected to application program of mobile phone
Availability, reliability and friendly.
At present, China is much ground for the method for testing software that PC (personal computer, personal computer) holds has
Study carefully, but it is little to be specific to the method for the software tests such as the application program in mobile phone.It is primarily due to smart mobile phone
Development lag behind computer.On the whole, the mobile phone test technology of China is also in the starting stage, experienced in recent years from nothing to
Some processes.Therefore need to find a set of method of testing and flow process for being specifically designed for application program of mobile phone to help research staff to exist
Application program of mobile phone is tested and judged in test job.
The content of the invention
In view of this, the method for testing and device of a kind of application program are embodiments provided, to realize to intelligence
The server end performance of end application is tested.
In a first aspect, a kind of method of testing of application program is embodiments provided, including:
Set up and the communication connection between the intelligent terminal at application program to be measured place;
The parameter configuration that user is recorded to script is obtained, and according to the parameter configuration, is answered to be measured described in user operation
Script is recorded into the process of program;
Enhancing of the receive user to the script is operated, and obtains scene of the user to the script setting;
The scene is run, and shows operation result.
Second aspect, embodiments provides a kind of test device of application program, including:
Communication building block, for the communication connection set up and between the intelligent terminal at application program to be measured place;
Script records module, for obtaining the parameter configuration that user is recorded to script, and according to the parameter configuration, will use
Family operates the process of the application program to be measured to record into script;
Scene setting module, operates to the enhancing of the script for receive user, and obtains user the script is set
The scene put;
Scene runs module, for running the scene, and shows operation result.
A kind of testing scheme of application program provided in an embodiment of the present invention, is setting up the intelligence with application program to be measured place
After communication connection between energy terminal, the parameter configuration that user is recorded to script is obtained, and according to parameter configuration, by user operation
The process of application program to be measured records into script.Then receive user is operated to the enhancing of script, and obtains user script is set
The scene put, by Run-time scenario, and after showing the result of scene operation, can be according to the result to intelligent terminal application program
Performance is analyzed, and then completes the test of the server end performance to intelligent terminal application program.
Description of the drawings
By reading the detailed description made to non-limiting example made with reference to the following drawings, other of the invention
Feature, objects and advantages will become more apparent upon:
Fig. 1 is a kind of flow chart of the method for testing of application program that the embodiment of the present invention one is provided;
Fig. 2 a are the offer of the embodiment of the present invention one directly by the script of application client recording in whole scene
In the Virtual User quantity schematic diagram that is currently running;
Fig. 2 b are the offer of the embodiment of the present invention one directly by the script of application client recording in whole scene
Middle user number of clicks schematic diagram per second;
Fig. 3 is a kind of flow chart of the method for testing of application program that the embodiment of the present invention two is provided;
Fig. 4 is a kind of structured flowchart of the test device of application program that the embodiment of the present invention three is provided.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining the present invention, rather than limitation of the invention.It also should be noted that, in order to just
Part related to the present invention rather than full content are illustrate only in description, accompanying drawing.
It also should be noted that, for the ease of description, illustrate only in accompanying drawing part related to the present invention rather than
Full content.It should be mentioned that some exemplary embodiments are described before exemplary embodiment is discussed in greater detail
Into the process or method described as flow chart.Although operations (or step) to be described as flow chart the process of order,
Be many of which operation can by concurrently, concomitantly or while implement.Additionally, the order of operations can be by again
Arrange.The process when its operations are completed can be terminated, it is also possible to have the additional step being not included in accompanying drawing.
The process can correspond to method, function, code, subroutine, subprogram etc..
Embodiment one
Fig. 1 is a kind of flow chart of the method for testing of application program that the embodiment of the present invention one is provided.Described in the present embodiment
Method can be performed by the test device of application program, wherein the device can be realized by software and/or hardware, general configurable
In a computer.As shown in figure 1, a kind of method of testing of application program of the present embodiment offer specifically includes following steps:
Communication connection between the intelligent terminal that step 110, foundation and application program to be measured are located.
Exemplary, the intelligent terminal in the present embodiment concretely support to install various applications by mobile phone, panel computer etc.
The mobile terminal of program.Wherein, application program to be measured the demand of practical operation can need to carry out server end performance according to
The application program that (such as loading velocity of response speed or webpage of application program etc.) is tested.For example, can be installed in intelligence
Taobao's client or Jingdone district client on mobile phone etc..
Exemplary, the communication connection between the intelligent terminal being located with application program to be measured is preferably connected for radio communication
Connect.It should be noted that in order to avoid conflicting with other proper communications, typically arranging port being of little use as intelligence
COM1 between terminal and computer.Its specific embodiment is preferably:By computer installation be intelligent terminal with treat
The agency surveyed between the server of application program, will be intelligence whole by 360WiFi (Wireless-Fidelity, Wireless Fidelity)
End is set up with computer and is connected.Need user that the IP address of intelligent terminal is revised as the IP address of connected computer simultaneously, and
And the communication port numbers of intelligent terminal are input in computer mesh so that computer can share consolidated network with intelligent terminal.
Above-mentioned set-up mode is advantageous in that and computer and intelligent terminal can be maintained at the same network segment, so that computer can be by intelligence
The port that terminal is arranged is tested to the application program of intelligent terminal.
The parameter configuration that step 120, acquisition user are recorded to script, and according to parameter configuration, answer user operation to be measured
Script is recorded into the process of program.
Wherein, parameter configuration can be some Initialize installations that user is carried out before script is recorded.
Exemplary, according to parameter configuration, the process of application program user operation to be measured is recorded into into script, can be wrapped
Include:According to parameter configuration, user is directly operated the process of application program to be measured record into script;Or according to parameter configuration, will
User records into script by the process of the corresponding webpage of browser operation application program to be measured.
In general, intelligent terminal and computer are set up after communication connection, user can be straight on intelligent terminal
Connect and application program to be measured is operated, computer can pass through the operation that the communication connection captures user.When user is to be measured
When application program carries out real-time operation, computer will capture the operation of user, and form shell script.Wherein, user's correspondence
Can be login application program with the operation of program, search for related content or close application program etc..Exemplary, user
When Taobao's client of mobile phone terminal is accessed, the shell script formed in testing tool is as follows:
Under specific circumstances, some application programs do not allow computer directly to carry out performance test to which, i.e., at intelligent end
End is set up after communication connection with computer, and computer can not capture any operation of the user to application program.Now, to survey
The performance of the application server side is tried, the browser that user can pass through in intelligent terminal is corresponding into the application program
Webpage, is then performed after corresponding operating to the application program by webpage, can be formed corresponding to user operation in testing tool
Shell script.For example, to the performance of Taobao's client in testing mobile phone, but Taobao's client does not allow computer straight
Connect and which is tested, therefore, user can pass through the browser searches such as Baidu or 360 to Taobao's webpage, log in Taobao
After page, user can carry out action required.Specifically, following shell script will be formed in testing tool:
Optionally, after script has been recorded and script is in the scene before commencement of commercial operation, in order to verify the basic training of script
Can whether correct, it is possible to use the F5 keys on playback button or computer keyboard play back recorded script.Meanwhile, in operation
Script can be clicked time-out during playing back, continue or stop playback button to switch playback state according to user's actual need.
It should be noted that including some dynamic values in the script recorded sometimes, it is therefore desirable to using association
Dynamic value is changed into variable by mode so that script successfully completes playback.After dynamic value is created association, can increase in script
Some functions relevant with association, during associated data will be saved to parameter list and in follow-up whole script run duration
Have an effect, now, the position at dynamic value place originally will associated value replacement.Exemplary, dynamic value is closed
Connection typically adopts following two modes:
(1) manual association:Searched for and chosen value to be associated first by user in script, click on right mouse button and select wound
Build this option of association or user can be manually inserted into function to be associated in script.
(2) associate in snapshot:Value to be associated is selected in output pane, selects to create association choosing by right mouse button
, now added automatically correlation function in script and preserved dynamic value.
The enhancing of step 130, receive user to script is operated, and obtains scene of the user to script setting.
Wherein, the enhancing operation of script is represented and the script that completes of recording is pre-processed so that shell script can be with
Cover user to the various situations using procedure operation, and then improve the comprehensive of Application testing.Exemplary, receive and use
Enhancing operation of the family to script may include:Obtain parametrization, insertion affairs and/or setting meeting point that user is carried out to script etc.
Operation.
Wherein, parametrization be in practical operation, for different user in login application program account different or
In the case of different user affairs difference to be inquired about after successful login, the value in the script recorded is parameterized
The different operating of multiple different users is simulated so as to pass through script.Wherein, user's affairs to be inquired about can be search
Required information or collection information needed etc..For example, need to search after 1000 different users log in Taobao's client
The article that rope is each wanted, can add it to shopping cart after the article that user wants is searched or directly carry out purchase behaviour
Make.Each action of user in above process can be used as an affairs.By can will be above-mentioned to shell script parametrization
1000 kinds of different situations are included simultaneously, and entering carries out real-time operation in cell-phone customer terminal without 1000 different users
Obtain script.Exemplary, parameterized step can be that user first chooses and wants parameterized value, click " parameter by right button
New parameter is created after replacement " option, then |input paramete title and type in " establishment parameter " option hurdle, finally in attribute
The data of arrange parameter in dialog box.
It is exemplary, insert affairs be disposed to judge some specific affairs performances.Wherein, insert setting for affairs
The mode of putting has two kinds:(1) be positioned to insert the position of affairs in script, option, selection " are designed " by obtaining user click
" inserting in script ", the position for selecting " beginning affairs ", terminating in affairs are clicked " design " option, selection and " are inserted in script
Enter ", then select the operation such as end transaction complete the insertion of affairs;(2) if needing to insert affairs in script recording process,
Then " input Transaction name " and " clicked by obtaining " beginning affairs " in user click recording toolbar in recording process
End transaction " etc. is operated.
Exemplary, the mode for creating meeting point can be by the following ways:(1) if insertion collects after script has been recorded
Chalaza, then by obtain " design " component in the selected toolbar of user, " inserting in script ", choose " set ",
Then by the title (case-insensitive) in user input meeting point.After insertion meeting point, by the script recorded
Middle insertion lr_rendezvous () function;(2) if inserting meeting point when recording, can be by obtaining user in " recording " work
Tool clicks on " set " button on hurdle, and the title of set is then input in dialog box, and set after clicking on the operation such as " OK " button can
It is inserted in script.By creating meeting point, can synchronous each Virtual User (Vuser) so as in synchronization execution
Task.When certain Virtual User reaches meeting point, it will continue waiting for, until the whole Virtual User for participating in the set are all arrived
Up to just starting execution task during meeting point.For example, if having 10 users to need to log in Taobao's client at current time, when one
Other users will be waited to complete preparation after the completion of preparation (input of account and password) before User logs in, if clothes
Business device detects 10 users while when clicking on login, provide services can just to 10 users.The setting of aforesaid way can be surveyed
A number of user is tried out in the case where synchronization completes same affairs, the pressure born by server.
The above-mentioned various enhancing operations to script single can be configured and also multiple can be configured, and concrete condition can basis
Depending on the actual test demand of user.
Exemplary, after the completion of script is recorded, directly available script can be added in scene, it is also possible to clear
Look at, then obtain the operation that user clicks on " OK " button, you can in scene
It is middle to increase a script for needing operation.
Step 140, Run-time scenario, and show operation result.
In Run-time scenario, if get user and click on starting scene operation, start to perform above-mentioned setting.Meanwhile, can
To be observed that when scene is run Virtual User progressively starts and is added in operation according to the pattern for having arranged.If obtaining
When clicking on the operation of stop button to user, Virtual User will phased out operation in an arranged manner.If getting user
When clicking on the operation of reset button, all of implementation procedure will be eliminated, and Virtual User will be returned to as original state.If
During the operation of the time-out/continuation button for getting user's click, current scene can be suspended or scene is continued to run with.Need note
Meaning, scene are returned to from halted state when continuing to run with state, and all of Virtual User will continue fortune from the position suspended
OK.User can check the current state of scene by clicking on Virtual User.
In scene running, monitor in real time can be carried out to the detailed process of scene operation, and then obtains correspondence parameter
Operation result.Fig. 2 a are the offer of the embodiment of the present invention one directly by the script of application client recording in whole field
The Virtual User quantity schematic diagram being currently running in scape;There are 10 void being currently running during whole scene can be drawn from Fig. 2 a
Intend user.Fig. 2 b are the offer of the embodiment of the present invention one directly by the script of application client recording in whole scene
User's number of clicks schematic diagram per second.The enforcement ruuning situation of scene can be reflected in testing tool by image, and can
Corresponding adjustment is made according to the ruuning situation of scene.Monitoring image can also include handling capacity and/or transaction response time etc..
Further, after the completion of test, user can check operation result.Simultaneously also can be by direct access application visitor
Family end and it is compared and then draws by different surveys into the test result of the corresponding webpage of application program by browser
The test result in examination path.
Exemplary, after the completion of test, can also show global test result table.Table 1 is that five groups of different test objects exist
Perform total result contrast table during same affairs.As shown in table 1:Mobile phone terminal is by two kinds of different modes to a application journey
Data can be all successfully acquired when sequence is tested and script is recorded into, and the successful operation in the scene of setting.Two kinds of surveys
Although examination mode has some differences and fluctuation in handling capacity and number of clicks per second, the affairs gone out in final reaction it is average
On response time, difference is not very big.On the transaction response time, on the premise of other factors are consistent, due to access side
The difference of formula, by external environment affected difference, both in performance, have some small differences:Should for by mobile phone
With the mode tested after programmatic client Direct Acquisition data, the response time of affairs could possibly be higher than and be likely to less than passing through
The mode of mobile phone browser access application, but its difference is substantially all in the range of 0.1s 0.2s.Therefore pass through
Experimental data can be obtained:For Mobile phone application program, it is possible to use testing tool is recording the operation of user, then right
Server carries out Load pressure test, so as to obtaining the performance indications of its each side and which being analyzed;Secondly for some
Can not directly by testing tool record script application program, can with using in mobile phone terminal from by the way of browser access application
Test indirectly the performance of its server.
Total result contrast table of the different test objects of 1 five groups of table when same affairs are performed
The method of testing of the application program that the embodiment of the present invention one is provided, is setting up the intelligence with application program to be measured place
After communication connection between terminal, the parameter configuration that user is recorded to script is obtained, and according to parameter configuration, user operation is treated
The process for surveying application program records into script.Then enhancing of the receive user to script is operated, and obtains user to script setting
Scene, by Run-time scenario, and after showing the result of scene operation, property that can be according to the result to intelligent terminal application program
Can be analyzed, and then complete the test of the server end performance to intelligent terminal application program.
Embodiment two
Fig. 3 is a kind of flow chart of the method for testing of application program that the embodiment of the present invention two is provided.The present embodiment is to reality
Apply step in example one and " obtain the parameter configuration that user is recorded to script, and according to parameter configuration, by application user operation to be measured
The process of program records into script " it is optimized.With reference to Fig. 3, the present embodiment specifically includes following steps:
Communication connection between the intelligent terminal that step 210, foundation and application program to be measured are located.
Step 220, the user configured script of acquisition record agreement, recording mode and the communication port numbers with intelligent terminal.
Step 230, receive user click on record button operation when, the process to user operation application program to be measured
Carry out script recording.
Step 240, receive record terminate operation when, terminate script record, formed script.
By operation of the user to recording beginning and end, can be according to the recording of actual conditions real-time control shell script.
When some special circumstances occur, also the recording that " time-out " button suspends shell script can be clicked on by receive user.
The enhancing of step 250, receive user to script is operated, and obtains scene of the user to script setting.
Exemplary, obtaining user may include to the scene of script setting:Scenario parameters of the user to script setting are obtained,
Wherein, scenario parameters may include operational mode, pressuring method, and/or run time;Then field can be built according to scenario parameters
Scape.Specifically, following two mode scene sets can be adopted:(1) manual scene:By selecting script to be run, distribution fortune
Travel far and wide Virtual User (Vuser) that this workload generator (Load Generator) being distributed to run between script to create
Manual scene.Manual scene has Virtual User group pattern and percentage pattern both of which.Under Virtual User group pattern, can be by
Each script that scene is selected distributes to Virtual User group.Each Virtual User component to create matches somebody with somebody some Virtual User.Hundred
Under point than pattern, it is necessary first to define the Virtual User sum used in scene, and for each script distribution workload generator with
And the percentage of Virtual User sum.(2) object-oriented scene:Define user to wish by testing the target that can be realized,
Computer will build scene automatically according to defined target.Specifically, Virtual User can be defined in object-oriented scene
Several, per second numbers of clicks or transaction response number per second etc..
Specifically, user is preferably the setting to function choosing-item in testing tool to the scenario parameters of script setting, bag
Include:Initialization of virtual user can be set in " design " this component, be started Virtual User, duration and is stopped virtual using
Family etc. operates.Specifically, separately below above-mentioned every setting is explained:
A. initialization of virtual user:Virtual User can be initialized before scene operation.For example, can select while
Initialize all Virtual User or initialization of virtual user or will before the operation of each Virtual User in the time interval
Its initialization, it is also possible to which is selected according to the actual demand of test.
B. start Virtual User:Virtual User number and need in a certain time interval to start that setting starts when starting
Virtual User number, after above-mentioned setting, computer by set time intervals with start Virtual User number by
Gradually started and just stopped after all Virtual User all start.
C. duration:Virtual User is set and performs the time used by application program.
D. stop Virtual User:Select stop Virtual User mode, for example, can stop simultaneously all Virtual User or
Person can taper off Virtual User in a certain time interval.
Step 260, Run-time scenario, and show operation result.
The embodiment of the present invention two on the basis of above-described embodiment, by refining to the process that script is recorded, can root
According to the recording of actual conditions real-time control script, while by carrying out scene setting to the script recorded, different use can be simulated
Different operating of the family in intelligent terminal to application program, and then can more be fully completed the server end to application program
The test of energy.
Embodiment three
Fig. 4 is a kind of structured flowchart of the test device of application program that the embodiment of the present invention three is provided, and the device can be by
Software and/or hardware are realized, in general integrated computer.As shown in figure 4, the device includes:Communication building block 301, script
Record module 302, scene setting module 303 and scene operation module 304.
Wherein, communication building block 301, for the communication link set up and between the intelligent terminal at application program to be measured place
Connect;Script records module 302, for obtaining the parameter configuration that user is recorded to script, and according to the parameter configuration, by user
The process of the application program to be measured is operated to record into script;Scene setting module 303, for receive user to the script
Strengthen operation, and obtain scene of the user to the script setting;Scene runs module 304, for running the scene, and shows
Show operation result.
A kind of test device of application program that the embodiment of the present invention three is provided, is setting up and application program to be measured place
After communication connection between intelligent terminal, the parameter configuration that user is recorded to script is obtained, and according to parameter configuration, user is grasped
The process for making application program to be measured records into script.Then enhancing of the receive user to script is operated, and obtains user to script
The scene of setting, by Run-time scenario, and after showing the result of scene operation, can be according to the result to intelligent terminal application program
Performance be analyzed, and then complete the test of the server end performance to intelligent terminal application program.
On the basis of above-described embodiment, the script record module specifically for:Obtain the ginseng that user is recorded to script
Number configuration, according to the parameter configuration, user is directly operated the process of the application program to be measured record into script;Or according to
User is recorded into script by the process of the corresponding webpage of application program to be measured described in browser operation by the parameter configuration.
On the basis of above-described embodiment, the script record module specifically for:Obtain user configured script to record
Agreement, recording mode and the communication port numbers with the intelligent terminal;It is when the operation of user's click recording button is received, right
Described in user operation, the process of application program to be measured carries out script recording;When the operation for recording end is received, terminate script
Record, form the script.
On the basis of above-described embodiment, the scene setting module includes:Script enhancement unit, for obtaining user couple
The operation of parametrization, insertion affairs and/or setting meeting point that the script is carried out.
On the basis of above-described embodiment, the scene setting module includes:Scenario parameters acquiring unit, uses for obtaining
Scenario parameters of the family to the script setting, the scenario parameters include operational mode, pressuring method, and/or run time;
Scape construction unit, for according to the scenario parameters, building the scene.
A kind of test device of the application program provided in above-described embodiment can perform any embodiment of the present invention and be provided
Application program method of testing, possess the corresponding functional module of execution method and beneficial effect.It is not detailed in the above-described embodiments
The ins and outs of description, can be found in the method for testing of the application program provided by any embodiment of the present invention to the greatest extent.
Note, above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that
The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art various obvious changes,
Readjust and substitute without departing from protection scope of the present invention.Therefore, although the present invention is carried out by above example
It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also
More other Equivalent embodiments can be included, and the scope of the present invention is determined by scope of the appended claims.
Claims (10)
1. a kind of method of testing of application program, it is characterised in that include:
Set up and the communication connection between the intelligent terminal at application program to be measured place;
The parameter configuration that user is recorded to script is obtained, and according to the parameter configuration, by application journey to be measured described in user operation
The process of sequence records into script;
Enhancing of the receive user to the script is operated, and obtains scene of the user to the script setting;
The scene is run, and shows operation result.
2. method according to claim 1, it is characterised in that according to the parameter configuration, will be to be measured described in user operation
The process of application program records into script, including:
According to the parameter configuration, user is directly operated the process of the application program to be measured record into script;Or
According to the parameter configuration, user is recorded by the process of the corresponding webpage of application program to be measured described in browser operation
Into script.
3. method according to claim 1, it is characterised in that obtain the parameter configuration that user is recorded to script, and according to
The process of application program to be measured described in user operation is recorded into script by the parameter configuration, including:
Obtain user configured script and record agreement, recording mode and the communication port numbers with the intelligent terminal;
When the operation of user's click recording button is received, script is carried out to the process of application program to be measured described in user operation
Record;
When the operation for recording end is received, terminate script and record, form the script.
4. method according to claim 3, it is characterised in that enhancing of the receive user to the script is operated, including:
Obtain the operation of parametrization, insertion affairs and/or setting meeting point that user is carried out to the script.
5. method according to claim 3, it is characterised in that obtain scene of the user to the script setting, including:
Obtain scenario parameters of the user to the script setting, the scenario parameters include operational mode, pressuring method, and/or
Run time;
According to the scenario parameters, the scene is built.
6. a kind of test device of application program, it is characterised in that include:
Communication building block, for the communication connection set up and between the intelligent terminal at application program to be measured place;
Script records module, for obtaining the parameter configuration that user is recorded to script, and according to the parameter configuration, user is grasped
The process for making the application program to be measured records into script;
Scene setting module, operates for enhancing of the receive user to the script, and obtains user to the script setting
Scene;
Scene runs module, for running the scene, and shows operation result.
7. device according to claim 6, it is characterised in that the script record module specifically for:
The parameter configuration that user is recorded to script is obtained, according to the parameter configuration, user is directly operated the application to be measured
The process of program records into script;Or
According to the parameter configuration, user is recorded by the process of the corresponding webpage of application program to be measured described in browser operation
Into script.
8. device according to claim 6, it is characterised in that the script record module specifically for:
Obtain user configured script and record agreement, recording mode and the communication port numbers with the intelligent terminal;
When the operation of user's click recording button is received, script is carried out to the process of application program to be measured described in user operation
Record;
When the operation for recording end is received, terminate script and record, form the script.
9. device according to claim 8, it is characterised in that the scene setting module includes:
Script enhancement unit, for obtaining the parametrization, insertion affairs and/or arrange meeting point that user carried out to the script
Operation.
10. device according to claim 8, it is characterised in that the scene setting module includes:
Scenario parameters acquiring unit, for obtaining scenario parameters of the user to the script setting, the scenario parameters include fortune
Row mode, pressuring method, and/or run time;
Scenario building unit, for according to the scenario parameters, building the scene.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610954707.5A CN106528413A (en) | 2016-10-27 | 2016-10-27 | Method and device for testing application program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610954707.5A CN106528413A (en) | 2016-10-27 | 2016-10-27 | Method and device for testing application program |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106528413A true CN106528413A (en) | 2017-03-22 |
Family
ID=58326803
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610954707.5A Pending CN106528413A (en) | 2016-10-27 | 2016-10-27 | Method and device for testing application program |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106528413A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108776641A (en) * | 2018-05-28 | 2018-11-09 | 北京五八信息技术有限公司 | Hot word test method, device and the electronic equipment of application program |
CN109684196A (en) * | 2018-11-01 | 2019-04-26 | 北京中清龙图网络技术有限公司 | A kind of test method and device |
CN112860561A (en) * | 2021-02-23 | 2021-05-28 | 汇链通供应链科技(上海)有限公司 | Automatic performance testing method and terminal device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101241466A (en) * | 2007-02-08 | 2008-08-13 | 深圳迈瑞生物医疗电子股份有限公司 | Embedded software test method and system |
CN101576846A (en) * | 2008-05-09 | 2009-11-11 | 北京世纪拓远软件科技发展有限公司 | Method for testing software performance |
CN103729294A (en) * | 2013-12-30 | 2014-04-16 | 金蝶软件(中国)有限公司 | Method and device for testing performance script of application software |
CN106021099A (en) * | 2016-05-12 | 2016-10-12 | 上海联彤网络通讯技术有限公司 | System and method for achieving UI automatic test of intelligent terminal |
-
2016
- 2016-10-27 CN CN201610954707.5A patent/CN106528413A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101241466A (en) * | 2007-02-08 | 2008-08-13 | 深圳迈瑞生物医疗电子股份有限公司 | Embedded software test method and system |
CN101576846A (en) * | 2008-05-09 | 2009-11-11 | 北京世纪拓远软件科技发展有限公司 | Method for testing software performance |
CN103729294A (en) * | 2013-12-30 | 2014-04-16 | 金蝶软件(中国)有限公司 | Method and device for testing performance script of application software |
CN106021099A (en) * | 2016-05-12 | 2016-10-12 | 上海联彤网络通讯技术有限公司 | System and method for achieving UI automatic test of intelligent terminal |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108776641A (en) * | 2018-05-28 | 2018-11-09 | 北京五八信息技术有限公司 | Hot word test method, device and the electronic equipment of application program |
CN109684196A (en) * | 2018-11-01 | 2019-04-26 | 北京中清龙图网络技术有限公司 | A kind of test method and device |
CN109684196B (en) * | 2018-11-01 | 2024-01-09 | 北京中清龙图网络技术有限公司 | Test method and device |
CN112860561A (en) * | 2021-02-23 | 2021-05-28 | 汇链通供应链科技(上海)有限公司 | Automatic performance testing method and terminal device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103984626B (en) | A kind of method and device for generating test case script | |
US10659566B1 (en) | Demo recording utility | |
CN109117358A (en) | test method and test device for electronic equipment | |
CN107832226A (en) | Report-generating method, device, equipment and computer media based on performance test | |
US20230308504A9 (en) | Method and system of application development for multiple device client platforms | |
CN104598380A (en) | Method and system for automatic testing based on control | |
CN102981819A (en) | A method of automatically building a customised software application for a specific type of wireless computing device | |
CN105955888A (en) | Page debugging and previewing method and system | |
CN108600311B (en) | Method and device for simulating interface data by client | |
CN108111364B (en) | Service system testing method and device | |
CN107729246A (en) | For the auxiliary test methods of intended application, device, equipment and storage medium | |
CN105704487A (en) | Television stability testing method and device | |
CN110166499A (en) | A kind of method and server obtaining user's representation data | |
CN106528413A (en) | Method and device for testing application program | |
CN109902251A (en) | Scheme Choice method, apparatus, terminal and readable storage medium storing program for executing based on decision tree | |
CN106371706A (en) | Method and device for site selection of application shortcuts | |
CN107797721A (en) | A kind of interface information display methods and its device | |
CN106371994B (en) | Dynamic mobile APP test methods based on natural language processing | |
CN111309624A (en) | Test method, device, equipment and storage medium | |
CN111078424A (en) | Information interaction method and device, computer equipment and storage medium | |
CN108319474A (en) | A kind of page info generation method, device and equipment | |
US11372750B2 (en) | Test script for application under test having abstracted action group instantiations | |
CN110674023B (en) | Interface testing method and device | |
CN114691529B (en) | gPC interface performance test method and device | |
CN112306639B (en) | Virtual desktop testing method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170322 |