CN104090844B - Webpage automated testing method and device - Google Patents

Webpage automated testing method and device Download PDF

Info

Publication number
CN104090844B
CN104090844B CN201410344548.8A CN201410344548A CN104090844B CN 104090844 B CN104090844 B CN 104090844B CN 201410344548 A CN201410344548 A CN 201410344548A CN 104090844 B CN104090844 B CN 104090844B
Authority
CN
China
Prior art keywords
node
webpage
path
test
case
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410344548.8A
Other languages
Chinese (zh)
Other versions
CN104090844A (en
Inventor
宋书青
赵辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201410344548.8A priority Critical patent/CN104090844B/en
Publication of CN104090844A publication Critical patent/CN104090844A/en
Application granted granted Critical
Publication of CN104090844B publication Critical patent/CN104090844B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the invention discloses a kind of webpage automated testing method and device.Methods described includes:Generation node structure figure corresponding with element can be put in webpage to be tested;According to the node structure figure, conventionally test use-case is generated, and webpage test is carried out based on the conventionally test use-case.Described device includes:Node structure figure generation unit, for generating node structure figure corresponding with element can be put in webpage to be tested;The webpage test cell of conventionally test use-case, for according to the node structure figure, generating conventionally test use-case, and webpage test is carried out based on the conventionally test use-case.When the present invention is solved using existing automatic test scheme, it is very many that user can put path, write automatic test cases, compare for programming automatic generation, the low-down technical problem of efficiency, existing webpage automatization testing technique is optimized, the automatic test demand of the growing personalization of people, facilitation is met.

Description

Webpage automated testing method and device
Technical field
The present embodiments relate to computer technology, more particularly to a kind of webpage automated testing method and device.
Background technology
With continuing to develop for Internet technology, people are more and more extensive to the demand of various network application softwares, accordingly , various different types of softwares are also increasingly developed and apply.Software developer in order to ensure software reliability, it is necessary to In detail and comprehensively software test is carried out to software before a software listing.Generally, the workload of software test is very big.But survey Many operations in examination are all repeated, non-intelligence and non-creativeness, and computer is just best suitable for replacing manually going to complete Such work, software automated testing technology is also arisen at the historic moment.Software automation technology is artificially to drive (artificial point Hit, slide screen or button etc. operation) behavioral test be converted into machine execution a kind of process, by perform test use Example, is automatically performed the test process to software.
Existing webpage automatization testing technique is mainly by hand carding path and writes automatic test cases Mode realizes the automatic test to Web page.For example, tested figure 1 illustrates a kind of hand carding Web page The schematic diagram in path, for the Web page in Fig. 1, (the artificial click for setting is suitable for the test path of the artificial combing of tester Sequence) be:Senior mhkc member 11,1 month 12, the popular payment 13, Industrial and Commercial Bank of China 14 and immediate payment 15.By above-mentioned survey Examination path, then automatic test cases are write, and then complete corresponding automatic test.
But, element can be put in current many Web pages a lot, and patrol rich in JS (Javascript, script) Volume, the typical page such as pays third party (Alipay, hundred pairs of treasured) page etc..During using existing automatic test scheme, It is very many that user can put path, writes automatic test cases, and for the programming automatic generation that compares, efficiency is very low.
The content of the invention
In view of this, the embodiment of the present invention provides a kind of webpage automated testing method and device, optimizes existing webpage Automatization testing technique, meets the growing personalization of people, facilitation automatic test demand.
In a first aspect, the embodiment of the invention provides a kind of webpage automated testing method, including:
Generation node structure figure corresponding with element can be put in webpage to be tested;
According to the node structure figure, conventionally test use-case is generated, and webpage survey is carried out based on the conventionally test use-case Examination.
In second aspect, a kind of webpage automatic test device is the embodiment of the invention provides, including:
Node structure figure generation unit, for generating node structure figure corresponding with element can be put in webpage to be tested;
The webpage test cell of conventionally test use-case, for according to the node structure figure, generating conventionally test use-case, and Webpage test is carried out based on the conventionally test use-case.
The embodiment of the present invention is by generating node structure figure corresponding with that can put element in webpage to be tested;According to the knot Point structure chart, generation conventionally test use-case, and the technological means of webpage test is carried out to the conventionally test use-case, solving makes During with existing automatic test scheme, it is very many that user can put path, writes automatic test cases, and the program that compares is automatic For generation, the low-down technical problem of efficiency optimizes existing webpage automatization testing technique, meets people growing Personalization, the automatic test demand of facilitation.
Brief description of the drawings
Fig. 1 is a kind of schematic diagram of hand carding Web page test path in the prior art;
Fig. 2 is a kind of flow chart of webpage automated testing method of first embodiment of the invention;
Fig. 3 a be first embodiment of the invention a kind of Web page in visualized elements schematic diagram;
Fig. 3 b are a kind of schematic diagrames of node structure figure of first embodiment of the invention;
Fig. 4 is a kind of flow chart of webpage automated testing method of second embodiment of the invention;
Fig. 5 is a kind of flow chart of webpage automated testing method of third embodiment of the invention;
Fig. 6 is a kind of flow chart of webpage automated testing method of fourth embodiment of the invention;
Fig. 7 is the conventional node path of determination first and the node knot in the second conventional node path of fourth embodiment of the invention Structure schematic diagram;
Fig. 8 is a kind of flow chart of webpage automated testing method of fifth embodiment of the invention;
Fig. 9 is a kind of flow chart of webpage automated testing method of sixth embodiment of the invention;
Figure 10 is a kind of structure chart of webpage automatic test device of seventh embodiment of the invention.
Specific embodiment
In order that the object, technical solutions and advantages of the present invention are clearer, below in conjunction with the accompanying drawings to specific reality of the invention Example is applied to be described in further detail.It is understood that specific embodiment described herein is used only for explaining the present invention, Rather than limitation of the invention.It also should be noted that, for the ease of description, be illustrate only in accompanying drawing related to the present invention Part rather than full content.
First embodiment
Fig. 2 is a kind of flow chart of webpage automated testing method of first embodiment of the invention, the method for the present embodiment Can be performed by webpage automatic test device, the device can be realized by way of hardware and/or software, typically can be integrated In in the server for completing webpage automatic test.The method of the present embodiment specifically includes following operation:
210th, node structure figure corresponding with element can be put in webpage to be tested is generated.
In the present embodiment, webpage testing service device generates node structure corresponding with that can put element in webpage to be tested Figure.
In the present embodiment, the element put in webpage to be tested is specifically included:In webpage to be tested can by click on, Touch or slide is come the webpage control that triggers, for example:Button control, slider control or input frame control etc.. A kind of schematic diagram of visualized elements in Web page is shown in Fig. 3 a.As shown in Figure 3 a, Web page includes 2 button controls The 3rd control that the second set of controls 32 and 7 button controls that 31,5 button controls of the first set of controls that part is constituted are constituted are constituted Group 33, and the 4th control 34.Wherein, the statement of follow-up node structure figure for convenience, have in Fig. 3 a one group of control not by Identify (" selection mode " that group control).
In the present embodiment, node structure figure respectively can point in specifically referring to be described using node line graph webpage to be tested The Node connectedness figure of logical relation between element (control).
The corresponding node structure schematic diagram of visualized elements is shown in the Web page in a kind of a with Fig. 3 in fig 3b. As shown in Figure 3 b, 0-15 node is included in node structure figure altogether, for representing 15 button controls in Fig. 3 a.Wherein, No. 0 Node is dummy node, without practical significance, is only used for representing a beginning node, No. 1 and No. 2 nodes and the first set of controls 31 Corresponding, No. 3-No. 7 nodes are corresponding with the second set of controls 32, and No. 8 to No. 14 nodes are corresponding with the 3rd set of controls 33, No. 15 Node is end node, corresponding with the 4th control 34, represents user and completes to treat the setting of each control in test webpage, is touched Hair performs corresponding webpage function (" immediate payment ").
Wherein, it is contemplated that during each control in Web page described in actual click of user, conventional click mode is: A control in the first set of controls 31, the control clicked on afterwards in the second set of controls 32 are first clicked on, is then clicked on A control in three set of controls 33, finally clicks on the 4th control 34.It is possible often according to user in structural knot structure chart No. 1-No. 15 controls sequentially, are divided into 4 corresponding floor by rule click.
Wherein, the line in node structure figure between each control, expresses reachable state between each control.Citing and Speech, as shown in Figure 3 a, when user click on " mhkc member " button after, can select afterwards click on " 1 month ", " 3 months ", " 6 Month ", " 12 months " or be input into any month, therefore, any node in No. 1 control node and No. 3-No. 7 control nodes it Between it is reachable, therefore, be respectively provided with line between No. 1 control node and No. 3-No. 7 control nodes.
In the present embodiment, webpage testing service device can be by automatically generating side of the node plus manual drawing line Formula, generates the Node connectedness figure, it is also possible to by manual selection, and the mode that machine is formed generates the Node connectedness figure, right This is not limited.
220th, according to the node structure figure, conventionally test use-case is generated, and net is carried out based on the conventionally test use-case Page test.
In the present embodiment, webpage testing service device generates conventionally test use-case, and be based on according to the node structure figure The conventionally test use-case carries out webpage test.
In the present embodiment, conventionally test use-case refers to that automatic test corresponding with the conventional clicking operation of user is used Example.
If as it was previously stated, user is during according to control, putting in order in Web page first clicks on the first set of controls 31 A control, the control clicked on afterwards in the second set of controls 32, one in the 3rd set of controls 33 control is then clicked on again Part, finally clicks on the 4th control 34 again, and as one user treats a clicking operation for routine of test webpage.It is corresponding , if user first clicks on a control in the first set of controls 31, the control clicked on afterwards in the second set of controls 32, Return to click on a control in the first set of controls 31 again afterwards, then click on a control in the 3rd set of controls 33, most Click on again afterwards and include in the 4th control 34, i.e. operating process backtracking (return) operation, now, aforesaid operations process is not then one Individual conventional clicking operation.
Obviously, if top-down according to node structure figure as shown in Figure 3 b, sequential selection node constitutes conventional node Path, and according to the conventional node path configuration test case, you can generation conventional survey corresponding with user's routine clicking operation Example on probation.For example:No. 0 node of sequential selection, No. 1 node, No. 4 nodes, No. 10 nodes and No. 15 nodes constitute node path 0- 1-4-10-15, can be with structuring user's operation according to the path:" mhkc member " is first clicked on, then " 3 months " is clicked on, so " Alipay " is clicked on afterwards, finally clicks on the test case of " immediate payment " to realize the automatic test to the webpage to be tested.
In the present embodiment, webpage testing service device can be closed according to the line of each node in the node structure figure System, the conventional node path of generation, it is possible to according to the node queue in conventional node path, knot is added based on default template Point operation code, and then automatically generate conventionally test use-case.
In the present embodiment, using the conventionally test use-case for generating, treat test webpage is carried out certainly webpage testing service device The webpage test of dynamicization.
The embodiment of the present invention is by generating node structure figure corresponding with that can put element in webpage to be tested;According to the knot Point structure chart, generation conventionally test use-case, and the technological means of webpage test is carried out to the conventionally test use-case, solving makes During with existing automatic test scheme, it is very many that user can put path, writes automatic test cases, and the program that compares is automatic For generation, the low-down technical problem of efficiency optimizes existing webpage automatization testing technique, meets people growing Personalization, the automatic test demand of facilitation.
Second embodiment
Fig. 4 is a kind of webpage automated testing method flow chart of second embodiment of the invention.The present embodiment is with above-mentioned reality Apply and optimize based on example, in the present embodiment, preferably will operation generation with can to put element in webpage to be tested corresponding Node structure figure is optimized for:According to the element put in the webpage to be tested, logical node is generated;According to the logical node Node attribute, hierarchal arrangement is carried out to the logical node;According to the incidence relation between the logical node, to hierarchal arrangement The logical node afterwards carries out line, generates node structure figure.
To preferably operate according to the node structure figure, generate conventionally test use-case, and use based on the conventionally test Example carries out webpage test optimization and is:According to the node structure figure, the conventional node path of generation, wherein, the conventional node road Footpath includes node queue corresponding with conventional clicking operation;According to the node queue in the conventional node path, based on pre- If template adds node operation code, conventionally test use-case is generated;Obtain the webpage test result of the conventionally test use-case.
Accordingly, the method for the present embodiment includes following operation:
410th, the element put in the webpage to be tested, generates logical node.
In the present embodiment, put element of the webpage testing service device in the webpage to be tested, generates logic knot Point.
URL that wherein, webpage testing service device can be first according to webpage to be tested (UniformResoureLocator, Same URLs) address, treat test webpage and preloaded, it is possible to treat the script language of test webpage as needed Speech carries out the operation such as cross-domain amendment or CSS (Cascading Style Sheets, Cascading Style Sheet) marks, to realize treating Test webpage carries out webpage representation;Then, according to each control that the page includes is represented, logical node is generated.
One of the present embodiment preferred embodiment in, the logical node of generation supports artificial correction, to improve life Into the reliability of result.
420th, according to the node attribute of the logical node, hierarchal arrangement is carried out to the logical node.
In the present embodiment, webpage testing service device is according to the node attribute of the logical node, to the logical node Carry out hierarchal arrangement.
As it was previously stated, order of the node structure figure according to the conventional click control of user, from top to lower leaf, arrangement, same It is corresponding that the node of layering clicks on the multiple similar controls of priority identical with user.
In the present embodiment, webpage testing service device can be belonged to by analyzing the control of each control in webpage to be tested Property, hierarchal arrangement is carried out to the logical node.
For example, in general, when control name is carried out, the control mark of the similar control of priority identical is clicked on It is the first identical.For example, the control for clicking on priority highest ground floor is named in the way of 11,12,13, preferential level is clicked on Second layer control named in the way of 21,22,23, therefore, webpage testing service device can according to above-mentioned control name advise Then, hierarchal arrangement is carried out to each logical node.
One of the present embodiment preferred embodiment in, the hierarchal arrangement result of generation supports artificial correction, to carry The reliability of height generation result.
430th, according to the incidence relation between the logical node, to hierarchal arrangement after the logical node carry out line, Generation node structure figure.
In the present embodiment, can by way of artificial line, to hierarchal arrangement after the logical node connect Line, generates node structure figure;It is the side of amendment line result that line descendant can also be automatically generated by webpage testing service device Formula generates node structure figure, and this is not limited.
440th, according to the node structure figure, the conventional node path of generation, wherein, the conventional node path include with The corresponding node queue of conventional clicking operation.
In the present embodiment, webpage testing service device is according to the node structure figure, generation routine node path.
Wherein, webpage testing service device is according to the line relation of each node in node structure figure, top-down order choosing The node of different layerings is selected, conventional node path is constituted.For example, as shown in Figure 3 b, 0-1-3-8-15 is with 0-1-4-10-15 According to the node structure figure, the conventional node path of generation.
Preferably, webpage testing service device carries out extreme saturation according to node structure figure, produces and meets all normal of requirement Rule node path.
450th, the node queue in the conventional node path, node operation code is added based on default template, raw Into conventionally test use-case.
In the present embodiment, node queue of the webpage testing service device in the conventional node path, based on default Template adds node operation code, generates conventionally test use-case.
Wherein, input interface is reserved with default template, when webpage testing service device by input interface to default template After middle input represents the node queue of node click order, default template can automatically add corresponding node operation code, generation Conventionally test use-case.
460th, the webpage test result of the conventionally test use-case is obtained.
In the present embodiment, using the conventionally test use-case for generating, treat test webpage is carried out certainly webpage testing service device The webpage test of dynamicization, and obtain the webpage test result of conventionally test use-case.
For example, if according to conventional node path 0-1-4-10-15, carrying out structuring user's operation is:First click on " patch Member ", then clicks on " 3 months ", then clicks on " Alipay ", and the test case for finally clicking on " immediate payment " is right to realize The automatic test of the webpage to be tested, after the completion of webpage test, in webpage test result corresponding with the conventionally test use-case Theoretical parameter be " mhkc member ", " 3 months " and " Alipay ".
The embodiment of the present invention is by generating node structure figure corresponding with that can put element in webpage to be tested;According to the knot Point structure chart, generation conventionally test use-case, and the technological means of webpage test is carried out to the conventionally test use-case, solving makes During with existing automatic test scheme, it is very many that user can put path, writes automatic test cases, and the program that compares is automatic For generation, the low-down technical problem of efficiency optimizes existing webpage automatization testing technique, meets people growing Personalization, the automatic test demand of facilitation.
3rd embodiment
Fig. 5 is a kind of flow chart of webpage automated testing method of third embodiment of the invention.The present embodiment is with above-mentioned Optimized based on embodiment, in the present embodiment, webpage is preferably being carried out based on the conventionally test use-case in operation After test, also include:Knot is tested to the webpage of other test cases using the webpage test result of the conventionally test use-case Fruit is verified.
Accordingly, the method for the present embodiment includes following operation:
510th, node structure figure corresponding with element can be put in webpage to be tested is generated.
520th, according to the node structure figure, conventionally test use-case is generated, and net is carried out based on the conventionally test use-case Page test.
530th, the webpage test result of other test cases is entered using the webpage test result of the conventionally test use-case Row checking.
In the present embodiment, webpage testing service device is surveyed using the webpage test result of the conventionally test use-case to other The webpage test result of example on probation is verified.
In general, web page server is after the webpage test result for obtaining each conventionally test use-case, it is thus necessary to determine that net Whether page test result meets expected design object:If the webpage test result of a conventionally test use-case meets expected setting Meter target, then node path corresponding with the conventionally test use-case is by checking;Otherwise, it determines corresponding with conventionally test use-case There is error code, it is necessary to carry out artificial misarrangement in node path.Prior art is needed when being verified to webpage test result Pre-set theoretical webpage test result corresponding with each conventionally test use-case, by by actual webpage test result with Theoretical webpage test result is compared, to realize verifying node path.This implementation takes time and effort, and efficiency is low Under.
In the present embodiment, webpage testing service device can according to 1 or multiple conventionally test use-case webpage test Result is verified come the webpage test result to other conventionally test use-cases, it is also possible to according to the webpage of conventionally test use-case Test result is carried out come the webpage test result to other unconventional test cases (for example, the test case including back tracking operation) Checking, does not limit this.
One of the present embodiment preferred embodiment in, using the webpage test result pair of the conventionally test use-case The webpage test result of other test cases carries out checking can be included:
The webpage test result of random test use-case is tested using the webpage test result of the conventionally test use-case Card, wherein, the corresponding random node path of the random test use-case includes click node corresponding with clicking operation is recalled Queue.
The present embodiment another preferred embodiment in, using the webpage test result of the conventionally test use-case Carrying out checking to the webpage test result of other test cases can include:
The corresponding conventional node path of conventionally test use-case is obtained as reference path;
The webpage test result of conventionally test use-case corresponding with the reference path is obtained, as benchmark results;
Acquisition has the path to be verified of predefined paths difference value with the reference path;
The webpage test result of conventionally test use-case corresponding with the path to be verified is obtained, is tied as test to be verified Really;
If parameter differences value of the test result to be verified with the benchmark results and the predetermined path Difference value is equal, determines the path to be verified by checking.
The embodiment of the present invention is by increasing the webpage test result using the conventionally test use-case to other test cases The operation verified of webpage test result, realize without calculating whole conventionally test use-cases, or unconventional test is used The webpage test result of example, only by the webpage test result according to part conventionally test use-case, you can cover remaining routine Test case, the webpage test result of unconventional test case, improves webpage automatic test efficiency in other words, reduces reality The proving time of the test result on border.
Fourth embodiment
Fig. 6 is a kind of flow chart of webpage automated testing method of fourth embodiment of the invention.The present embodiment is with above-mentioned Optimized based on embodiment, in the present embodiment, will preferably operate and tested using the webpage of the conventionally test use-case Result carries out checking and is optimized for the webpage test result of other test cases:Tested using the webpage of the conventionally test use-case Result verifies to the webpage test result of random test use-case, wherein, the corresponding random node of the random test use-case Path includes click node queue corresponding with backtracking clicking operation;
Preferred net of the webpage test result to the random test use-case that will operate with the conventionally test use-case Page test result carries out checking and is optimized for:The conventional node path that acquisition is consistent with the random node path, as reference Node path, and obtain the reference webpage test result of conventionally test use-case corresponding with the datum node path;If institute The webpage test result for stating random test use-case is consistent with the reference webpage test result, determines the random node path By checking;
It is preferred the webpage of random test use-case is surveyed in the webpage test result for operating with the conventionally test use-case Before test result is verified, also include:According to the node structure figure, the first conventional knot for meeting predetermined backtracking step-length is obtained Point path and the second conventional node path;According to the described first conventional node path and the second conventional node path, it is determined that Backtracking node, to realize that it is normal that the node in the described first conventional node path can reach described second by the backtracking node Node in rule node path, and ensure same with the backtracking same level of node in the described first conventional node path Whole nodes on layer node and the whole node phases on backtracking node described in the described second conventional node path Together;According to the described first conventional node, the described second conventional node path and the backtracking node, random node path is generated; According to the random node path, random test use-case is generated;Correspondingly, preferably operation is obtained and the random node road The conventional node path that footpath is consistent, as datum node, path optimization is:The described second conventional node path is obtained as institute State datum node path.
Accordingly, the method for the present embodiment includes following operation:
610th, node structure figure corresponding with element can be put in webpage to be tested is generated.
620th, according to the node structure figure, conventionally test use-case is generated, and net is carried out based on the conventionally test use-case Page test.
630th, according to the node structure figure, the first conventional node path for meeting predetermined backtracking step-length and second normal is obtained Rule node path.
In general, user except can according to the conventional mode clicked on to operate the various controls in webpage in addition to, also Very big possibility operates the various controls in webpage according to the mode of unconventional click.For example, user first clicks on " mhkc member ", then clicks on " 3 months ", then clicks on " Alipay ", then before clicking on " confirm pay ", user is again to " choosing Select duration " partly reselect, " 6 months " are clicked on again, finally just click on " confirming to pay ".That is, unconventional click Back tracking operation is included in operation, the operation of click is returned in other words, it is clear that the unconventional clicking operation of user is to predict , cannot be also completely covered by way of constructing test case, and often the non routine operation of user can cause that webpage is tested The middle many unpredictable results of appearance, therefore, the webpage test for the non routine operation of user is also very important.
In the present embodiment, webpage testing service device sets predetermined backtracking step-length first, according to the node structure figure, Obtain the first conventional node path and the second conventional node path for meeting predetermined backtracking step-length.The reason for so setting is to pass through Conventional node path constructs the unconventional node path including recalling node, or referred to as random node path.Wherein, recall Step-length represents the number of times of the backtracking clicking operation that a unconventional clicking operation of user includes, that is to say, that a random node The number of the backtracking node that path includes.
For example, webpage testing service device backtracking step-length set in advance is 1, that is to say, that the first of selection is conventional Node path can be by the conventional node path of the back tracking operation of step arrival second.
Figure 7 illustrates a kind of node structure signal for determining the first conventional node path and the second conventional node path Figure, as shown in fig. 7, routine node path 0-1-3-8-15 can reach routine by the once backtracking from node 8 to node 5 In the 0-1-5-11-15 of node path, conventional node path 0-1-3-8-15, can be with by the once backtracking from node 3 to node 2 In reaching conventional node path 0-2-6-12-15, therefore, when it is 1 to recall step-length, 0-1-3-8-15 can be selected as first Conventional node path, 0-1-5-11-15 is used as the second conventional node path;0-1-3-8-15 can also be selected conventional as first Node path, 0-2-6-12-15 as the second conventional node path,
Certainly, webpage testing service device can be traveled through or part traversal and predetermined backtracking step-length corresponding the as needed One conventional node path and the second conventional node path, do not limit this.
640th, according to the described first conventional node path and the second conventional node path, it is determined that backtracking node, with reality Node in existing described first conventional node path can be reached in the described second conventional node path by the backtracking node Node, and ensure to be located in the described first conventional node path with the same layer node of the backtracking same level of node on Whole nodes are identical with the whole nodes on backtracking node described in the described second conventional node path.
As described above, if selection 0-1-3-8-15 is used as the first conventional node path, 0-1-5-11-15 is normal as second Rule node path, can select node 5 as backtracking node, and the node in the described first conventional node path can be realized first Node in described second conventional node path can be reached by the backtracking node.In addition, as shown in fig. 7, first is conventional With the same layer node of the same level of node 5 it is node 3 in node path, the whole nodes on node 3 are 0-1, it is with second Whole node 0-1 in conventional node path on node 5 are identical.
Accordingly, if selection 0-1-3-8-15 is used as the first conventional node path, 0-2-6-12-15 is conventional as second Node path can select node 2 as backtracking node, can realize that the node in the described first conventional node path leads to first Cross the node recalled during node can reach the described second conventional node path.In addition, as shown in fig. 7, the first conventional knot With the same layer node of the same level of node 2 be node 1 in point path, the whole nodes on node 1 are 0, itself and it is second conventional Whole nodes 0 in node path on node 2 are identical.
It is, of course, understood that the backtracking knot determined according to the first conventional node path and the second conventional node path Point may be for 1 or multiple, and this is not limited.Can select to recall node in whole or in part in actual applications and carry out structure Make random node path.
650th, according to the described first conventional node, the described second conventional node path and the backtracking node, generation is random Node path.
As it appears from the above, can be using 0-1-3-8-5-11-15 as a random node path, it is also possible to by 0-1-3-2-6- 12-15 is used as a random node path.
660th, according to the random node path, random test use-case is generated.
In the present embodiment, webpage testing service device generates random test use-case according to the random node path.
Specifically, web page server can be added according to the node queue in the random node path based on default template Plus node operation code, generate random test use-case.
670th, the described second conventional node path is obtained as the datum node path, and is obtained and the datum node The reference webpage test result of the corresponding conventionally test use-case in path.
As described above, for the random node path of 0-1-3-8-5-11-15, the second conventional node path is:0-1-5- 11-15, it is clear that the webpage test result of the corresponding random test use-cases of 0-1-3-8-5-11-15 in theory should be with 0-1-5- The webpage test result of the corresponding conventionally test use-cases of 11-15 is identical, that is to say, that for random test use-case, as long as finding With the webpage test result of its webpage test result theory identical conventionally test use-case, without separately obtaining.I.e.:It is above-mentioned Random test use-case conventionally test use-case corresponding with the second routine node path is shared with portion webpage test result.
680th, judge the webpage test result of the random test use-case and the reference webpage test result whether phase one Cause:If so, performing 690;Otherwise, 6100 are performed.
690th, determine the random node path by checking.
6100th, determine that the node path is not verified.
The embodiment of the present invention can cause that the test case of construction can not only cover the conventional node path of user, moreover it is possible to Enough cover the random node path of user, increased the coverage of automatic test, reduce test by rear webpage still Right probability of problems;Meanwhile, by way of the node queue in node path automates generation test case, greatly It is big to reduce artificial input, greatly improve testing efficiency and test speed;In addition, the method for the embodiment of the present invention can be fitted Should be good in whole Web products, applicability, and complicated Web page, the effect of optimization of automatic test is more obvious.
5th embodiment
Fig. 8 is a kind of flow chart of webpage automated testing method of fifth embodiment of the invention.The present embodiment is with above-mentioned Optimized based on embodiment, in the present embodiment, preferably tested in the webpage for operating with the conventionally test use-case Before result is verified to the webpage test result of random test use-case, preferably include:According to the node structure figure, obtain One article of conventional node path as the 3rd conventional node path, wherein, the conventional node path includes:Root node, it is and normal Rule clicking operation is corresponding to click on node and caudal knot point;Obtain one and conventional clicking operation in the described 3rd conventional node path Corresponding node is used as destination node;Obtain the backtracking node of the destination node;Acquisition includes the 4th of the backtracking node Conventional node path;Using in the described 3rd conventional node path from the root node to the junction parts of the destination node and From the backtracking node to the junction parts of the caudal knot point in described 4th conventional node path, random node path is generated; According to the random node path, random test use-case is generated;Accordingly, preferably operation is obtained and the random node road The conventional node path that footpath is consistent, is specifically optimized for as datum node path:The described 4th conventional node path is obtained to make It is the datum node path.
Accordingly, the method for the present embodiment specifically includes following operation:
810th, node structure figure corresponding with element can be put in webpage to be tested is generated.
820th, according to the node structure figure, conventionally test use-case is generated, and net is carried out based on the conventionally test use-case Page test.
830th, according to the node structure figure, one article of conventional node path is obtained as the 3rd conventional node path, wherein, The conventional node path includes:Root node, it is corresponding with conventional clicking operation to click on node and caudal knot point.
In the present embodiment, webpage testing service device obtains a conventional node path and makees according to the node structure figure It is the 3rd conventional node path.
In the present embodiment, conventional node path is further subdivided into:Root node, click corresponding with conventional clicking operation Node and caudal knot point.
Wherein, root node is a dummy node, without practical significance, is only used for representing a beginning node;Caudal knot point generation Table user completes to treat the setting of each control in test webpage, and triggering performs the node of corresponding webpage function, itself and triggering The corresponding control of webpage function (for example, " immediate payment " button control shown in Fig. 3) is corresponding;It is corresponding with conventional clicking operation Click node represent:Remove outside root node and caudal knot point, node queue corresponding with user's routine clicking operation.
For example, if figure is for a conventional node path 0-1-3-8-15, No. 0 node is root node, No. 1 knot Point, No. 3 nodes, No. 8 nodes are click node corresponding with conventional clicking operation, and No. 15 nodes are caudal knot point.
840th, a node corresponding with conventional clicking operation is used as target knot in obtaining the described 3rd conventional node path Point.
If as described above, the 3rd conventional node path is:0-1-3-8-15, can select, No. 1 node, No. 3 nodes or No. 8 nodes of person are not limited this as destination node.
850th, the backtracking node of the destination node is obtained.
In the present embodiment, the backtracking node of destination node is on the layering where destination node, with destination node Visible sibling, in other words, after user clicks on control corresponding with destination node, can open up accordingly each other Can carry out recalling the node corresponding to all controls of clicking operation in the existing page, be all the sibling of destination node.
As it was previously stated, if No. 8 nodes of setting were used as destination node, No. 2 nodes, No. 4 nodes, No. 6 knots could be selected Point or No. 7 nodes are used as No. 8 backtracking nodes of node.
860th, obtaining includes the 4th conventional node path of the backtracking node.
In the present embodiment, webpage testing service device can select any one or more of including the backtracking node Conventional node path is used as the 4th conventional node path.
If as it was previously stated, No. 6 nodes of selection are used as backtracking node, 0-2-6-12-15 can be selected conventional as the 4th Node path etc..
870th, using in the described 3rd conventional node path from the root node to the junction parts of the destination node and From the backtracking node to the junction parts of the caudal knot point in described 4th conventional node path, random node path is generated.
As described above, the 3rd conventional node path is:0-1-3-8-15, destination node is No. 8 nodes, and backtracking node is 6 Number node, the 4th conventional node path is:0-2-6-12-15.
It is from the root node to the junction parts of the destination node in described 3rd conventional node path:0-1-3-8; It is from backtracking node to the junction parts of the caudal knot point in described 4th conventional node path:6-12-15, therefore, it is raw Into random node path be:0-1-3-8-6-12-15.
880th, according to the random node path, random test use-case is generated
890th, the described 4th conventional node path is obtained as the datum node path, and is obtained and the datum node The reference webpage test result of the corresponding conventionally test use-case in path.
8100th, judge the webpage test result of the random test use-case and the reference webpage test result whether phase one Cause:If so, performing 8110;Otherwise, 8120 are performed.
8110th, determine the random node path by checking.
8120th, determine that the node path is not verified.
The embodiment of the present invention can cause that the test case of construction can not only cover the conventional node path of user, moreover it is possible to Enough cover the random node path of user, increased the coverage of automatic test, reduce test by rear webpage still Right probability of problems;Meanwhile, by way of the node queue in node path automates generation test case, greatly It is big to reduce artificial input, greatly improve testing efficiency and test speed;In addition, the method for the embodiment of the present invention can be fitted Should be good in whole Web products, applicability, and complicated Web page, the effect of optimization of automatic test is more obvious.
Sixth embodiment
Fig. 9 is a kind of flow chart of webpage automated testing method of fifth embodiment of the invention.The present embodiment is with above-mentioned Optimized based on embodiment, in the present embodiment, will preferably operate and tested using the webpage of the conventionally test use-case Result carries out checking and is optimized for the webpage test result of other test cases:Obtain the corresponding conventional node of conventionally test use-case Path is used as reference path;The webpage test result of conventionally test use-case corresponding with the reference path is obtained, as benchmark Test result;Acquisition has the path to be verified of predefined paths difference value with the reference path;Obtain and the road to be verified The webpage test result of the corresponding conventionally test use-case in footpath, as test result to be verified;If the test result to be verified Parameter differences value with the benchmark results is equal with the predetermined path difference value, determines that the path to be verified leads to Cross checking.
Accordingly, the method for the present embodiment specifically includes following operation:
910th, node structure figure corresponding with element can be put in webpage to be tested is generated.
920th, according to the node structure figure, conventionally test use-case is generated, and net is carried out based on the conventionally test use-case Page test.
930th, the corresponding conventional node path of conventionally test use-case is obtained as reference path.
In the present embodiment, webpage testing service device obtains conventional node path corresponding with conventionally test use-case as base Quasi- path.
Wherein, webpage testing service device can select random according to actual needs or according to predetermined criteria one or A plurality of conventional node path is used as reference path.
940th, the webpage test result of conventionally test use-case corresponding with the reference path is obtained, as benchmark test knot Really.
In the present embodiment, webpage testing service device can directly assume that conventionally test corresponding with the reference path is used The webpage test result of example meets expection, and directly using above-mentioned webpage test result as benchmark results;Can also be first Verify whether above-mentioned webpage test result is consistent with preferable expected results, if meeting, above-mentioned webpage test result is made On the basis of test result.
950th, the path to be verified with the reference path with predefined paths difference value is obtained.
In the present embodiment, webpage testing service device is obtained has the to be tested of predefined paths difference value with the reference path Card path.
Wherein, path difference value specifically refers to the node difference value between two conventional node paths.
For example, for path 0-1-3-8-15 and path 0-1-4-9-15, have two between this two paths Individual node correspondence position (3 and 4,8 and 9) variant, therefore, the path difference value of this two paths is 2.
960th, the webpage test result of conventionally test use-case corresponding with the path to be verified is obtained, as survey to be verified Test result.
970 judge whether the test result to be verified is predetermined with described with the parameter differences value of the benchmark results Path difference value it is equal:If so, performing 980;Otherwise, 990 are performed.
It is understood that two path difference values in conventional node path, be with final webpage test result Parameter differences value is corresponding.
For example, user is when conventional clicking operation is carried out, two different conventional clicking operations only have selection " 6 months " With the difference of selection " 12 months ", then the path difference value in conventional node path corresponding with the two conventional clicking operations is 1, And after finally carrying out webpage test according to the conventionally test use-case of the two conventional node coordinates measurements, in theory, both Parameter differences value is also 1, and one is " 6 months ", and another is " 12 months ".
980th, determine the path to be verified by checking.
990th, determine that the path to be verified is not verified.
The embodiment of the present invention when reality is verified to the webpage test result of each conventionally test use-case, without first The corresponding theoretical webpage test result of the whole conventionally test use-cases of setting, it is only necessary to by this mutual method with reference to checking, To realize verifying the webpage test result of whole conventionally test use-cases, so set and improve webpage automatic test effect Rate, reduces the proving time of actual test result.
7th embodiment
Figure 10 illustrates a kind of structure chart of webpage automatic test device of seventh embodiment of the invention.Such as Figure 10 Shown, described device includes:
Node structure figure generation unit 101, for generating node structure figure corresponding with element can be put in webpage to be tested.
The webpage test cell 102 of conventionally test use-case, for according to the node structure figure, generation conventionally test to be used Example, and webpage test is carried out based on the conventionally test use-case.
The embodiment of the present invention is by generating node structure figure corresponding with that can put element in webpage to be tested;According to the knot Point structure chart, generation conventionally test use-case, and the technological means of webpage test is carried out to the conventionally test use-case, solving makes During with existing automatic test scheme, it is very many that user can put path, writes automatic test cases, and the program that compares is automatic For generation, the low-down technical problem of efficiency optimizes existing webpage automatization testing technique, meets people growing Personalization, the automatic test demand of facilitation.
On the basis of the various embodiments described above, the webpage test cell specifically can be used for:
According to the node structure figure, the conventional node path of generation, wherein, the conventional node path includes and routine The corresponding node queue of clicking operation;According to the node queue in the conventional node path, node is added based on default template Operation code, generates conventionally test use-case;Calculate the webpage test result of the conventionally test use-case.
On the basis of the various embodiments described above, can also include:The webpage test cell of other test cases, in base After the conventionally test use-case carries out webpage test, other are surveyed using the webpage test result of the conventionally test use-case The webpage test result of example on probation is verified.
On the basis of the various embodiments described above, the webpage test cell of other test cases specifically can be used for:
The webpage test result of random test use-case is tested using the webpage test result of the conventionally test use-case Card, wherein, the corresponding random node path of the random test use-case includes click node corresponding with clicking operation is recalled Queue.
On the basis of the various embodiments described above, the webpage test cell of other test cases can specifically include:
Subelement is obtained with reference to webpage test result, for obtaining the conventional node being consistent with the random node path Path, as datum node path, and obtains the reference webpage survey of conventionally test use-case corresponding with the datum node path Test result;Random node path validation subelement, if for the webpage test result and the ginseng of the random test use-case Examine webpage test result consistent, determine the random node path by checking.
On the basis of the various embodiments described above, can also include:
Random test use-case generates subelement:For using the webpage test result of the conventionally test use-case to random Before the webpage test result of test case is verified, according to the node structure figure, obtain a conventional node path and make It is the 3rd conventional node path, wherein, the conventional node path includes:Root node, point corresponding with conventional clicking operation Hit node and caudal knot point;A node corresponding with conventional clicking operation is used as target in obtaining the described 3rd conventional node path Node;Obtain the backtracking node of the destination node;Acquisition includes the 4th conventional node path of the backtracking node;Using institute State in the 3rd conventional node path from the root node to the junction parts of the destination node and the 4th conventional node road In footpath random node path is generated from the backtracking node to the junction parts of the caudal knot point;According to the random node road Footpath, generates random test use-case;
Correspondingly, the reference webpage test result obtain subelement specifically for:Obtain the described 4th conventional node road Footpath is used as the datum node path.
The webpage automatic test device that the embodiment of the present invention is provided can be used to perform any embodiment offer of the present invention Webpage automated testing method, possess corresponding functional module, realize identical beneficial effect.
Obviously, it will be understood by those skilled in the art that above-mentioned of the invention each module or each step can be by as above Described server implementation.Alternatively, the program that the embodiment of the present invention can be can perform with computer installation be realized, so that can To be stored in being performed by processor in storage device, described program can be stored in a kind of computer-readable storage In medium, storage medium mentioned above can be read-only storage, disk or CD etc.;Or be fabricated to them respectively each Individual integrated circuit modules, or the multiple modules or step in them are fabricated to single integrated circuit module to realize.So, The present invention is not restricted to the combination of any specific hardware and software.
The preferred embodiments of the present invention are the foregoing is only, is not intended to limit the invention, for those skilled in the art For, the present invention can have various changes and change.It is all any modifications made within spirit and principles of the present invention, equivalent Replace, improve etc., should be included within the scope of the present invention.

Claims (9)

1. a kind of webpage automated testing method, it is characterised in that including:
Generation node structure figure corresponding with element can be put in webpage to be tested;
According to the node structure figure, conventionally test use-case is generated, and webpage test is carried out based on the conventionally test use-case;
The webpage test result of other test cases is verified using the webpage test result of the conventionally test use-case;
Checking bag is carried out to the webpage test result of other test cases using the webpage test result of the conventionally test use-case Include:
The webpage test result of random test use-case is verified using the webpage test result of the conventionally test use-case, its In, the corresponding random node path of the random test use-case includes corresponding with backtracking clicking operation clicking on node queue;
The webpage test result of the random test use-case is tested using the webpage test result of the conventionally test use-case Card includes:
The conventional node path that is consistent with the random node path of acquisition, as datum node path, and obtain with it is described The reference webpage test result of the corresponding conventionally test use-case in datum node path;
If the webpage test result of the random test use-case is consistent with the reference webpage test result, it is determined that it is described with Machine node path is by checking.
2. method according to claim 1, it is characterised in that according to the node structure figure, generates conventionally test use-case, And based on the conventionally test use-case carry out webpage test include:
According to the node structure figure, the conventional node path of generation, wherein, the conventional node path includes and conventional click Operate corresponding node queue;
According to the node queue in the conventional node path, node operation code is added based on default template, generation is conventional to survey Example on probation;
Obtain the webpage test result of the conventionally test use-case.
3. method according to claim 1, it is characterised in that use the webpage test result pair of the conventionally test use-case Before the webpage test result of random test use-case is verified, also include:
According to the node structure figure, the first conventional node path and the second conventional node road for meeting predetermined backtracking step-length are obtained Footpath;
According to the described first conventional node path and the second conventional node path, it is determined that backtracking node, to realize described the Node in one conventional node path can reach the node in the described second conventional node path by the backtracking node, and Ensure to be located in the described first conventional node path with the same layer node of the backtracking same level of node on whole nodes It is identical with the whole nodes on backtracking node described in the described second conventional node path;
According to the described first conventional node, the described second conventional node path and the backtracking node, random node path is generated;
According to the random node path, random test use-case is generated;
Correspondingly, the conventional node path being consistent with the random node path is obtained, is included as datum node path:
The described second conventional node path is obtained as the datum node path.
4. method according to claim 1, it is characterised in that use the webpage test result pair of the conventionally test use-case Before the webpage test result of random test use-case is verified, also include:
According to the node structure figure, one article of conventional node path is obtained as the 3rd conventional node path, wherein, the routine Node path includes:Root node, it is corresponding with conventional clicking operation to click on node and caudal knot point;
A node corresponding with conventional clicking operation is used as destination node in obtaining the described 3rd conventional node path;
Obtain the backtracking node of the destination node;
Acquisition includes the 4th conventional node path of the backtracking node;
Using in the described 3rd conventional node path from the root node to the junction parts of the destination node and the described 4th In conventional node path random node path is generated from the backtracking node to the junction parts of the caudal knot point;
According to the random node path, random test use-case is generated;
Accordingly, the conventional node path being consistent with the random node path is obtained, is specifically wrapped as datum node path Include:
The described 4th conventional node path is obtained as the datum node path.
5. method according to claim 1, it is characterised in that using the webpage test result pair of the conventionally test use-case The webpage test result of other test cases is verified also include:
The corresponding conventional node path of conventionally test use-case is obtained as reference path;
The webpage test result of conventionally test use-case corresponding with the reference path is obtained, as benchmark results;
Acquisition has the path to be verified of predefined paths difference value with the reference path;
The webpage test result of conventionally test use-case corresponding with the path to be verified is obtained, as test result to be verified;
If the parameter differences value and the predetermined path difference of the test result to be verified and the benchmark results Value is equal, determines the path to be verified by checking.
6. method according to claim 1, it is characterised in that generation node corresponding with element can be put in webpage to be tested Structure chart includes:
According to the element put in the webpage to be tested, logical node is generated;
According to the node attribute of the logical node, hierarchal arrangement is carried out to the logical node;
According to the incidence relation between the logical node, to hierarchal arrangement after the logical node carry out line, generate node Structure chart.
7. a kind of webpage automatic test device, it is characterised in that including:
Node structure figure generation unit, for generating node structure figure corresponding with element can be put in webpage to be tested;
The webpage test cell of conventionally test use-case, for according to the node structure figure, generating conventionally test use-case, and be based on The conventionally test use-case carries out webpage test;
Also include:The webpage test cell of other test cases, for carrying out webpage test based on the conventionally test use-case Afterwards, the webpage test result of other test cases is verified using the webpage test result of the conventionally test use-case;
The webpage test cell of other test cases specifically for:
The webpage test result of random test use-case is verified using the webpage test result of the conventionally test use-case, its In, the corresponding random node path of the random test use-case includes corresponding with backtracking clicking operation clicking on node queue;
The webpage test cell of other test cases is specifically included:
Subelement is obtained with reference to webpage test result, for obtaining the conventional node road being consistent with the random node path Footpath, as datum node path, and obtains the reference webpage test of conventionally test use-case corresponding with the datum node path As a result;
Random node path validation subelement, if for the webpage test result and the reference net of the random test use-case Page test result is consistent, determines the random node path by checking.
8. device according to claim 7, it is characterised in that the webpage test cell specifically for:
According to the node structure figure, the conventional node path of generation, wherein, the conventional node path includes and conventional click Operate corresponding node queue;
According to the node queue in the conventional node path, node operation code is added based on default template, generation is conventional to survey Example on probation;
Calculate the webpage test result of the conventionally test use-case.
9. device according to claim 7, it is characterised in that also include:
Random test use-case generates subelement:For using the webpage test result of the conventionally test use-case to random test Before the webpage test result of use-case is verified, according to the node structure figure, one article of conventional node path is obtained as the Three conventional node paths, wherein, the conventional node path includes:Root node, it is corresponding with conventional clicking operation to click on knot Point and caudal knot point;
A node corresponding with conventional clicking operation is used as destination node in obtaining the described 3rd conventional node path;
Obtain the backtracking node of the destination node;
Acquisition includes the 4th conventional node path of the backtracking node;
Using in the described 3rd conventional node path from the root node to the junction parts of the destination node and the described 4th In conventional node path random node path is generated from the backtracking node to the junction parts of the caudal knot point;
According to the random node path, random test use-case is generated;
Correspondingly, the reference webpage test result obtain subelement specifically for:
The described 4th conventional node path is obtained as the datum node path.
CN201410344548.8A 2014-07-18 2014-07-18 Webpage automated testing method and device Active CN104090844B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410344548.8A CN104090844B (en) 2014-07-18 2014-07-18 Webpage automated testing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410344548.8A CN104090844B (en) 2014-07-18 2014-07-18 Webpage automated testing method and device

Publications (2)

Publication Number Publication Date
CN104090844A CN104090844A (en) 2014-10-08
CN104090844B true CN104090844B (en) 2017-06-06

Family

ID=51638562

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410344548.8A Active CN104090844B (en) 2014-07-18 2014-07-18 Webpage automated testing method and device

Country Status (1)

Country Link
CN (1) CN104090844B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104461901A (en) * 2014-12-23 2015-03-25 浪潮(北京)电子信息产业有限公司 Method and system for automatically generating test case
CN106294107A (en) * 2015-05-27 2017-01-04 富士通株式会社 The method and apparatus generating the test case of Webpage
CN106095674B (en) * 2016-06-07 2019-05-24 百度在线网络技术(北京)有限公司 A kind of website automation test method and device
CN110300312A (en) * 2018-03-23 2019-10-01 武汉斗鱼网络科技有限公司 It is a kind of for providing the method, apparatus and computer equipment of identity privilege
CN112506766B (en) * 2020-12-02 2023-06-20 华南理工大学 Automatic generation method of interactive test case

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2026212A2 (en) * 2007-04-05 2009-02-18 Accenture Global Services GmbH Automatic test generation for reference testing
CN102053912A (en) * 2011-01-06 2011-05-11 中国工商银行股份有限公司 Device and method for automatically testing software based on UML (unified modeling language) graphs
CN102929775A (en) * 2012-10-23 2013-02-13 中标软件有限公司 Web application system test method
CN103853649A (en) * 2012-11-28 2014-06-11 百度在线网络技术(北京)有限公司 Application program testing method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2026212A2 (en) * 2007-04-05 2009-02-18 Accenture Global Services GmbH Automatic test generation for reference testing
CN102053912A (en) * 2011-01-06 2011-05-11 中国工商银行股份有限公司 Device and method for automatically testing software based on UML (unified modeling language) graphs
CN102929775A (en) * 2012-10-23 2013-02-13 中标软件有限公司 Web application system test method
CN103853649A (en) * 2012-11-28 2014-06-11 百度在线网络技术(北京)有限公司 Application program testing method and system

Also Published As

Publication number Publication date
CN104090844A (en) 2014-10-08

Similar Documents

Publication Publication Date Title
CN104090844B (en) Webpage automated testing method and device
Geng et al. Improving web navigation usability by comparing actual and anticipated usage
CN106294120A (en) The test method of code, equipment and computer program
CN104866585B (en) A kind of experiment test flight data total system
Messina et al. Complex systems models and the management of error and uncertainty
Khoueiry et al. An optimization-based model for maximizing the benefits of fast-track construction activities
Moreira et al. A GUI modeling DSL for pattern-based GUI testing PARADIGM
CN110059003B (en) Automatic test method, device, electronic equipment and readable storage medium
Hourani et al. A code complexity model of object oriented programming (OOP)
Farooq et al. Towards automated test sequence generation
Kaya et al. E-Cosmic: A business process model based functional size estimation approach
Bennett et al. A modelling framework and R-package for evaluating system performance under hydroclimate variability and change
Agarwal et al. Code coverage using intelligent water drop (IWD)
Loreau et al. Not even wrong: Comment by Loreau and Hector
Bezerra et al. Dymmer 2.0: A tool for dynamic modeling and evaluation of feature model
Bhatti Automatic measurement of source code complexity
Djanatliev et al. Veritas-a versatile modeling environment for test-driven agile simulation
CN106936605B (en) A kind of method and apparatus creating test assignment
Van Deursen Beyond Page Objects: Testing Web Applications with State Objects: Use states to drive your tests
Alshahwan et al. Crawlability metrics for web applications
Moussa et al. Decision tree modeling using integrated multilevel stochastic networks
CN107608838A (en) A kind of storage device method of testing, system, equipment and computer-readable storage medium
Rovere et al. Practical points for the software development of an agent-based model of a coupled human-natural system
Sinnig et al. Consistency between task models and use cases
Hennicker et al. A generic framework for multi-disciplinary environmental modelling

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant