CN110347577A - A kind of page test method, device and its equipment - Google Patents
A kind of page test method, device and its equipment Download PDFInfo
- Publication number
- CN110347577A CN110347577A CN201810301916.9A CN201810301916A CN110347577A CN 110347577 A CN110347577 A CN 110347577A CN 201810301916 A CN201810301916 A CN 201810301916A CN 110347577 A CN110347577 A CN 110347577A
- Authority
- CN
- China
- Prior art keywords
- test
- page
- tested
- case
- program
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 82
- 238000001545 Page's trend test Methods 0.000 title claims abstract description 23
- 238000012360 testing method Methods 0.000 claims abstract description 365
- 230000007613 environmental effect Effects 0.000 claims abstract description 85
- 238000013507 mapping Methods 0.000 claims description 38
- 238000012545 processing Methods 0.000 claims description 12
- 239000013598 vector Substances 0.000 claims description 5
- 230000011218 segmentation Effects 0.000 claims description 4
- 239000000725 suspension Substances 0.000 claims description 3
- 235000013399 edible fruits Nutrition 0.000 claims 1
- 230000008569 process Effects 0.000 description 34
- 230000008859 change Effects 0.000 description 17
- 238000010586 diagram Methods 0.000 description 11
- 238000003860 storage Methods 0.000 description 8
- 230000006870 function Effects 0.000 description 7
- 238000004590 computer program Methods 0.000 description 5
- 238000004458 analytical method Methods 0.000 description 3
- 230000006399 behavior Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 238000005096 rolling process Methods 0.000 description 2
- 239000011800 void material Substances 0.000 description 2
- 241000208340 Araliaceae Species 0.000 description 1
- 241001269238 Data Species 0.000 description 1
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 description 1
- 235000003140 Panax quinquefolius Nutrition 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 235000008434 ginseng Nutrition 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 230000004044 response Effects 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
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)
- Debugging And Monitoring (AREA)
Abstract
The application provides a kind of page test method, device and its equipment, is tested this method comprises: determining to need to treat test page using test case;Obtain test program corresponding with the test case and the page to be tested and environmental information;The page to be tested is tested using obtained test program and environmental information.By the technical solution of the application, mitigate test job amount, improves user experience.The running environment of server and the test environment of test case match, and meet testing requirement, can mismatch caused test crash to avoid due to running environment.Testing efficiency can be promoted, test resource is saved.
Description
Technical field
This application involves Internet technical field, especially a kind of page test method, device and its equipment.
Background technique
Page test (can also become interface detection, abbreviation UI test) refers to: the layout of the functional module of test page
Rationally whether, whether just whether the placement location of whether consistent, each control of whole style meet use habit, page operation
Whether prompt, page navigation be easily understood, page elements whether whether name in the correct, page and unite in the available, page by text
It is first-class.Wherein, before the page is online, the environment such as daily, pre- hair need to utilize test case whenever having code change deployment
The page is repeatedly tested.For example, using test case A and test case B when daily code change deployment test for the first time
Manual test is carried out to the page;When second of daily code change deployment test, using test case A and test case B to page
Face carries out manual test;How many time code changing unit administration, it is necessary to how many times test, and so on.
In the above method, user is needed to carry out manual test to the page according to test case, test job amount is very big.Especially
It is to require to return all test process whenever having code change deployment, is issued if adding the change of multiple environment, such as
There is m code change to require deployment, n set of environments, k manual use-case, then, it is m*n*k, m and n that test case, which runs total amount,
Increase, influence testing time and further increase, to increase test job amount, influence user's testing efficiency.
Summary of the invention
The application provides a kind of page test method, is applied to server, which comprises
It determines to need to treat test page using test case and be tested;
Obtain test program corresponding with the test case and the page to be tested and environmental information;
The page to be tested is tested using obtained test program and environmental information.
The application provides a kind of page test method, is applied to server, which comprises
It obtains host computer test case and treats operation information when test page is tested;
Test program is generated according to the operation information, obtains environmental information locating for the server;
The test case, the page, the test program and the environment letter to be tested are recorded in mapping relations
The corresponding relationship of breath;Wherein, the mapping relations are tested for treating test page.
The application provides a kind of page test device, is applied to server, and described device includes:
Determining module is tested for determining to need to treat test page using test case;
Module is obtained, for obtaining test program corresponding with the test case and the page to be tested and environment letter
Breath;
Test module, for being tested using the test program and the environmental information the page to be tested.
The application provides a kind of page test device, is applied to server, and described device includes:
Module is obtained, treats operation information when test page is tested for obtaining host computer test case;Root
Test program is generated according to the operation information, obtains environmental information locating for the server;
Logging modle, for recording the test case, the page to be tested, the test program in mapping relations
With the corresponding relationship of the environmental information;
Wherein, the mapping relations are tested for treating test page.
The application provides a kind of server, comprising: processor needs to treat test page using test case for determination
It is tested;Obtain test program corresponding with the test case and the page to be tested and environmental information;Using obtaining
Test program and environmental information the page to be tested is tested.
The application provides a kind of server, and the server includes:
Processor treats operation information when test page is tested for obtaining host computer test case;According to
The operation information generates test program, obtains environmental information locating for the server;The survey is recorded in mapping relations
On probation example, the page to be tested, the test program and the environmental information corresponding relationship;Wherein, the mapping relations
It is tested for treating test page.
Based on the above-mentioned technical proposal, it in the embodiment of the present application, is surveyed needing to treat test page using test case
When examination, test program corresponding with the test case and the page to be tested and environmental information can be obtained, and according to the test
Program and the environmental information are treated test page and are tested, and carry out manual survey to the page according to test case without user
Examination improves user experience to mitigate test job amount.Furthermore, it is possible to construct service according to the environmental information in mapping relations
The running environment of device meets testing requirement in this way, the test environment of the running environment of server and test case matches, can
To guarantee going on smoothly for test process, test crash caused by mismatching due to running environment is avoided.In addition, server can be with
It supports the test of multiple users, so as to promote testing efficiency, and test resource can be saved.
Detailed description of the invention
It, below will be to the application in order to clearly illustrate the embodiment of the present application or technical solution in the prior art
Embodiment or attached drawing needed to be used in the description of the prior art be briefly described, it should be apparent that, it is described below
Attached drawing is only some embodiments as described in this application, for those of ordinary skill in the art, can also be according to this Shen
Please these attached drawings of embodiment obtain other attached drawings.
Figure 1A and Figure 1B is the application scenarios schematic diagram in a kind of embodiment of the application;
Fig. 2 is the page test method flow chart in a kind of embodiment of the application;
Fig. 3 is the page test method flow chart in the application another embodiment;
Fig. 4 is the page test device structure chart in a kind of embodiment of the application;
Fig. 5 is the page test device structure chart in the application another embodiment.
Specific embodiment
In the term that the embodiment of the present application uses merely for the sake of for the purpose of describing particular embodiments, rather than limit this Shen
Please.The "an" of singular used in the application and claims, " described " and "the" are also intended to including most shapes
Formula, unless context clearly shows that other meanings.It is also understood that term "and/or" used herein refers to comprising one
A or multiple associated any or all of project listed may combine.
It will be appreciated that though various letters may be described using term first, second, third, etc. in the embodiment of the present application
Breath, but these information should not necessarily be limited by these terms.These terms are only used to for same type of information being distinguished from each other out.For example,
In the case where not departing from the application range, the first information can also be referred to as the second information, and similarly, the second information can also be with
The referred to as first information.Depending on context, in addition, used word " if " can be construed to " ... when " or
" when ... " or " in response to determination ".
The embodiment of the present application proposes a kind of page test method, and this method can be applied to include that host and server are
System is the application scenarios schematic diagram of the embodiment of the present application referring to shown in Figure 1A.Host is that user treats test page and tests
When the local device that uses, can for PC (Personal Computer, personal computer), tablet computer, laptop,
Mobile terminal, smart phone etc., with no restrictions to the type of this host.When server is that user treats test page and tests
The cloud device used can be PC, tablet computer, laptop, mobile terminal, smart phone etc., to this server
Type is with no restrictions.
Wherein, user is the user for needing to treat test page and being tested, can be developer, WEB tester,
Automatic test personnel etc., it is without limitation, as long as needing to treat the user that test page is tested, in Figure 1A
In, it is illustrated by taking user A, user B and user C as an example.
Wherein, host is the local device that user uses, and may include browser or APP (application program), Yong Huke
To access the page to be tested by browser or APP, then treats test page and tested.
Wherein, server is cloud device, can use virtualization technology, go out multiple virtual machines in server virtual
(Virtual Machine), each virtual machine be by software simulate with complete hardware system function, operate in one
Complete computer in completely isolated environment.In addition, virtual machine can be with the operating system of remote access host, monitoring host computer
Operation behavior, such as the test process of host is monitored.
Wherein, the page to be tested is the page in need of test, i.e.,, can before online after the page to be tested is developed
It is repeatedly tested with treating test page.For example, user A uses test in daily code change deployment test for the first time
Use-case A and test case B treats test page and is tested;In second of daily code change deployment test, user A is used
Test case A and test case B treats test page and is tested;In the daily code change deployment test of third time, user B
Test page is treated using test case A, test case B and test case C to be tested;In the 4th daily code changing unit
When administration's test, user C treats test page using test case A, test case B and test case C and tests.
In conventional manner, test page is treated according to test case by user and carry out manual test, tested Ru above-mentioned
Cheng Jun is to treat test page to carry out manual test, and test job amount is very big, influences user experience.For example, if there is m code
Change requires deployment, n set of environments, k manual use-case, then, test case operation total amount is increasing for m*n*k, m and n, shadow
It rings testing time further to increase, to increase test job amount, influences user's testing efficiency.
In the embodiment of the present application, in daily code change deployment test for the first time, user A is treated using test case A
Test page carries out manual test, and during the test, server can record the operation information of host 11, and according to the operation
Information generates test program A corresponding with test case A.Based on this, in second of daily code change deployment test, user
When A treats test page using test case A and is tested, so that it may using test program A treat test page carry out it is automatic
Change test, rather than treats test page using test case A and carry out manual test.It is surveyed in the daily code change deployment of third time
When examination, user B also can use test program A and treat test page progress automatic test, in the 4th daily code change
When deployment test, user C also can use test program A and treat test page progress automatic test.
Similarly, for test case B and test case C, corresponding test program B and test journey is also can be generated in server
Sequence C, and treat test page using test program B and test program C and carry out automatic test.Obviously, aforesaid way can be right
The page to be tested carries out automatic test and improves the user experience so as to mitigate the workload of manual test.
In the above-described embodiments, the difference of test case and test program is: test case may include multiple steps,
Each step can be the descriptive matter in which there for facilitating user to understand, if test case includes step 1- step 10, step 1 is input
Abc, step 2 are to click left mouse button, and step 3 is input carriage return etc., and so on, user sees these steps, so that it may according to
It is secondary to execute each step.Test program is software code corresponding with test case, is the software generation that machine can be performed automatically
Code does not need the participation of user during machine executes test program, if test program includes that step 1- step 10 is corresponding
Software code, machine executes the process of this software code automatically, is equivalent to and performs the step 1- step 10 of test case.
Wherein, test program is referred to as test script (Testing script) or automatized script, is one
For the software code that machine executes, for the convenience of description, being illustrated by taking test program as an example herein.
In the above-described embodiments, the difference of manual test and automatic test is: manual test is that user executes by hand
The mode of each step in test case is such as directed to step 1- step 10, and user executes step 1 by hand, i.e. input abc, then uses
Family executes step 2 by hand, i.e. click left mouse button, and so on.It is soft in test program that automatic test is that machine executes automatically
The mode of part code, if test program includes the corresponding software code of step 1- step 10, after machine executes test program automatically,
It is equivalent to and performs step 1- step 10.
In conclusion carrying out automatic test by treating test page, test sheets are treated in reduction in the embodiment of the present application
Face carries out manual test and improves the user experience to mitigate the workload of manual test.
In one example, by server recording operation information, and according to operation information generation test program, rather than by
The host recording operation information of user local, and test program is generated, reason may include:
If 1, by the host recording operation information of user local, and generating test program according to operation information, then need
Host, which is built, records environment (such as installation recording tool), can occupy a large amount of host resources, influence host performance, and each
Host (such as host 11- host 13) builds recording environment.In contrast to this, if by server recording operation information, and root
Test program is generated according to operation information, then does not need to build recording environment in host, improves host performance, save host resource.
Furthermore, it is possible to go out to be used for the virtual machine of recording operation information in server virtual, and recording operation information is executed by the virtual machine
Process, and other virtual machines of server can continue to execute own service, so that the influence to other business will not be caused.
2, in view of the execution of test program is to environmental requirement height, therefore, the recording environment and test program of test program
Playback environment it is consistent, for example, the recording operation information at environment A, and after generating test program according to operation information, in environment
Test program is executed under A, carries out automatic test to treat test page.
Based on this, if generating test program by the host recording operation information of user local, and according to operation information, then use
Family A can only execute the test program in host 11, be automated with treating test page after host 11 generates test program
Test can not treat test page in another host and carry out automatic test, alternatively, user A needs the ring according to host 11
The environment of another host is built in border, can be treated test page in another host and be carried out automatic test, environmental structure
Relatively difficult, resources costs are high.
In contrast to this, if by server recording operation information, and test program is generated according to operation information, then will not
The environment of host is caused to limit, test program can be executed by the virtual machine (such as virtual machine 141) of recording operation information, with right
The page to be tested carries out automatic test, alternatively, the environment based on virtual machine 141 determines another virtual machine (such as virtual machine 142),
The environment of virtual machine 142 is identical as the environment of virtual machine 141, in this way, test program can be executed by virtual machine 142, to treat
Test page carries out automatic test.
If 3, by the host recording operation information of user local, and generating test program according to operation information, then user A exists
After host 11 generates test program, only user A can execute the test program by host 11, to treat test page progress
Automatic test, user B and user C are not available the test program.
In contrast to this, if by server recording operation information, and test program, server are generated according to operation information
After generating test program, the test program is can be used in user A, user B and user C, supports multiple users in same service
Device shares test program, to save test resource, improves resource utilization.
In one example, referring to shown in Figure 1B, for the structural schematic diagram of server, server may include semantic analysis
Device records tool, connector and environment manager.When by the virtual machine recording operation information of server, then semantic analyzer,
Recording tool, connector and environment manager can be deployed in virtual machine.
Wherein, semantic analyzer is used to such as use term vector mould using the similarity between similarity algorithm analysis data
Similarity between type analysis data introduces the analytic process of similarity in subsequent embodiment.
Wherein, in recording process, recording tool is used to treat test page in host computer test case and carry out by hand
When test, recording operation information, and test program is generated according to the operation information.In addition, recording tool during write-back and using
Automatic test is carried out in treating test page according to the test program.
Wherein, connector can be HTML (Hyper Text Markup Language, HyperText Markup Language) VNC
(Virtual Network Console, virtual network controls platform) virtual opetrating system connector, is treated in user by host
When test page carries out manual test, connector for being attached with host, can long-range monitoring host computer behavior, to make to record
Tool processed can record the operation information of host.
Wherein, environment manager can be virtual machine image environment manager, in virtual machine recording operation information, and according to
When operation information generates test program, environment manager is used to collect the environmental information of virtual machine, and storage environment information.In void
When quasi- machine treats test page progress automatic test according to the test program, the environmental information that can use storage builds void
The environment of quasi- machine, so that it is consistent with write-back environment to record environment.
Under above-mentioned application scenarios, the page test method proposed in the embodiment of the present application, may include recording process and
Write-back process.In recording process, user can treat test page by host and carry out manual test, and server can be recorded
The operation information of host, and test program is generated according to the operation information.During write-back, server can be according to the test
Program treats test page and carries out automatic test.Below in conjunction with specific embodiment, recording process and write-back process are carried out
It is described in detail, it is shown in Figure 2, it is the process flow diagram of above-mentioned recording process, it is shown in Figure 3, it is above-mentioned write-back process
Process flow diagram.
It is shown in Figure 2, it is the flow chart of page test method, this method is applied to server, comprising:
Step 201, it obtains host computer test case and treats operation information when test page is tested.
Wherein, obtain host computer test case treat operation information when test page is tested, may include:
Host computer test case treats test page and is tested (such as user treats test page by host and carries out manual test)
When, server obtains the operation information of the host, which includes but is not limited to following one or any combination: input
Operation, clicking operation, scroll operation, suspension procedure.
For example, when user treats test page by host and carries out manual test, if user inputs abc, then server
It is available to be operated to this input, determine that operation information is input abc;If user clicks left mouse button, server can be with
This clicking operation is got, determines that operation information is to click left mouse button;If user's roll mouse, server are available
To this scroll operation, determine that operation information is the position A before the mouse rollovers and position B after mouse rollovers, indicate mouse from
Position A is rolled to position B, and so on.
Wherein, when host computer test case treats test page and tested (such as manual test), then server can
To use recording tool to obtain the operation information of the host, with no restrictions to this acquisition process.
Step 202, test program is generated according to the operation information, and obtains environmental information locating for server.
Wherein, server is after getting operation information, so that it may the operation information is converted into test program, to this turn
Change process with no restrictions.For example, " input abc " this operation information can be converted into the software generation that machine can be performed automatically
Code, when machine executes the software code automatically, will input abc.
Wherein, environmental information can include but is not limited to hardware environment and/or software environment.The hardware environment can be firmly
Part configuration information, can include but is not limited to: processor information, memory information, hard disk information etc., to the content of this hardware environment
With no restrictions.The software environment can be software configuration information, can include but is not limited to operating system, database etc., to this
The content of software environment is with no restrictions.
Wherein, when server obtains operation information, and generates test program according to the operation information, then available to be somebody's turn to do
The environmental information of server;When the virtual machine acquisition operation information fictionalized in server, and is generated and surveyed according to the operation information
When trying program, then the environmental information of the virtual machine in the available server.
Step 203, the test case, the page, the test program and the environment letter to be tested are recorded in mapping relations
The corresponding relationship of breath.Wherein, the mapping relations are tested for treating test page.
Wherein, mapping relations can be tableau format, be also possible to file structure, can also be other structures, not to this
Be limited, if be able to record test case, the page to be tested, test program and environmental information corresponding relationship.Such as table 1
It is shown, it is the mapping relations example of tableau format, with no restrictions to this content.
Table 1
Test case | The page to be tested | Test program | Environmental information |
Test case A | The page 1 to be tested | Test program A | Environmental information A |
Test case B | The page 1 to be tested | Test program B | Environmental information B |
Test case C | The page 1 to be tested | Test program C | Environmental information A |
In one example, above-mentioned execution sequence is intended merely to facilitate description to provide example, in practical applications,
Sequence is executed between can also changing the step, with no restrictions to this execution sequence.Moreover, in other embodiments, and it is different
The fixed sequence for showing and describing according to this specification is come the step of executing correlation method, step included by method can be than this
It is more or less described in specification.In addition, single step described in this specification, it in other embodiments may quilt
Multiple steps are decomposed into be described;Multiple steps described in this specification may also be merged into other embodiments
Single step is described.
In one example, test program may include the corresponding subprogram of multiple operation informations, and test case can wrap
Include at least one assertion data.Based on this, the corresponding page info of available operation information determines that the page info is corresponding
Assertion data;Test case belonging to the assertion data is inquired, and records the corresponding sub- journey of the operation information in test program
The corresponding relationship of test case belonging to sequence and the assertion data.
For example, host computer test case A treats test page progress when test case A includes step 1- step 10
When test, the corresponding operation information 1- operation information 10 of step 1- step 10 can be generated, in this way, raw according to operation information
When at test program, so that it may generate the corresponding subprogram 1- subprogram 10 of operation information 1- operation information 10, and sub- journey
Sequence 1- subprogram 10 can be combined into above-mentioned test program.
For example, after executing step 1, it is assumed that current page is the A page, then server can get the page from the A page
Information, the page info are the corresponding page infos of the corresponding operation information 1 of step 1, which can be the master of the A page
Topic, certain section of text, some button etc., it is without limitation.
For example, test case A may include one or more assertion data, such as assertion data A and assertion data B, break
Speech data A is there are 138110, and assertion data B is that there is no xyz.Assuming that there are 138110 for the page info of the A page, it is determined that
The page info corresponds to assertion data A, and inquires test case A belonging to assertion data A, and can remember in test program
The corresponding relationship of the corresponding subprogram 1 and test case A of operation information 1 is recorded, the effect for the corresponding relationship will be in subsequent reality
It applies in example and introduces.
In another example, which may include the corresponding subprogram of multiple operation informations, and the test is used
Example may include at least one sub- use-case, and sub- use-case may include at least one assertion data or not include assertion data.
Based on this, the corresponding page info of operation information can also be obtained, and determines the corresponding assertion data of the page info;Then,
Sub- use-case belonging to the assertion data can be inquired, and records the corresponding subprogram of the operation information in test program and breaks with this
Say the corresponding relationship of sub- use-case belonging to data.
For example, test case A includes sub- use-case A1 and sub- use-case A2, sub- use-case A1 includes assertion data A and assertion data
B, assertion data A are there are 138110, and assertion data B is that there is no xyz.Based on this, it is assumed that the page info of the A page exists
138110, it is determined that page info corresponds to assertion data A, and inquires sub- use-case A1 belonging to assertion data A, and in test journey
The corresponding relationship of the corresponding subprogram 1 and sub- use-case A1 of recording operation information 1, the effect for the corresponding relationship, rear in sequence
Continuous embodiment introduction.
In the above-described embodiments, it determines the corresponding assertion data of page info, may include: to be segmented to page info
Processing obtains participle data;Obtain the similarity of participle data and at least one assertion data;According to participle data and at least one
The similarity of a assertion data determines assertion data corresponding with participle data from least one assertion data.Further, it obtains
The similarity for taking participle data and at least one assertion data may include: to obtain participle data and extremely using term vector model
The similarity of a few assertion data.
For example, carrying out word segmentation processing to page info, obtaining participle data 1 and segmenting data 2, to this word segmentation processing process
With no restrictions.Then, assertion data A and participle 1 similarity of data are calculated using term vector model (word2vec model), it is assumed that
It is 85%, calculates assertion data A and participle 2 similarity of data, it is assumed that is 20%, and calculates assertion data B and participle 1 phase of data
Like degree, it is assumed that be 10%, calculate assertion data B and participle 2 similarity of data, it is assumed that be 0%.Wherein, word2vec model
Feature is by all term vectors, in this way, the relationship measured between word and word that can be quantified, excavates the connection between word.Base
In word2vec model, assertion data can be calculated and segment the similarity of data, it is without limitation.
It (is rule of thumb configured, it is corresponding that assertion data such as 80%) is determined as participle data assuming that similarity is greater than threshold value
Assertion data, then assertion data A can be determined as segment the corresponding assertion data of data 1.
Below in conjunction with following process flow, the scheme of above-mentioned recording process is further detailed.
Step 211, host obtains test case A, and test case A includes at least one sub- use-case, such as sub- use-case 1 and son
Use-case 2.The sub- use-case 1 may include assertion data A and assertion data B, and assertion data A is there are 138110, this asserts number
It is that there is no xyz according to B;The sub- use-case 2 may include assertion data C, and assertion data C is that there are 118456.Certainly, it is above-mentioned extremely
A few example, it is without limitation.
In practical applications, a sub- use-case can be a step of test case, without limitation.
Wherein, before test case is supplied to host, segmenter can analyze out the assertion data in sub- use-case, and
Assertion data is recorded in sub- use-case, and assertion data A and assertion data B is recorded such as in sub- use-case 1, is recorded in sub- use-case 2
Assertion data C.Moreover, above-mentioned assertion data can also include case mark, case, keyword corresponding relationship, such as assert number
It include identifying A, existing, 138110 corresponding relationship according to A, assertion data B includes mark B, is not present, the corresponding relationship of xyz, with
This analogizes.
Wherein, above-mentioned test case A can be manual use-case or automated unit test use-case, alternatively, API is automatic
Change use-case or flow and automate use-case, with no restrictions to the type of this test case A.
Step 212, host inputs URL (Uniform Resource Locator, the unification of the page to be tested in browser
Resource Locator), the URL of the page to be tested is sent to server by browser, and server opens the URL of the page to be tested.And
And server starts recording tool, and is monitored to the operation information of host.
Step 213, host computer test case A treats test page and is tested.For example, based on each of test case A
Step, user execute the manual operationss such as input, click, rolling in browser window by host.For example, first carrying out sub- use-case A
In each step, then execute each step in sub- use-case B.
Step 214, server obtains host computer test case A and treats operation information when test page is tested.
For example, the operation of the available host of server is believed when host computer test case A treats test page and tested
Breath.Wherein, which can include but is not limited to following one or any combination: input operation, clicking operation, rolling
Operation, suspension procedure etc..
Step 215, which is converted into subprogram by server, with no restrictions to this conversion process.
Step 216, server obtains the corresponding page info of the operation information, and judges whether there is the page info pair
The assertion data answered.If so, thening follow the steps 217;If not, thening follow the steps 219.
Step 217, server inquires sub- use-case belonging to the corresponding assertion data of the page info, for example, if the page
Information corresponds to assertion data A, then server can inquire sub- use-case 1 belonging to assertion data A from test case A.This step
Before rapid, server can also get test case A from host.
Step 218, server records the corresponding subprogram of the operation information (i.e. subprogram obtained in step 215) and is somebody's turn to do
Then the corresponding relationship of sub- use-case 1 belonging to assertion data A executes step 219.
In one example, server can also prompt user to be associated with the corresponding relationship of subprogram Yu sub- use-case by hand, by
User is associated with the corresponding relationship of subprogram Yu sub- use-case by hand, no longer repeats in detail this process.
Step 219, server judges whether recording process terminates.If not, return step 214, obtains next operation
Information executes step 215- step 218 using the operation information.If so, executing step 220.
Step 220, obtained all subprograms are combined into test program by server.
Step 221, server obtains environmental information locating for book server.
Step 222, server can record that the test case, (such as this is to be tested for the page to be tested in mapping relations
The URL of the page), the corresponding relationship of the test program and the environmental information.
It is shown in Figure 3, it is the flow chart of page test method, this method is applied to server, comprising:
Step 301, it determines to need to treat test page using test case and be tested.
Step 302, test program corresponding with the test case and the page to be tested and environmental information are obtained.
Wherein, test program corresponding with the test case and the page to be tested and environmental information are obtained, may include:
By the test case and the page interrogation mapping relations to be tested, obtain corresponding with the test case and the page to be tested
Test program and environmental information;Wherein, the mapping relations are for recording test case, the page to be tested, test program and ring
The corresponding relationship of border information, ginseng are shown in Table 1.
By the processing of recording process, in mapping relations record test case, the page to be tested, test program and
The corresponding relationship of environmental information, therefore, in step 301, however, it is determined that need to treat the progress of test page 1 using test case A
Test then can obtain test program by mapping relations shown in 1 inquiry table 1 of test case A and the page to be tested as test
Program A, and environmental information is environmental information A.
Step 303, test page is treated using obtained test program and environmental information to be tested.
Wherein, test page is treated using obtained test program and environmental information to be tested, may include: that basis should
The running environment of environmental information building server;Under the running environment, test page is treated using the test program and is surveyed
Examination.For example, if server is treated by virtual machine 1 according to test program A there are the virtual machine 1 that environmental information is environmental information A
Test page 1 carries out automatic test.If there is no the virtual machines that environmental information is environmental information A for server, in server
Fictionalize an environmental information be environmental information A virtual machine 2, by virtual machine 2 according to test program A treat test page 1 into
Row automatic test.
In one example, test program may include multiple subprograms, treats test page using test program and carries out
Test may include: to obtain to treat using subprogram to assert result when test page is tested;Then, from the test journey
The corresponding test case of the subprogram is parsed in sequence, and asserts result described in record in the test case;Wherein, the test
Program may include the corresponding relationship of subprogram and test case.
In another example, test program may include multiple subprograms, and test case may include at least one
Sub- use-case, every sub- use-case includes assertion data.Based on this, test page is treated using test program and is tested, can wrap
Include: acquisition is treated using subprogram asserts result when test page is tested;It is then possible to be parsed from the test program
The corresponding sub- use-case of the subprogram out, and result is asserted described in record in the sub- use-case;Wherein, which may include
The corresponding relationship of subprogram and sub- use-case.
For example, test program package enclosed tool program 1- subprogram 10, is tested treating test page using subprogram 1
When, it obtains asserting result A, such as asserts that result A is " there are 138110 ".Assuming that test program package enclosed tool program 1 and sub- use-case 1
Corresponding relationship (in above-described embodiment, the corresponding relationship of by the agency of test program package enclosed tool program and sub- use-case), therefore, service
Device can parse the corresponding sub- use-case 1 of subprogram 1 from the test program, and assert knot described in record in the sub- use-case 1
Fruit A.Obviously, by aforesaid way, it can will assert that result is recorded in corresponding sub- use-case, in this way, user can be direct
It inquires and is asserted as a result, then according to the test result for asserting the interpretation of result page to be tested from sub- use-case.
Below in conjunction with following process flow, the scheme of above-mentioned write-back process is further detailed.
Step 311, host is needed to treat test page 1 using test case A and be tested.
Step 312, server is determined to need to treat test page 1 using test case A and be tested.
Step 313, server is surveyed by mapping relations shown in 1 inquiry table 1 of test case A and the page to be tested
Examination program is test program A, and environmental information is environmental information A.
Step 314, server construction running environment corresponding with environmental information A.
Step 315, under the running environment, server successively chooses each subprogram of test program A.
Step 316, the subprogram that server by utilizing is chosen is treated test page 1 and is tested.
Step 317, server acquisition is treated using the subprogram asserts result when test page 1 is tested.
Step 318, server parses the corresponding sub- use-case of the subprogram from test program A.
Step 319, server records this in the sub- use-case and asserts result.
Step 320, server judges whether each subprogram of test program A is performed both by completion.If it is, terminating stream
Journey, it is clear that in above process, assert that result is recorded in sub- use-case for all, to facilitate checking for user.If
No, then return step 315, select next subprogram to continue to execute.
Based on the above-mentioned technical proposal, it in the embodiment of the present application, is surveyed needing to treat test page using test case
When examination, test program corresponding with the test case and the page to be tested can be inquired from mapping relations and environment is believed
Breath, and test page is treated according to the test program and the environmental information and is tested, without user according to test case
Manual test is carried out to the page, to mitigate test job amount, improves user experience.Furthermore, it is possible to according in mapping relations
Environmental information constructs the running environment of server, in this way, the test environment of the running environment of server and test case matches,
Meet testing requirement, it is ensured that test process is gone on smoothly, and avoids test crash caused by mismatching due to running environment.
In addition, server can support the test of multiple users, so as to promote testing efficiency, and test resource can be saved.
Based on similarly applying conceiving with the above method, the embodiment of the present application also provides a kind of page test device, can be with
Applied to server.As shown in figure 4, being the structure chart of described device, described device includes:
Determining module 401 is tested for determining to need to treat test page using test case;
Module 402 is obtained, for obtaining test program corresponding with the test case and the page to be tested and ring
Border information;
Test module 403 is tested for treating test page using the test program and the environmental information.
In one example, the acquisition module 402 is specifically used for passing through the test case and the page to be tested
Mapping relations are inquired, test program corresponding with the test case and the page to be tested and environmental information are obtained;Wherein,
The mapping relations be used for record test case, the page to be tested, test program and environmental information corresponding relationship.
The test module 403, specifically for constructing the running environment of the server according to the environmental information;Institute
It states under running environment, the page to be tested is tested using the test program.
The test program includes multiple subprograms, and the test case includes at least one sub- use-case;
The test module 403 is specifically used for when being tested using the test program the page to be tested: being obtained
It takes and asserts result when testing using subprogram the page to be tested;The sub- journey is parsed from the test program
The corresponding sub- use-case of sequence, and result is asserted described in record in the sub- use-case;
Wherein, the corresponding relationship of the test program package enclosed tool program and sub- use-case.
Based on similarly applying conceiving with the above method, the embodiment of the present application also provides a kind of server, the server
Including processor.The processor is tested for determining to need to treat test page using test case;Obtain with it is described
Test case and the corresponding test program of the page to be tested and environmental information;Utilize obtained test program and environmental information
The page to be tested is tested.
Based on similarly applying conceiving with the above method, the embodiment of the present application also provides a kind of machine readable storage medium,
Several computer instructions are stored on the machine readable storage medium, wherein the computer instruction is performed progress such as
Lower processing: it determines to need to treat test page using test case and be tested;It obtains and the test case and described to be measured
Try the corresponding test program of the page and environmental information;Using obtained test program and environmental information to the page to be tested into
Row test.
Based on similarly applying conceiving with the above method, the embodiment of the present application also provides a kind of page test device, can be with
Applied to server.As shown in figure 5, being the structure chart of described device, described device includes:
Module 501 is obtained, treats operation information when test page is tested for obtaining host computer test case;
Test program is generated according to the operation information, obtains environmental information locating for the server;
Logging modle 502, for recording the test case, the page to be tested, the test in mapping relations
The corresponding relationship of program and the environmental information;
Wherein, the mapping relations are tested for treating test page.
The test program includes the corresponding subprogram of multiple operation informations, and the test case includes at least one sub- use
Example, the sub- use-case includes at least one assertion data;It is corresponding to be also used to obtain the operation information for the acquisition module 501
Page info, determine the corresponding assertion data of the page info;The logging modle 502 is also used to inquire described assert
Sub- use-case belonging to data, and the corresponding subprogram of the operation information and the assertion data are recorded in the test program
The corresponding relationship of affiliated sub- use-case.
Based on similarly applying conceiving with the above method, the embodiment of the present application also provides a kind of server, the server
Include: processor, treats operation information when test page is tested for obtaining host computer test case;According to described
Operation information generates test program, obtains environmental information locating for the server;The test is recorded in mapping relations to use
Example, the page to be tested, the test program and the environmental information corresponding relationship;Wherein, the mapping relations are used for
Test page is treated to be tested.
Based on similarly applying conceiving with the above method, the embodiment of the present application also provides a kind of machine readable storage medium,
Several computer instructions are stored on the machine readable storage medium, the computer instruction is performed to be located as follows
Reason: it obtains host computer test case and treats operation information when test page is tested;It is generated according to the operation information
Test program obtains environmental information locating for the server;The test case, described to be tested is recorded in mapping relations
The corresponding relationship of the page, the test program and the environmental information;Wherein, the mapping relations for treat test page into
Row test.
System, device, module or the unit that above-described embodiment illustrates can specifically realize by computer chip or entity,
Or it is realized by the product with certain function.A kind of typically to realize that equipment is computer, the concrete form of computer can
To be personal computer, laptop computer, cellular phone, camera phone, smart phone, personal digital assistant, media play
In device, navigation equipment, E-mail receiver/send equipment, game console, tablet computer, wearable device or these equipment
The combination of any several equipment.
For convenience of description, it is divided into various units when description apparatus above with function to describe respectively.Certainly, implementing this
The function of each unit can be realized in the same or multiple software and or hardware when application.
It should be understood by those skilled in the art that, embodiments herein can provide as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the application
Apply the form of example.Moreover, it wherein includes computer usable program code that the embodiment of the present application, which can be used in one or more,
The computer implemented in computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
The form of program product.
The application is referring to method, the process of equipment (system) and computer program product according to the embodiment of the present application
Figure and/or block diagram describe.It is generally understood that being realized by computer program instructions each in flowchart and/or the block diagram
The combination of process and/or box in process and/or box and flowchart and/or the block diagram.It can provide these computer journeys
Sequence instruct to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices processor with
A machine is generated, so that the instruction generation executed by computer or the processor of other programmable data processing devices is used for
Realize the dress for the function of specifying in one or more flows of the flowchart and/or one or more blocks of the block diagram
It sets.
Moreover, these computer program instructions also can store be able to guide computer or other programmable datas processing set
In standby computer-readable memory operate in a specific manner, so that instruction stored in the computer readable memory generates
Manufacture including command device, the command device are realized in one process of flow chart or multiple processes and/or block diagram one
The function of being specified in a box or multiple boxes.
These computer program instructions can also be loaded into computer or other programmable data processing devices, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer
Or the instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram
The step of function of being specified in one box or multiple boxes.
The above description is only an example of the present application, is not intended to limit this application.For those skilled in the art
For, various changes and changes are possible in this application.All any modifications made within the spirit and principles of the present application are equal
Replacement, improvement etc., should be included within the scope of the claims of this application.
Claims (22)
1. a kind of page test method, which is characterized in that be applied to server, which comprises
It determines to need to treat test page using test case and be tested;
Obtain test program corresponding with the test case and the page to be tested and environmental information;
The page to be tested is tested using obtained test program and environmental information.
2. the method according to claim 1, wherein the acquisition and the test case and the page to be tested
The corresponding test program in face and environmental information, comprising:
By the test case and the page interrogation mapping relations to be tested, obtain and the test case and described to be measured
Try the corresponding test program of the page and environmental information;Wherein, the mapping relations for record test case, the page to be tested,
The corresponding relationship of test program and environmental information.
3. according to the method described in claim 2, it is characterized in that,
The determination is needed to be treated using test case before test page tested, further includes:
It obtains host computer test case and treats operation information when test page is tested;
Test program is generated according to the operation information, obtains environmental information locating for the server;
The test case, the page to be tested, the test program and the environmental information are recorded in mapping relations
Corresponding relationship.
4. according to the method described in claim 3, it is characterized in that,
The acquisition host computer test case treats operation information when test page is tested, comprising:
When host computer test case is treated test page and tested, the operation information of the host is obtained;
Wherein, the operation information includes following one or any combination:
Input operation, clicking operation, scroll operation, suspension procedure.
5. according to the method described in claim 3, it is characterized in that, the test program includes the corresponding son of multiple operation informations
Program, the test case include at least one assertion data, the method also includes:
The corresponding page info of the operation information is obtained, determines the corresponding assertion data of the page info;
Test case belonging to the assertion data is inquired, and records the corresponding son of the operation information in the test program
The corresponding relationship of test case belonging to program and the assertion data.
6. according to the method described in claim 3, it is characterized in that,
The test program includes the corresponding subprogram of multiple operation informations, and the test case includes at least one sub- use-case,
And the sub- use-case includes at least one assertion data, the method also includes:
The corresponding page info of the operation information is obtained, determines the corresponding assertion data of the page info;
Sub- use-case belonging to the assertion data is inquired, and records the corresponding sub- journey of the operation information in the test program
The corresponding relationship of sub- use-case belonging to sequence and the assertion data.
7. method according to claim 5 or 6, which is characterized in that
The corresponding assertion data of the determination page info, comprising:
Word segmentation processing is carried out to the page info, obtains participle data;
Obtain the similarity of the participle data and at least one assertion data;
According to it is described participle data and at least one assertion data similarity, from least one described assertion data determine and
The corresponding assertion data of the participle data.
8. the method according to the description of claim 7 is characterized in that
The similarity for obtaining the participle data and at least one assertion data, comprising:
The similarity of the participle data and at least one assertion data is obtained using term vector model.
9. the method according to claim 1, wherein
It is described that the page to be tested is tested using obtained test program and environmental information, comprising:
The running environment of the server is constructed according to the environmental information;
Under the running environment, the page to be tested is tested using the test program.
10. according to the method described in claim 9, it is characterized in that, the test program includes multiple subprograms, the utilization
The test program tests the page to be tested, comprising:
It obtains and asserts result when testing using subprogram the page to be tested;
The corresponding test case of the subprogram is parsed from the test program, is asserted described in record in the test case
As a result;Wherein, the corresponding relationship of the test program package enclosed tool program and test case.
11. according to the method described in claim 9, it is characterized in that,
The test program includes multiple subprograms, and the test case includes at least one sub- use-case;
It is described that the page to be tested is tested using the test program, comprising:
It obtains and asserts result when testing using subprogram the page to be tested;
The corresponding sub- use-case of the subprogram is parsed from the test program, and asserts knot described in record in the sub- use-case
Fruit;Wherein, the corresponding relationship of the test program package enclosed tool program and sub- use-case.
12. a kind of page test method, which is characterized in that be applied to server, which comprises
It obtains host computer test case and treats operation information when test page is tested;
Test program is generated according to the operation information, obtains environmental information locating for the server;
The test case, the page to be tested, the test program and the environmental information are recorded in mapping relations
Corresponding relationship;Wherein, the mapping relations are tested for treating test page.
13. according to the method for claim 12, which is characterized in that
The test program includes the corresponding subprogram of multiple operation informations, and the test case includes at least one sub- use-case,
And the sub- use-case includes at least one assertion data, the method also includes:
The corresponding page info of the operation information is obtained, determines the corresponding assertion data of the page info;
Sub- use-case belonging to the assertion data is inquired, and records the corresponding sub- journey of the operation information in the test program
The corresponding relationship of sub- use-case belonging to sequence and the assertion data.
14. according to the method for claim 13, which is characterized in that
The corresponding assertion data of the determination page info, comprising:
Word segmentation processing is carried out to the page info, obtains participle data;
Obtain the similarity of the participle data and at least one assertion data;
According to it is described participle data and at least one assertion data similarity, from least one described assertion data determine and
The corresponding assertion data of the participle data.
15. a kind of page test device, which is characterized in that be applied to server, described device includes:
Determining module is tested for determining to need to treat test page using test case;
Module is obtained, for obtaining test program corresponding with the test case and the page to be tested and environmental information;
Test module, for being tested using the test program and the environmental information the page to be tested.
16. device according to claim 15, which is characterized in that the acquisition module is specifically used for passing through the test
Use-case and the page interrogation mapping relations to be tested obtain test corresponding with the test case and the page to be tested
Program and environmental information;Wherein, the mapping relations are for recording test case, the page to be tested, test program and environment letter
The corresponding relationship of breath.
17. device according to claim 15, which is characterized in that
The test module, specifically for constructing the running environment of the server according to the environmental information;In the operation
Under environment, the page to be tested is tested using the test program.
18. device according to claim 17, which is characterized in that
The test program includes multiple subprograms, and the test case includes at least one sub- use-case;
The test module is specifically used for when being tested using the test program the page to be tested: being obtained and is utilized son
Result is asserted when program tests the page to be tested;It is corresponding that the subprogram is parsed from the test program
Sub- use-case, and result is asserted described in record in the sub- use-case;
Wherein, the corresponding relationship of the test program package enclosed tool program and sub- use-case.
19. a kind of page test device, which is characterized in that be applied to server, described device includes:
Module is obtained, treats operation information when test page is tested for obtaining host computer test case;According to institute
It states operation information and generates test program, obtain environmental information locating for the server;
Logging modle, for recording the test case, the page, the test program and the institute to be tested in mapping relations
State the corresponding relationship of environmental information;
Wherein, the mapping relations are tested for treating test page.
20. device according to claim 19, which is characterized in that
The test program includes the corresponding subprogram of multiple operation informations, and the test case includes at least one sub- use-case,
The sub- use-case includes at least one assertion data;The acquisition module is also used to obtain the corresponding page of the operation information
Information determines the corresponding assertion data of the page info;The logging modle is also used to inquire belonging to the assertion data
Sub- use-case, and record son belonging to the corresponding subprogram of the operation information and the assertion data in the test program and use
The corresponding relationship of example.
21. a kind of server characterized by comprising processor needs to treat test page using test case for determination
It is tested;Obtain test program corresponding with the test case and the page to be tested and environmental information;Using obtaining
Test program and environmental information the page to be tested is tested.
22. a kind of server, which is characterized in that the server includes:
Processor treats operation information when test page is tested for obtaining host computer test case;According to described
Operation information generates test program, obtains environmental information locating for the server;The test is recorded in mapping relations to use
Example, the page to be tested, the test program and the environmental information corresponding relationship;Wherein, the mapping relations are used for
Test page is treated to be tested.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810301916.9A CN110347577B (en) | 2018-04-04 | 2018-04-04 | Page testing method, device and equipment thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810301916.9A CN110347577B (en) | 2018-04-04 | 2018-04-04 | Page testing method, device and equipment thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110347577A true CN110347577A (en) | 2019-10-18 |
CN110347577B CN110347577B (en) | 2024-04-09 |
Family
ID=68172844
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810301916.9A Active CN110347577B (en) | 2018-04-04 | 2018-04-04 | Page testing method, device and equipment thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110347577B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111708704A (en) * | 2020-06-19 | 2020-09-25 | 腾讯科技(深圳)有限公司 | Cloud real machine testing method and device, terminal and storage medium |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103309800A (en) * | 2012-03-15 | 2013-09-18 | 腾讯科技(深圳)有限公司 | Automatic webpage testing method and system |
CN103377127A (en) * | 2012-04-28 | 2013-10-30 | 阿里巴巴集团控股有限公司 | Development testing system, testing method and device for webpage product |
CN104123397A (en) * | 2014-08-15 | 2014-10-29 | 携程计算机技术(上海)有限公司 | Automatic test device and method for Web page |
CN104461855A (en) * | 2013-09-22 | 2015-03-25 | 腾讯科技(北京)有限公司 | Automatic Web testing method, system and device |
CN104699591A (en) * | 2013-12-06 | 2015-06-10 | 腾讯科技(深圳)有限公司 | Reappearing method and device of test scenes |
CN105933415A (en) * | 2016-04-21 | 2016-09-07 | 国家计算机网络与信息安全管理中心 | Virtual machine online screen record method in cloud computing environment based on VNC agent and virtual machine online screen record system thereof |
CN106547689A (en) * | 2016-10-20 | 2017-03-29 | 金航数码科技有限责任公司 | A kind of automatic test cases development system and method based on web |
CN106649092A (en) * | 2016-10-21 | 2017-05-10 | 郑州云海信息技术有限公司 | Test script generation method, web page testing method, device and system |
CN107256195A (en) * | 2017-06-08 | 2017-10-17 | 武汉斗鱼网络科技有限公司 | Webpage front-end method of testing and device |
CN107748717A (en) * | 2017-09-26 | 2018-03-02 | 深圳市牛鼎丰科技有限公司 | Automatic interface testing method, device, storage medium and computer equipment |
CN107766231A (en) * | 2016-08-22 | 2018-03-06 | 阿里巴巴集团控股有限公司 | A kind of automated testing method and device |
CN107861862A (en) * | 2017-06-27 | 2018-03-30 | 陆金所(上海)科技服务有限公司 | UI automated testing methods, device and computer-readable recording medium |
-
2018
- 2018-04-04 CN CN201810301916.9A patent/CN110347577B/en active Active
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103309800A (en) * | 2012-03-15 | 2013-09-18 | 腾讯科技(深圳)有限公司 | Automatic webpage testing method and system |
CN103377127A (en) * | 2012-04-28 | 2013-10-30 | 阿里巴巴集团控股有限公司 | Development testing system, testing method and device for webpage product |
CN104461855A (en) * | 2013-09-22 | 2015-03-25 | 腾讯科技(北京)有限公司 | Automatic Web testing method, system and device |
CN104699591A (en) * | 2013-12-06 | 2015-06-10 | 腾讯科技(深圳)有限公司 | Reappearing method and device of test scenes |
CN104123397A (en) * | 2014-08-15 | 2014-10-29 | 携程计算机技术(上海)有限公司 | Automatic test device and method for Web page |
CN105933415A (en) * | 2016-04-21 | 2016-09-07 | 国家计算机网络与信息安全管理中心 | Virtual machine online screen record method in cloud computing environment based on VNC agent and virtual machine online screen record system thereof |
CN107766231A (en) * | 2016-08-22 | 2018-03-06 | 阿里巴巴集团控股有限公司 | A kind of automated testing method and device |
CN106547689A (en) * | 2016-10-20 | 2017-03-29 | 金航数码科技有限责任公司 | A kind of automatic test cases development system and method based on web |
CN106649092A (en) * | 2016-10-21 | 2017-05-10 | 郑州云海信息技术有限公司 | Test script generation method, web page testing method, device and system |
CN107256195A (en) * | 2017-06-08 | 2017-10-17 | 武汉斗鱼网络科技有限公司 | Webpage front-end method of testing and device |
CN107861862A (en) * | 2017-06-27 | 2018-03-30 | 陆金所(上海)科技服务有限公司 | UI automated testing methods, device and computer-readable recording medium |
CN107748717A (en) * | 2017-09-26 | 2018-03-02 | 深圳市牛鼎丰科技有限公司 | Automatic interface testing method, device, storage medium and computer equipment |
Non-Patent Citations (2)
Title |
---|
周元哲: "《软件测试基础》", 西安:西安电子科技大学出版社, pages: 29 - 30 * |
邓迎秋 等: "基于Eggplant的Mac OS X平台上软件自动测试", 科学技术与工程, no. 09, 1 May 2007 (2007-05-01), pages 94 - 97 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111708704A (en) * | 2020-06-19 | 2020-09-25 | 腾讯科技(深圳)有限公司 | Cloud real machine testing method and device, terminal and storage medium |
CN111708704B (en) * | 2020-06-19 | 2024-05-17 | 腾讯科技(深圳)有限公司 | Cloud real machine testing method, device, terminal and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN110347577B (en) | 2024-04-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103098051B (en) | Search engine optmization assistant | |
US20120290509A1 (en) | Training Statistical Dialog Managers in Spoken Dialog Systems With Web Data | |
US20160103657A1 (en) | Metadata driven real-time analytics framework | |
US20120290293A1 (en) | Exploiting Query Click Logs for Domain Detection in Spoken Language Understanding | |
CN104391786B (en) | Webpage automatization test system and its method | |
CN110968695A (en) | Intelligent labeling method, device and platform based on active learning of weak supervision technology | |
WO2017165071A1 (en) | Visual regression analysis | |
CN105283866A (en) | Optimization analysis using similar frequencies | |
CN110990053A (en) | Method for creating and using machine learning scheme template and device | |
US11132209B2 (en) | Integrated profile simulation for dynamic content | |
US11455497B2 (en) | Information transition management platform | |
CN111045653B (en) | System generation method and device, computer readable medium and electronic equipment | |
CN109308254A (en) | A kind of test method, device and test equipment | |
WO2012158571A2 (en) | Training statistical dialog managers in spoken dialog systems with web data | |
CN107729246A (en) | For the auxiliary test methods of intended application, device, equipment and storage medium | |
CN112384909A (en) | Method and system for improving text-to-content suggestions using unsupervised learning | |
CN108932320A (en) | Article search method, apparatus and electronic equipment | |
CN109582906A (en) | Determination method, apparatus, equipment and the storage medium of data reliability | |
KR20140121832A (en) | Filtering redundant consumer transaction rules | |
CN107315833A (en) | Method and apparatus of the retrieval with downloading based on application program | |
CN115562656A (en) | Page generation method and device, storage medium and computer equipment | |
WO2023229737A1 (en) | Method and system of discovering templates for documents | |
WO2022245469A1 (en) | Rule-based machine learning classifier creation and tracking platform for feedback text analysis | |
CN116991711A (en) | Test case generation method and device, terminal equipment and storage medium | |
CN113342692B (en) | Automatic test case generation method and device, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |