CN110321277A - Program testing method, device, readable storage medium storing program for executing and equipment - Google Patents
Program testing method, device, readable storage medium storing program for executing and equipment Download PDFInfo
- Publication number
- CN110321277A CN110321277A CN201810293736.0A CN201810293736A CN110321277A CN 110321277 A CN110321277 A CN 110321277A CN 201810293736 A CN201810293736 A CN 201810293736A CN 110321277 A CN110321277 A CN 110321277A
- Authority
- CN
- China
- Prior art keywords
- target detection
- program
- detection program
- test
- user
- 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
- 238000012360 testing method Methods 0.000 claims abstract description 106
- 238000000034 method Methods 0.000 claims abstract description 24
- 230000006399 behavior Effects 0.000 claims description 46
- 238000004590 computer program Methods 0.000 claims description 6
- 238000001514 detection method Methods 0.000 claims 3
- 238000004364 calculation method Methods 0.000 claims 1
- 230000000694 effects Effects 0.000 abstract description 6
- 238000005516 engineering process Methods 0.000 abstract description 3
- 230000006870 function Effects 0.000 description 7
- 230000008569 process Effects 0.000 description 5
- 230000008901 benefit Effects 0.000 description 4
- 238000012545 processing Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 238000004422 calculation algorithm Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 239000004744 fabric Substances 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000001737 promoting effect Effects 0.000 description 1
- 239000013589 supplement Substances 0.000 description 1
- 238000010998 test method Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3684—Test management for test design, e.g. generating new test cases
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3688—Test management for test execution, e.g. scheduling of test suites
-
- 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/3692—Test management for test results analysis
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Telephonic Communication Services (AREA)
Abstract
The present invention relates to the field of test technology, more particularly to program testing method, device, readable storage medium storing program for executing and equipment, the described method includes: testing using test case the target detection program when target detection program is in test phase, the first test result is obtained;When the target detection program is in online stage, triggering behavior path of the acquisition user in the target detection program;The target detection program is tested using triggering behavior path, obtains the second test result;The target detection program is analyzed according to first test result and second test result.The present invention not only increases the quantity of test case, also improves test effect since test case and the true operating result of user be combined and being tested target detection program in test, the problem of so as to accurately find out target detection program.
Description
Technical field
The present invention relates to the field of test technology more particularly to program testing method, device, readable storage medium storing program for executing and equipment.
Background technique
Program test is a kind of correctness, integrality, the process of safety and quality for promoting evaluation program, specifically
, program test is to operate under the defined conditions to program, to find program error, measurement procedures quality, and to it
Whether process that design requirement assessed is able to satisfy.
In the test method of the prior art, test program usually is executed using test case, finally obtains test result,
And the problem of using the test result of aforesaid way acquisition often not comprehensive, can not accurately finding out test program.
Summary of the invention
In view of the above problems, it proposes on the present invention overcomes the above problem or at least be partially solved in order to provide one kind
State program testing method, device, readable storage medium storing program for executing and the equipment of problem.
The embodiment of the present invention provides a kind of program testing method, which comprises
When target detection program is in test phase, the target detection program is tested using test case, is obtained
Obtain the first test result;
When the target detection program is in online stage, triggering behavior of the acquisition user in the target detection program
Path;
The target detection program is tested using triggering behavior path, obtains the second test result;
The target detection program is analyzed according to first test result and second test result.
Preferably, described that the target detection program is tested using triggering behavior path, it obtains second and surveys
Test result, comprising:
The target detection program is surveyed with 400~600ms/ times test frequency using triggering behavior path
Examination.
Preferably, the triggering behavior path for obtaining user in the target detection program, comprising:
Obtain user identifier of the user in the target detection program;
According to the user identifier, number is got ready from the user is obtained in server in the target detection program
According to, wherein the data of getting ready include the triggering pair that the user executes public trigger event in the target detection program
As identifier and timestamp;
Based on the triggering object identifier and the timestamp, the user is generated in the target detection program
Triggering behavior path.
Preferably, described to be based on the triggering object identifier and the timestamp, the user is generated in the target
Triggering behavior path in test program, comprising:
According to the chronological order of the timestamp, the triggering object identifier is ranked up, the use is generated
Family is from the target detection program is opened to the triggering behavior path for exiting the target detection program.
The embodiment of the present invention provides a kind of program test device, and described device includes:
First test module surveys the target using test case for being in test phase when target detection program
Examination program is tested, and the first test result is obtained;
First obtains module, for being in the online stage when the target detection program, obtains user and surveys in the target
Try the triggering behavior path in program;
Second test module is obtained for being tested using triggering behavior path the target detection program
Second test result;
Analysis module is used for according to first test result and second test result to the target detection program
It is analyzed.
Preferably, second test module, is specifically used for:
The target detection program is surveyed with 400~600ms/ times test frequency using triggering behavior path
Examination.
Preferably, described first module is obtained, comprising:
First acquisition unit, for obtaining user identifier of the user in the target detection program;
Second acquisition unit, for obtaining the user from server in the target according to the user identifier
Data are got ready in test program, wherein the data of getting ready include that the user executes public affairs in the target detection program
With the triggering object identifier and timestamp of trigger event;
Generation unit generates the user in the mesh for being based on the triggering object identifier and the timestamp
Mark the triggering behavior path in test program.
Preferably, the generation unit, is specifically used for:
According to the chronological order of the timestamp, the triggering object identifier is ranked up, the use is generated
Family is from the target detection program is opened to the triggering behavior path for exiting the target detection program.
The embodiment of the present invention provides a kind of computer readable storage medium, is stored thereon with computer program, the program quilt
Processor realizes method and step as in the foregoing embodiment when executing.
The embodiment of the present invention provides a kind of computer equipment, including memory, processor and storage are on a memory and can
The computer program run on a processor, the processor realize method as in the foregoing embodiment when executing described program
Step.
One or more technical solutions in the embodiment of the present invention, have at least the following technical effects or advantages:
In the present invention, when target detection program is in test phase, using test case to the progress of target detection program
Test obtains the first test result, when target detection program is in online stage, touching of the acquisition user in target detection program
It is distributed as path, target detection program is tested using triggering behavior path, obtains the second test result, is surveyed according to first
Test result and the second test result analyze target detection program, due in test that test case and user is true
Operating result, which is combined, tests target detection program, not only increases the quantity of test case, also improves test
Effect, the problem of so as to accurately find out target detection program.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field
Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the present invention
Limitation.And throughout the drawings, identical component is indicated with identical reference pattern.In the accompanying drawings:
Fig. 1 shows the flow chart of the program testing method in the embodiment of the present invention;
Fig. 2 shows the flow charts of step 102 in the embodiment of the present invention;
Fig. 3 shows the structure chart of the program test device in the embodiment of the present invention;
Fig. 4 shows the entity structure diagram of the computer equipment in the embodiment of the present invention.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here
It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure
It is fully disclosed to those skilled in the art.
The embodiment of the present invention provides a kind of program testing method, is applied in Android system, as shown in Figure 1, the method
Include:
Step 101: when target detection program is in test phase, target detection program being surveyed using test case
Examination obtains the first test result.
Step 102: when target detection program is in online stage, triggering behavior of the acquisition user in target detection program
Path.
Step 103: target detection program being tested using triggering behavior path, obtains the second test result.
Step 104: target detection program being analyzed according to the first test result and the second test result.
Specifically, for target detection program, target detection program is tested first with test case,
The first test result is obtained, then after target detection program is online, obtains triggering behavior of the user in target detection program
Path, and being tested as supplement test case target detection program using the triggering behavior path that gets obtains the
Two test results are finally analyzed target detection program according to the first test result and the second test result, due to this Shen
Please in test by test case and the true operating result of user (triggering behavior road of the user in target detection program
Diameter) it is combined and target detection program is tested, the quantity of test case is not only increased, test effect is also improved,
The problem of so as to accurately find out target detection program.
Further, embodiment as one preferred, in step 103, can use triggering behavior path with 400~
600ms/ test frequency tests target detection program, it is preferred that test frequency can be 500ms/ times.In addition,
In this application, test phase and upper limit stage utilize automatic test script to realize test.
In embodiments of the present invention, for step 102, triggering behavior road of the user in target detection program is obtained
Diameter, as shown in Figure 2, comprising:
Step 201: obtaining user identifier of the user in target detection program.
Step 202: according to user identifier, data are got ready in target detection program from user is obtained in server,
Wherein, getting data ready includes triggering object identifier and the time that user executes public trigger event in target detection program
Stamp.
Step 203: based on triggering object identifier and timestamp, generating triggering behavior of the user in target detection program
Path.
Specifically, user is after logging in target detection program, it will there are a unique user identifiers and the use
Family is corresponding, the user identifier, that is, UID.After the UID for getting target detection program currently logged on user, by the user's
UID is sent to server, server can be got according to UID it is corresponding with the UID get data ready, this is got data ready namely should
User's gets data ready.Server will get data ready and return to target detection program after getting and getting data ready, wherein
Getting data ready includes the triggering object identifier and timestamp that user executes public trigger event in target detection program.It connects
, target detection program is based on triggering object identifier and timestamp, generates triggering behavior of the user in target detection program
Path.
Further, step 203 specifically includes: according to the chronological order of timestamp, carrying out to triggering object identifier
Sequence generates user from target detection program is opened to the triggering behavior path for exiting target detection program.For example, working as from service
What device was got gets data ready at the time of include: timestamp be 14:09, and corresponding triggering object identifier is click_open, time
Corresponding triggering object identifier is click_close at the time of stamp is 14:30, corresponding triggering pair at the time of timestamp is 14:20
As identifier be click_game_banner, then ultimately generate triggering behavior path are as follows: click_open-click_game_
banner-click_close.Triggering behavior path is the collection for the triggering object identifier being ranked up according to chronological order
It closes.
In embodiments of the present invention, server is big data server.Obtaining target detection program currently logged on user
User identifier before, the method can with the following steps are included:
Step 301: creation gets base class ready comprising the public of public trigger event.
Step 302: execution is public to get base class ready, monitors in target pages public trigger event whether occurs.
Step 303: when listen to public trigger event occurs in target pages when, obtain it is corresponding with public trigger event
User identifier and triggering object identifier.
Step 304: user identifier and triggering object identifier are reported.
Wherein, target pages are the page in target detection program, and public base class of getting ready will be public for controlling target pages
It is reported to big data server automatically with the point data of trigger event.Firstly, creation is public to get base class ready, it is public to get base class ready
In be packaged with public trigger event, public trigger event includes triggering at least one of opening, click and the sliding of object, touching
Object is sent out as view or control, thus, public trigger event may include at least one in opening, click and the sliding of view
Kind, public trigger event can also include at least one of opening, click and the sliding of control, it is preferred that be encapsulated in public
Getting the public trigger event in base class ready includes opening, click and the sliding of view and opening, click and the sliding of control.
Further, be created that it is public get base class ready after, control target pages base class inherit it is public get base class ready, from
And target pages can be realized to the public calling for getting base class ready, public get base class ready to execute.Public base class is got ready executing
When, public base class of getting ready monitors whether target pages occur public trigger event, and public triggering occurs when listening to target pages
It when event, obtains corresponding with public trigger event user identifier (UID) and triggers object identifier, and by UID and triggering
Object identifier is reported to big data server.
A specific embodiment is given below the above process is described in detail.
BaseActivity base class is created, realizes that the click to view or control in target pages is monitored, according to UI cloth
The characteristic and Android of office are clicked event pass through mechanism and are realized.Specifically, it is rewritten using the BaseActivity base class of creation
The dispatchTouchEvent of Activity gets when clicking the button in target pages and presses and lift generation
MotionEvent object, to get click location in target pages by getRawX () and getRawY () method
Coordinate, whether the layout areas for then searching for all sub- views or control includes click location, so which view judged
Or control is clicked, then gets the view or control identifier by getTag (), finally, will click on view or control
The UID of user and the identifier of the view or control be uploaded to big data server.
Further, the method also includes:
When listen to public trigger event occurs in target pages when, obtain corresponding with public trigger event timestamp;
Timestamp is reported.
Specifically, if determining that the time of public trigger event occurs for triggering object using big data server, due to net
The delay of network is likely to result in the time inaccuracy determined, therefore, for improve the public trigger event of generation got when
Between accuracy, in embodiments of the present invention, when listen to public trigger event occurs in target pages when, in addition to obtain with it is public
With the corresponding UID of trigger event and triggering object identifier, timestamp corresponding with public trigger event can be also obtained, thus will
UID, triggering object identifier and timestamp are reported to big data server together.
Further, in embodiments of the present invention, can be created in public library it is public get base class ready, thus, in public library
It is middle creation it is public get base class ready after, control target pages rely on public library so that target pages call public library in it is public
It gets base class ready, and executes this and public get base class ready.It, similarly can be with when there are multiple target pages or there are when multiple business items
It controls multiple target pages or multiple business items relies on the public library, so that multiple target pages or multiple business items are called
Public in public library gets base class ready, and executes this and public get base class ready.
Based on the same inventive concept, the embodiment of the present invention also provides a kind of program test device, as shown in figure 3, the dress
It sets and includes:
First test module 401, for being in test phase when target detection program, using test case to the target
Test program is tested, and the first test result is obtained;
First obtains module 402, for being in the online stage when the target detection program, obtains user in the target
Triggering behavior path in test program;
Second test module 403 is obtained for being tested using triggering behavior path the target detection program
Obtain the second test result;
Analysis module 404 is used for according to first test result and second test result to the target detection
Program is analyzed.
Preferably, the second test module 403, is specifically used for:
The target detection program is surveyed with 400~600ms/ times test frequency using triggering behavior path
Examination.
Preferably, first module 402 is obtained, comprising:
First acquisition unit, for obtaining user identifier of the user in the target detection program;
Second acquisition unit, for obtaining the user from server in the target according to the user identifier
Data are got ready in test program, wherein the data of getting ready include that the user executes public affairs in the target detection program
With the triggering object identifier and timestamp of trigger event;
Generation unit generates the user in the mesh for being based on the triggering object identifier and the timestamp
Mark the triggering behavior path in test program.
Preferably, generation unit is specifically used for:
According to the chronological order of the timestamp, the triggering object identifier is ranked up, the use is generated
Family is from the target detection program is opened to the triggering behavior path for exiting the target detection program.
Based on the same inventive concept, the embodiment of the present invention also provides a kind of computer readable storage medium, is stored thereon with
Computer program realizes any one of previous embodiment step when the program is executed by processor.
Based on the same inventive concept, the embodiment of the invention also provides a kind of computer equipments, as shown in figure 4, in order to just
In explanation, only parts related to embodiments of the present invention are shown, disclosed by specific technical details, please refers to implementation of the present invention
Example method part.The computer equipment can be include mobile phone, tablet computer, PDA (Personal Digital
Assistant, personal digital assistant), POS (Point of Sales, point-of-sale terminal), any terminal device such as vehicle-mounted computer,
By taking computer equipment is mobile phone as an example:
Fig. 4 shows the block diagram of part-structure relevant to computer equipment provided in an embodiment of the present invention.With reference to figure
4, which includes: memory 501 and processor 502.It will be understood by those skilled in the art that being counted shown in Fig. 4
It calculates machine equipment structure and does not constitute the restriction to computer equipment, may include than illustrating more or fewer components or group
Close certain components or different component layouts.
It is specifically introduced below with reference to each component parts of the Fig. 4 to computer equipment:
Memory 501 can be used for storing software program and module, and processor 502 is stored in memory 501 by operation
Software program and module, thereby executing various function application and data processing.Memory 501 can mainly include storage journey
Sequence area and storage data area, wherein storing program area can the (ratio of application program needed for storage program area, at least one function
Such as sound-playing function, image player function) etc.;It storage data area can storing data (such as audio data, phone directory etc.)
Deng.In addition, memory 501 may include high-speed random access memory, it can also include nonvolatile memory, for example, at least
One disk memory, flush memory device or other volatile solid-state parts.
Processor 502 is the control centre of computer equipment, by running or executing the software being stored in memory 501
Program and/or module, and the data being stored in memory 501 are called, perform various functions and handle data.Optionally,
Processor 502 may include one or more processing units;Preferably, processor 502 can integrate application processor and modulation /demodulation
Processor, wherein the main processing operation system of application processor, user interface and application program etc., modem processor master
Handle wireless communication.
In embodiments of the present invention, processor 502 included by the computer equipment can have in previous embodiment and appoint
Function corresponding to one method and step.
In short, in the present invention, when target detection program is in test phase, using test case to target detection program
It is tested, obtains the first test result, when target detection program is in the online stage, user is in target detection program for acquisition
Triggering behavior path, target detection program is tested using triggering behavior path, obtains the second test result, according to the
One test result and the second test result analyze target detection program, due in test that test case and user is true
Real operating result, which is combined, tests target detection program, not only increases the quantity of test case, also improves
Test effect, the problem of so as to accurately find out target detection program.
Algorithm and display are not inherently related to any particular computer, virtual system, or other device provided herein.
Various general-purpose systems can also be used together with teachings based herein.As described above, it constructs required by this kind of system
Structure be obvious.In addition, the present invention is also not directed to any particular programming language.It should be understood that can use various
Programming language realizes summary of the invention described herein, and the description done above to language-specific is to disclose this hair
Bright preferred forms.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention
Example can be practiced without these specific details.In some instances, well known method, structure is not been shown in detail
And technology, so as not to obscure the understanding of this specification.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of the various inventive aspects,
Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes
In example, figure or descriptions thereof.However, the disclosed method should not be interpreted as reflecting the following intention: i.e. required to protect
Shield the present invention claims features more more than feature expressly recited in each claim.More precisely, as following
Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore,
Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim itself
All as a separate embodiment of the present invention.
Those skilled in the art will understand that can be carried out adaptively to the module in the equipment in embodiment
Change and they are arranged in one or more devices different from this embodiment.It can be the module or list in embodiment
Member or component are combined into a module or unit or component, and furthermore they can be divided into multiple submodule or subelement or
Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it can use any
Combination is to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so disclosed
All process or units of what method or apparatus are combined.Unless expressly stated otherwise, this specification is (including adjoint power
Benefit require, abstract and attached drawing) disclosed in each feature can carry out generation with an alternative feature that provides the same, equivalent, or similar purpose
It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments in this include institute in other embodiments
Including certain features rather than other feature, but the combination of the feature of different embodiment means in the scope of the present invention
Within and form different embodiments.For example, in the following claims, embodiment claimed it is any it
One can in any combination mode come using.
Various component embodiments of the invention can be implemented in hardware, or to run on one or more processors
Software module realize, or be implemented in a combination thereof.It will be understood by those of skill in the art that can be used in practice
Microprocessor or digital signal processor (DSP) realize gateway according to an embodiment of the present invention, proxy server, in system
Some or all components some or all functions.The present invention is also implemented as executing side as described herein
Some or all device or device programs (for example, computer program and computer program product) of method.It is such
It realizes that program of the invention can store on a computer-readable medium, or can have the shape of one or more signal
Formula.Such signal can be downloaded from an internet website to obtain, and perhaps be provided on the carrier signal or with any other shape
Formula provides.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and ability
Field technique personnel can be designed alternative embodiment without departing from the scope of the appended claims.In the claims,
Any reference symbol between parentheses should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not
Element or step listed in the claims.Word "a" or "an" located in front of the element does not exclude the presence of multiple such
Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real
It is existing.In the unit claims listing several devices, several in these devices can be through the same hardware branch
To embody.Word, second and the use of third etc. do not indicate any sequence.These words can be construed to title.
Claims (10)
1. a kind of program testing method, which is characterized in that the described method includes:
When target detection program is in test phase, the target detection program is tested using test case, obtains the
One test result;
When the target detection program is in online stage, triggering behavior road of the acquisition user in the target detection program
Diameter;
The target detection program is tested using triggering behavior path, obtains the second test result;
The target detection program is analyzed according to first test result and second test result.
2. program testing method as described in claim 1, which is characterized in that described to utilize triggering behavior path to described
Target detection program is tested, and the second test result is obtained, comprising:
The target detection program is tested with 400~600ms/ times test frequency using triggering behavior path.
3. program testing method as described in claim 1, which is characterized in that the acquisition user is in the target detection program
Interior triggering behavior path, comprising:
Obtain user identifier of the user in the target detection program;
According to the user identifier, data are got ready from the user is obtained in server in the target detection program,
Wherein, the data of getting ready include the triggering object mark that the user executes public trigger event in the target detection program
Know symbol and timestamp;
Based on the triggering object identifier and the timestamp, triggering of the user in the target detection program is generated
Behavior path.
4. program testing method as claimed in claim 3, which is characterized in that described to be based on the triggering object identifier and institute
Timestamp is stated, triggering behavior path of the user in the target detection program is generated, comprising:
According to the chronological order of the timestamp, the triggering object identifier is ranked up, generates the user certainly
The target detection program is opened to the triggering behavior path for exiting the target detection program.
5. a kind of program test device, which is characterized in that described device includes:
First test module, for being in test phase when target detection program, using test case to the target detection journey
Sequence is tested, and the first test result is obtained;
First obtains module, for being in the online stage when the target detection program, obtains user in the target detection journey
Triggering behavior path in sequence;
Second test module obtains second for testing using triggering behavior path the target detection program
Test result;
Analysis module, for being carried out according to first test result and second test result to the target detection program
Analysis.
6. program test device as claimed in claim 5, which is characterized in that second test module is specifically used for:
The target detection program is tested with 400~600ms/ times test frequency using triggering behavior path.
7. program test device as claimed in claim 5, which is characterized in that described first obtains module, comprising:
First acquisition unit, for obtaining user identifier of the user in the target detection program;
Second acquisition unit, for obtaining the user from server in the target detection according to the user identifier
Data are got ready in program, wherein the data of getting ready include that the user executes public touching in the target detection program
The triggering object identifier and timestamp of hair event;
Generation unit generates the user and surveys in the target for being based on the triggering object identifier and the timestamp
Try the triggering behavior path in program.
8. program test device as claimed in claim 7, which is characterized in that the generation unit is specifically used for:
According to the chronological order of the timestamp, the triggering object identifier is ranked up, generates the user certainly
The target detection program is opened to the triggering behavior path for exiting the target detection program.
9. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is held by processor
The method and step as described in any claim in claim 1-4 is realized when row.
10. a kind of computer equipment including memory, processor and stores the meter that can be run on a memory and on a processor
Calculation machine program, which is characterized in that the processor is realized when executing described program such as any claim institute in claim 1-4
The method and step stated.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810293736.0A CN110321277A (en) | 2018-03-30 | 2018-03-30 | Program testing method, device, readable storage medium storing program for executing and equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810293736.0A CN110321277A (en) | 2018-03-30 | 2018-03-30 | Program testing method, device, readable storage medium storing program for executing and equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110321277A true CN110321277A (en) | 2019-10-11 |
Family
ID=68112358
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810293736.0A Pending CN110321277A (en) | 2018-03-30 | 2018-03-30 | Program testing method, device, readable storage medium storing program for executing and equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110321277A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103713989A (en) * | 2012-09-29 | 2014-04-09 | 百度在线网络技术(北京)有限公司 | Test case generating method and test case generating device for user terminal |
CN104503910A (en) * | 2014-12-22 | 2015-04-08 | 合一网络技术(北京)有限公司 | Product test method by monitoring users' using behavior |
CN107273284A (en) * | 2017-04-20 | 2017-10-20 | 北京小度信息科技有限公司 | The method and device of test application program performance |
CN107800591A (en) * | 2017-11-07 | 2018-03-13 | 南威软件股份有限公司 | A kind of analysis method of unified daily record data |
-
2018
- 2018-03-30 CN CN201810293736.0A patent/CN110321277A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103713989A (en) * | 2012-09-29 | 2014-04-09 | 百度在线网络技术(北京)有限公司 | Test case generating method and test case generating device for user terminal |
CN104503910A (en) * | 2014-12-22 | 2015-04-08 | 合一网络技术(北京)有限公司 | Product test method by monitoring users' using behavior |
CN107273284A (en) * | 2017-04-20 | 2017-10-20 | 北京小度信息科技有限公司 | The method and device of test application program performance |
CN107800591A (en) * | 2017-11-07 | 2018-03-13 | 南威软件股份有限公司 | A kind of analysis method of unified daily record data |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11119897B2 (en) | System and method of handling complex experiments in a distributed system | |
US10565097B2 (en) | Orchestrating and providing a regression test | |
CN104461900B (en) | Test method, control server, test terminal and the system of user interface | |
CN106557424A (en) | Internal storage testing method, measured terminal, test client and system | |
JP2020515985A (en) | Methods and systems for testing web applications | |
US20120233629A1 (en) | Method and system for testing interactions between web clients and networked servers | |
CN109726100A (en) | Application performance test method, apparatus, equipment and computer readable storage medium | |
CN110337641A (en) | It is determined using screenshot capture metadata and applies test result | |
Ma et al. | Design and implementation of a toolkit for usability testing of mobile apps | |
WO2016008398A1 (en) | Program performance test method and device | |
CN101710351B (en) | Method and system for simulating a plurality of devices | |
CN105159832B (en) | A kind of methods, devices and systems collected in application is tested using exception information | |
Liu et al. | Diagnosing energy efficiency and performance for mobile internetware applications | |
CN110716853A (en) | Test script recording method, application program testing method and related device | |
CN107908548A (en) | A kind of method and apparatus for generating test case | |
CN108459964A (en) | Test cases selection method, apparatus, equipment and computer readable storage medium | |
CN109684571A (en) | A kind of collecting method and device, storage medium | |
CN111782317A (en) | Page testing method and device, storage medium and electronic device | |
Grigera et al. | Kobold: web usability as a service | |
CN109828920A (en) | A kind of log analysis method, device and computer readable storage medium | |
CN108446212A (en) | Obtain method, apparatus, storage medium and the equipment in user behavior path | |
CN111694550A (en) | Page display control method, device and system | |
Luna et al. | Edroid: A mutation tool for android apps | |
CN103955425B (en) | Webpage (WEB) exploring testing device and method | |
Marin et al. | A common framework for aspect mining based on crosscutting concern sorts |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20191011 |
|
RJ01 | Rejection of invention patent application after publication |