CN110413518A - The generation method and generating means and computer readable storage medium of control object library - Google Patents
The generation method and generating means and computer readable storage medium of control object library Download PDFInfo
- Publication number
- CN110413518A CN110413518A CN201910648091.2A CN201910648091A CN110413518A CN 110413518 A CN110413518 A CN 110413518A CN 201910648091 A CN201910648091 A CN 201910648091A CN 110413518 A CN110413518 A CN 110413518A
- Authority
- CN
- China
- Prior art keywords
- control
- node
- control object
- object library
- library
- 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 42
- 238000003860 storage Methods 0.000 title claims abstract description 21
- 238000012360 testing method Methods 0.000 claims abstract description 38
- 238000001514 detection method Methods 0.000 claims abstract description 6
- 230000006870 function Effects 0.000 claims description 13
- 238000012956 testing procedure Methods 0.000 description 12
- 230000008569 process Effects 0.000 description 5
- 238000004891 communication Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 238000012423 maintenance Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000013507 mapping Methods 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 238000012550 audit Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000014759 maintenance of location Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000004904 shortening Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/362—Software debugging
- G06F11/3644—Software debugging by instrumenting at runtime
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)
- Tests Of Electronic Circuits (AREA)
Abstract
The invention discloses a kind of generation method of control object library, the generation method of the control object library is the following steps are included: obtain interface to be tested;The interface to be tested is parsed, to obtain the control in the interface to be tested;Multiple control objects are generated according to each control, and control object library is generated according to each control object, are tested with when to the interface detection to be tested, calling the control object in the control object library to generate test case.The invention also discloses a kind of generating means of control object library and computer readable storage mediums.The present invention improves the efficiency of UI test.
Description
Technical field
The present invention relates to the generation method and generating means of UI the field of test technology more particularly to a kind of control object library and
Computer readable storage medium.
Background technique
In UI (User Interface, user interface) automatic test of crucial word drive, usually by test case
Be divided into multiple testing procedures, the test object in testing procedure, test object execution movement and test object needed for data.
Automatic test personnel generate testing procedure by control object and data, and writing generation one by multiple testing procedures can be performed
Automatic test script, and pass through automation tools execute.In this process, the identification and maintenance of control object are to influence
The key factor of entire automatic test activity execution efficiency.
Currently, tester needs to be manually entered control object to generate testing procedure, so that the efficiency of UI test is lower.
Summary of the invention
The main purpose of the present invention is to provide a kind of generation methods of control object library and generating means and computer can
Read storage medium, it is intended to solve the problems, such as that the efficiency of UI test is lower.
To achieve the above object, the present invention provides a kind of generation method of control object library, the life of the control object library
At method the following steps are included:
Obtain interface to be tested;
The interface to be tested is parsed, to obtain the control in the interface to be tested;
Multiple control objects are generated according to each control, and control object is generated according to each control object
Library, when to the interface detection to be tested, to call the control object in the control object library to generate test case
It is tested.
In one embodiment, described the step of generating multiple control objects according to each control, includes:
The parsing sequence of the control is determined, to be sequentially generated tree structure according to the parsing of each control;
Determine the corresponding control information of the control, and by the node control corresponding with the node in the tree structure
The control information of part is associated with, to generate control object.
In one embodiment, the control information of the node by tree structure control corresponding with the node
Association, to generate control object the step of include:
Preset control is determined in the corresponding control of each node in the tree structure, wherein the preset control
For the control that control or preset kind can be used;
Determine the corresponding control information of the preset control, and the preset control and the preset control is corresponding
Control information associated storage, to generate the corresponding control object of each preset control.
In one embodiment, preset control is determined in the corresponding control of each node in the tree structure
Step includes:
It determines the corresponding page elements of the control, and determines the attribute of the page elements;
Determine that the corresponding control of the page elements is preset control according to the attribute of the page elements.
In one embodiment, the control information includes control type, the corresponding control information of the determination control
The step of include:
Determine the page elements of the control and the attribute of the page elements;
The control type of the control is determined according to the attribute.
In one embodiment, the control information includes Business Name, the corresponding control information of the determination control
The step of include:
Determine the corresponding Effective Numerical of the control;
Business function content is determined according to the Effective Numerical, and according to the business function content and the control class
Type determines the Business Name of the preset control.
In one embodiment, the control information includes location information, the corresponding control information of the determination control
The step of include:
Determine the control corresponding node in the tree structure;
Using the determining node as start node, the tree structure is traversed to obtain according to the first default traversal mode
The corresponding location information of the control.
In one embodiment, the control information includes hierarchical structure, the corresponding control information of the determination control
The step of include:
Determine the control corresponding node in the tree structure;
Using the determining node as start node, the tree structure is traversed with determination according to the second default traversal mode
The corresponding node path of each control;
It is that each control establishes corresponding child node list object according to the node path, to generate level knot
Structure.
To achieve the above object, the present invention also provides a kind of generating means of control object library, the lifes of the test case
Include processor, memory at device and is stored in the control object library that can be run on the memory and on the processor
Generation program, the generation program of the control object library realizes control object library as described above when being executed by the processor
Generation method the step of.
To achieve the above object, the present invention also provides a kind of computer readable storage medium, the computer-readable storages
It is stored with the generation program of control object library on medium, is realized such as when the generation program of the control object library is executed by processor
The step of generation method of the upper control object library.
The generation method and generating means and computer readable storage medium of control object library provided by the invention, control pair
It as the generating means acquisition interface to be tested in library, and parses interface to be measured and obtains the control in interface to be tested, further according to each
Control generates multiple control objects, so that control object library is generated according to each control object, to treat test interface progress
It calls the control object in control object library to generate test case when test to be tested;Due to the generating means of control object library
Control object library can be automatically generated according to control each in interface to be tested, without tester's manual configuration control object and recorded
Enter control object, shorten the generation time of control object library, improves the efficiency of UI test.
Detailed description of the invention
Fig. 1 be the present embodiments relate to control object library generating means hardware architecture schematic diagram;
Fig. 2 is the flow diagram of one embodiment of generation method of control object library of the present invention;
Fig. 3 is the flow diagram of another embodiment of generation method of control object library of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The primary solutions of the embodiment of the present invention are: obtaining interface to be tested;The interface to be tested is parsed, to obtain
Control in the interface to be tested;Multiple control objects are generated according to each control, and according to each control pair
As generating control object library, when to the interface detection to be tested, to call the control pair in the control object library
It is tested as generating test case.
Since the generating means of control object library can automatically generate control object library according to control each in interface to be tested,
Without tester's manual configuration control object and typing control object, the generation time of control object library is shortened, is improved
The efficiency of UI test.
As a kind of implementation, the generating means of control object library can be as shown in Figure 1.
What is involved is the generating means of control object library, the generating means packets of control object library for the embodiment of the present invention
It includes: processor 101, such as CPU, memory 102, communication bus 103.Wherein, communication bus 103 for realizing these components it
Between connection communication.
Memory 102 can be high speed RAM memory, be also possible to stable memory (non-
), such as magnetic disk storage volatilememory.As shown in Figure 1, as in a kind of memory 103 of computer storage medium
It may include the generation program of control object library;And processor 101 can be used for calling the control object stored in memory 102
The generation program in library, and execute following operation:
Obtain interface to be tested;
The interface to be tested is parsed, to obtain the control in the interface to be tested;
Multiple control objects are generated according to each control, and control object is generated according to each control object
Library, when to the interface detection to be tested, to call the control object in the control object library to generate test case
It is tested.
In one embodiment, processor 101 can be used for calling the generation journey of the control object library stored in memory 102
Sequence, and execute following operation:
The parsing sequence of the control is determined, to be sequentially generated tree structure according to the parsing of each control;
Determine the corresponding control information of the control, and by the node control corresponding with the node in the tree structure
The control information of part is associated with, to generate control object.
In one embodiment, processor 101 can be used for calling the generation journey of the control object library stored in memory 102
Sequence, and execute following operation:
Preset control is determined in the corresponding control of each node in the tree structure, wherein the preset control
For the control that control or preset kind can be used;
Determine the corresponding control information of the preset control, and the preset control and the preset control is corresponding
Control information associated storage, to generate the corresponding control object of each preset control.
In one embodiment, processor 101 can be used for calling the generation journey of the control object library stored in memory 102
Sequence, and execute following operation:
It determines the corresponding page elements of the control, and determines the attribute of the page elements;
Determine that the corresponding control of the page elements is preset control according to the attribute of the page elements.
In one embodiment, processor 101 can be used for calling the generation journey of the control object library stored in memory 102
Sequence, and execute following operation:
Determine the page elements of the control and the attribute of the page elements;
The control type of the control is determined according to the attribute.
In one embodiment, processor 101 can be used for calling the generation journey of the control object library stored in memory 102
Sequence, and execute following operation:
Determine the corresponding Effective Numerical of the control;
Business function content is determined according to the Effective Numerical, and according to the business function content and the control class
Type determines the Business Name of the preset control.
In one embodiment, processor 101 can be used for calling the generation journey of the control object library stored in memory 102
Sequence, and execute following operation:
Determine the control corresponding node in the tree structure;
Using the determining node as start node, the tree structure is traversed to obtain according to the first default traversal mode
The corresponding location information of the control.
In one embodiment, processor 101 can be used for calling the generation journey of the control object library stored in memory 102
Sequence, and execute following operation:
Determine the control corresponding node in the tree structure;
Using the determining node as start node, the tree structure is traversed with determination according to the second default traversal mode
The corresponding node path of each control;
It is that each control establishes corresponding child node list object according to the node path, to generate level knot
Structure.
For the present embodiment according to above scheme, the generating means of control object library obtain interface to be tested, and parse boundary to be measured
Face obtains the control in interface to be tested, multiple control objects is generated further according to each control, thus according to each control object
Control object library is generated, is used with calling the control object in control object library to generate test when treating test interface and being tested
Example is tested;Since the generating means of control object library can automatically generate control object according to control each in interface to be tested
Library shortens the generation time of control object library without tester's manual configuration control object and typing control object, improves
The efficiency of UI test.
The hardware architecture of generating means based on above-mentioned control object library proposes the generation method of control object library of the present invention
Embodiment.
It is an embodiment of the generation method of control object library of the present invention, the life of the control object library referring to Fig. 2, Fig. 2
At method the following steps are included:
Step S10 obtains interface to be tested;
In the present embodiment, executing subject is the generating means of control object library, for ease of description, below with device generation
Refer to the generating means of control object library.
When testing the interface UI, device obtains interface to be tested.Specifically, device passes through input URL, HTML etc.
File obtains interface to be tested, and interface to be tested refers to the present user interface of terminal namely interface to be tested is tested whole
Hold front end page.
Step S20 parses the interface to be tested, to obtain the control in the interface to be tested;
Step S30 generates multiple control objects according to each control, and generates control according to each control object
Part library of object is surveyed with when to the interface detection to be tested, calling the control object in the control object library to generate
Example on probation is tested.
After obtaining interface to be tested, device parses interface to be tested, to obtain each control in interface to be tested.
Specifically, each control on interface to be tested has a corresponding location information, device according to location information to each control into
The location information of row parsing namely control determines the parsing sequence of the control, and device parses interface to be tested according to parsing sequence,
To obtain the corresponding tree structure in interface to be tested, each node in tree structure corresponds to the control on interface to be tested.
Device can determine the corresponding control information of control, so that control information control corresponding with control information be closed
Connection storage, to obtain the corresponding control object of control, each control object forms control object library.Control information includes control
Type, location information, Business Name and hierarchical structure.Control information needs device to be parsed to obtain to control.
Control type is for determining object type, generating object oriented, default parameters and parameter assignment;Location information is used
In the Xpath attribute of positioning current control, and the position for calling and location element in use-case implementation procedure;Business
Title then provides intuitive control object explanation for tester;Hierarchical structure characterizes between control object and other control objects
Positional relationship, for determine control object in control object library parsing sequence.
The determination of each control information is described in detail below.
A, constant current journey can refer to following steps to control type really:
1a, device determine current control, and parse current control and obtain the corresponding page elements of current control;
2a, the attribute for obtaining page elements, attribute can be the attributes such as TagName, Class, Type, Id;
3a, device determine that the control type of current control, device identify attribute according to attribute, so that it is determined that currently
The corresponding control type of control, it should be noted that tester need to join the corresponding default action of control type and default
Several mapping relations are configured in advance, mapping relations such as: Text (type): input (operation): { Random } (parameter).
Device can be traversed according to the root node of tree structure as start node, so that it is determined that each control
Type.
B, constant current journey can refer to following steps to location information really:
1b, current control corresponding node in tree structure is determined;
2b, using determining node as start node, traverse tree structure according to the first default traversal mode and obtain working as prosthomere
The corresponding location information of point, specifically, the first default traversal mode is referred to according to bottom-up mode stacking, level traversal
The corresponding each level group elder generation node of start node in tree structure, and judge the page of the corresponding current control of start node
Attribute of an element whether be it is globally unique, the attributes of page elements can be the attributes such as ID, Class and Text, until finding complete
The unique attribute of office or the root node for traversing tree structure, terminate traversal;In ergodic process.If start node exists
The brotgher of node at the same level then finds the position of start node since the father node of start node according to breadth first traversal, then will
The position of start node is as location information stacking, to generate similar //div [@id=" xx "]/a [1] knot by stacking data
The Xpath location information of structure.
Device can determine the corresponding location information of each control one by one according to above-mentioned steps.
C, constant current journey can refer to following steps to Business Name really:
1c, determine that the corresponding numerical value of control, the numerical value of control can be determined according to the attribute of the page elements of control, namely
The contents attributes such as value, text according to page elements determine;
2c, the corresponding business function content of numerical value is determined, numerical value illustrates that the business function is said with corresponding business function
Bright is business function content;
Business function content is spliced control type, Business Name must be beaten, for example, industry by 3c, the control type for determining control
It is engaged in entitled submission fund audit (business function content) button (control type);
It should be noted that device needs to determine the corresponding Business Name of each control one by one, and device is with traversal
Form carries out the determination of the Business Name of each control, specifically, device determines node of the current control in tree structure, with
The node is start node, and non-effective control is carried out according to the traversal order of the control type of current control, control type
Traversal order can be combobox DropDown type sequence, combobox DropDown type sequence specifically: preceding neighbouring brother's section
Point -> father node -> present node -> child node -> rear neighbouring the brotgher of node, to complete the identification of the Business Name of each control
And it determines.
D, constant current journey can refer to following steps to hierarchical structure really:
1d, node of the current control in tree structure is determined;
2d, using determining node as start node, traverse each section in tree structure according to the second default traversal mode
Point, so that it is determined that the corresponding node path of each node, the second default traversal mode is referred to according to depth-first fashion recurrence
Successively traversal;
3d, corresponding child node list object is created for each node path, to generate hierarchical structure, level mechanism is
Each control corresponding node location in tree structure is built-up.It should be noted that after determining hierarchical structure, it will be each
Control type, Business Name and the location information of a control object are deposited according to the corresponding hierarchical structure progress sequence of control object
Storage, and then generate or update control object library.
After generating control object library, tester can design testing procedure, include in testing procedure control operation and
Control parameter further includes testing sequence in testing procedure.And each control object in control object library has corresponding parsing
Sequentially, using parsing sequence control object identical with testing sequence in current testing procedure as target widget object, then by mesh
Control operation and control parameter in mark control object and current testing procedure are associated, so that test case is generated,
It is tested with the control to target widget object.In addition, device can export whether need to adjust before generating test case
Whole testing procedure or the corresponding parameter of testing procedure, so that tester carries out the determination of Test cases technology.
In the present embodiment, each control, each control object are obtained by automatically parsing arithmetic analysis interface to be tested
Type, location information, Business Name, hierarchical structure, operation and parameter it is defined, and arranged according to the tree-like structural order of the page
Column, can directly automatically generate the corresponding object control of multiple controls, to be used for Confirmation Controls availability use-case;Further,
, can be through artificial simple modification parameter or sequence of steps before generating availability use-case, test needed for generating tester
Use-case.In the present embodiment, control object library can be automatically updated, achievees the effect that case maintenance and change, saves control pair
As the maintenance cost in library.
In technical solution provided in this embodiment, the generating means of control object library obtain interface to be tested, and parse
Interface to be measured obtains the control in interface to be tested, multiple control objects is generated further according to each control, thus according to each control
Part object generates control object library, to call the control object in control object library to generate when treating test interface and being tested
Test case is tested;Since the generating means of control object library can automatically generate control according to control each in interface to be tested
Part library of object, without tester's manual configuration control object and typing control object, when shortening the generation of control object library
Between, improve the efficiency of UI test.
It is another embodiment of the generation method of control object library of the present invention referring to Fig. 3, Fig. 3, is based on first embodiment, institute
It states in step S20 and includes: according to the multiple control objects of each control generation
Step S21 determines the parsing sequence of the control, to be sequentially generated tree-like knot according to the parsing of each control
Structure;
Step S22 determines preset control in the corresponding control of each node in the tree structure, wherein described
Preset control is the control of available control or preset kind;
Step S23, determines the corresponding control information of the preset control, and by the preset control and the default control
The corresponding control information associated storage of part, to generate the corresponding control object of each preset control.
In the present embodiment, device only generates the corresponding control object of preset control namely device on interface to be tested
Without generating the control object of not preset control.Preset control can be available control or the control of preset kind.Device can mention
For the type of the type option frame control to be tested so that tester selectes, selected type is the control of preset kind.
The present embodiment is illustrated with available control below.
Device determines the corresponding control of each node in tree structure after parsing interface to be tested and obtaining tree structure,
And obtain the page elements of each control and the attribute of page elements, the attribute of page elements be above-mentioned TagName,
The information such as Class, Type, Id, device determine whether the attribute of page elements is preset attribute, if so, showing page member
The corresponding control of element is available control.
It should be noted that when device only generates the control object that can use control the control information of control can be used really
Fixed also different namely device if the control of identification is non-available control, is skipped when being traversed, and is carried out next
The identification of a control;If the control of identification is available control, the control information of available control is determined.
When preset control is the control of preset kind, device obtains the control type of control, with true according to control type
The control namely the device whether fixed control is preset kind are when being traversed, if the control of identification is not preset kind
It when control, then skips, carries out the identification of next control;If the control of identification is the control of preset kind, the control to control
Part information is determined.
In technical solution provided in this embodiment, the generating means of control object library only generate the control pair of preset control
As when preset control is available control, saving the life of control object library without generating the control object of whole controls
At the time;And when the control that preset control is preset kind, device generates the control object for meeting tester's original idea.
To achieve the goals above, the present invention also provides a kind of generating means of control object library, the test case
Generating means include processor, memory and are stored in the control object that can be run on the memory and on the processor
The generation program in library, the generation program of the control object library realize control described in embodiment as above when being executed by the processor
The step of generation method of part library of object.
To achieve the goals above, described computer-readable to deposit the present invention also provides a kind of computer readable storage medium
The generation program of control object library, realization when the generation program of the control object library is executed by processor are stored on storage media
The step of generation method of control object library described in embodiment as above.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in one as described above
In storage medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that terminal device (it can be mobile phone,
Computer, server, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.
Claims (10)
1. a kind of generation method of control object library, which is characterized in that the generation method of the control object library includes following step
It is rapid:
Obtain interface to be tested;
The interface to be tested is parsed, to obtain the control in the interface to be tested;
Multiple control objects are generated according to each control, and control object library is generated according to each control object, with
When to the interface detection to be tested, calls the control object in the control object library to generate test case and surveyed
Examination.
2. the generation method of control object library as described in claim 1, which is characterized in that described raw according to each control
Include: at the step of multiple control objects
The parsing sequence of the control is determined, to be sequentially generated tree structure according to the parsing of each control;
Determine the corresponding control information of the control, and by the node control corresponding with the node in the tree structure
Control information association, to generate control object.
3. the generation method of control object library as claimed in claim 2, which is characterized in that it is described will be in the tree structure
The control information of node control corresponding with the node is associated with, and to generate control object the step of includes:
Preset control is determined in the corresponding control of each node in the tree structure, wherein the preset control is can
With control or the control of preset kind;
Determine the corresponding control information of the preset control, and by the preset control and the corresponding control of the preset control
Information association storage, to generate the corresponding control object of each preset control.
4. the generation method of control object library as claimed in claim 3, which is characterized in that described in the tree structure
The step of determining preset control in the corresponding control of each node include:
It determines the corresponding page elements of the control, and determines the attribute of the page elements;
Determine that the corresponding control of the page elements is preset control according to the attribute of the page elements.
5. the generation method of control object library as claimed in claim 2, which is characterized in that the control information includes control class
The step of type, the determination control corresponding control information includes:
Determine the page elements of the control and the attribute of the page elements;
The control type of the control is determined according to the attribute.
6. the generation method of control object library as claimed in claim 5, which is characterized in that the control information includes business name
Claim, the step of determination control corresponding control information includes:
Determine the corresponding Effective Numerical of the control;
Business function content is determined according to the Effective Numerical, and true according to the business function content and the control type
The Business Name of the fixed preset control.
7. the generation method of control object library as claimed in claim 2, which is characterized in that the control information includes positioning letter
The step of breath, the determination control corresponding control information includes:
Determine the control corresponding node in the tree structure;
Using the determining node as start node, it is described to obtain to traverse the tree structure according to the first default traversal mode
The corresponding location information of control.
8. the generation method of control object library as claimed in claim 2, which is characterized in that the control information includes level knot
The step of structure, the determination control corresponding control information includes:
Determine the control corresponding node in the tree structure;
Using the determining node as start node, it is each with determination that the tree structure is traversed according to the second default traversal mode
The corresponding node path of control;
It is that each control establishes corresponding child node list object according to the node path, to generate hierarchical structure.
9. a kind of generating means of control object library, which is characterized in that the generating means of the test case include processor, deposit
Reservoir and the generation program for being stored in the control object library that can be run on the memory and on the processor, the control
Such as control object library described in any item of the claim 1 to 8 is realized when the generation program of library of object is executed by the processor
Generation method the step of.
10. a kind of computer readable storage medium, which is characterized in that be stored with control pair on the computer readable storage medium
It is realized as the generation program in library, when the generation program of the control object library is executed by processor as any in claim 1 to 8
The step of generation method of control object library described in.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910648091.2A CN110413518B (en) | 2019-07-17 | 2019-07-17 | Control object library generation method and device and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910648091.2A CN110413518B (en) | 2019-07-17 | 2019-07-17 | Control object library generation method and device and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110413518A true CN110413518A (en) | 2019-11-05 |
CN110413518B CN110413518B (en) | 2023-11-14 |
Family
ID=68361888
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910648091.2A Active CN110413518B (en) | 2019-07-17 | 2019-07-17 | Control object library generation method and device and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110413518B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112597034A (en) * | 2020-12-25 | 2021-04-02 | 深圳证券交易所 | Test case generation method and device and computer readable storage medium |
CN117873907A (en) * | 2024-03-12 | 2024-04-12 | 麒麟软件有限公司 | Control element testing method and device and storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110307864A1 (en) * | 2010-06-10 | 2011-12-15 | Accenture Global Services Gmbh | Assisted compositional reasoning for test scripts |
US8522212B1 (en) * | 2010-07-21 | 2013-08-27 | Google Inc. | Auto generation of test utility bots using compile time heuristics of user interface source code |
CN103455414A (en) * | 2012-06-04 | 2013-12-18 | 腾讯科技(深圳)有限公司 | Method and device for acquiring logical position of control part |
CN105279089A (en) * | 2015-10-30 | 2016-01-27 | 中国人民财产保险股份有限公司 | Method and device for obtaining page element |
CN106294152A (en) * | 2016-08-09 | 2017-01-04 | 努比亚技术有限公司 | The traversal test device and method of application user interface |
CN108984389A (en) * | 2018-06-01 | 2018-12-11 | 平安科技(深圳)有限公司 | A kind of applied program testing method and terminal device |
CN109144871A (en) * | 2018-08-17 | 2019-01-04 | 北京邮电大学 | A kind of recognition methods of automatic test element and device |
CN109783343A (en) * | 2017-11-13 | 2019-05-21 | 北京嘀嘀无限科技发展有限公司 | Components testing method, apparatus, client device and computer readable storage medium |
-
2019
- 2019-07-17 CN CN201910648091.2A patent/CN110413518B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110307864A1 (en) * | 2010-06-10 | 2011-12-15 | Accenture Global Services Gmbh | Assisted compositional reasoning for test scripts |
US8522212B1 (en) * | 2010-07-21 | 2013-08-27 | Google Inc. | Auto generation of test utility bots using compile time heuristics of user interface source code |
CN103455414A (en) * | 2012-06-04 | 2013-12-18 | 腾讯科技(深圳)有限公司 | Method and device for acquiring logical position of control part |
CN105279089A (en) * | 2015-10-30 | 2016-01-27 | 中国人民财产保险股份有限公司 | Method and device for obtaining page element |
CN106294152A (en) * | 2016-08-09 | 2017-01-04 | 努比亚技术有限公司 | The traversal test device and method of application user interface |
CN109783343A (en) * | 2017-11-13 | 2019-05-21 | 北京嘀嘀无限科技发展有限公司 | Components testing method, apparatus, client device and computer readable storage medium |
CN108984389A (en) * | 2018-06-01 | 2018-12-11 | 平安科技(深圳)有限公司 | A kind of applied program testing method and terminal device |
CN109144871A (en) * | 2018-08-17 | 2019-01-04 | 北京邮电大学 | A kind of recognition methods of automatic test element and device |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112597034A (en) * | 2020-12-25 | 2021-04-02 | 深圳证券交易所 | Test case generation method and device and computer readable storage medium |
CN117873907A (en) * | 2024-03-12 | 2024-04-12 | 麒麟软件有限公司 | Control element testing method and device and storage medium |
CN117873907B (en) * | 2024-03-12 | 2024-06-07 | 麒麟软件有限公司 | Control element testing method and device and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN110413518B (en) | 2023-11-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104407973B (en) | A kind of implementation method and device of automation cell test | |
CN108829584B (en) | Service logic interface mock test method and system | |
CN109460279A (en) | Forms pages development approach, device, equipment and storage medium based on small routine | |
CN106844217A (en) | Control to applying bury method and device, readable storage medium storing program for executing a little | |
CN107203473A (en) | The automatization test system and method for automatic expansion interface test case | |
CN114936019B (en) | Component and strategy linkage method, device, equipment, system and storage medium | |
KR101637371B1 (en) | System for testing an application use for a smart device and method therefor | |
US20080250049A1 (en) | Constraint programming for reduction of system test-configuration-matrix complexity | |
CN113238932B (en) | Automatic test case generation method | |
CN110399299A (en) | The execution method of automated test frame and test case | |
CN110287104A (en) | Method for generating test case, device, terminal and computer readable storage medium | |
CN105677306A (en) | Automation script compiling method and device | |
CN110413518A (en) | The generation method and generating means and computer readable storage medium of control object library | |
CN111026670B (en) | Test case generation method, test case generation device and storage medium | |
CN103109289B (en) | Based on the script edit methods of WEB, system and WEB client side | |
CN115934097A (en) | Method, device, storage medium and electronic device for generating executable statement | |
CN114416547A (en) | Test case based test method | |
CN117235527A (en) | End-to-end containerized big data model construction method, device, equipment and medium | |
CN116610558A (en) | Code detection method, device, electronic equipment and computer readable storage medium | |
van Eck | Alignment-based process model repair and its application to the Evolutionary Tree Miner | |
CN107292175A (en) | Server apparatus method for managing security and device | |
CN112988597B (en) | Automatic test visualization method and system based on state transition | |
CN113672509A (en) | Automatic testing method, device, testing platform and storage medium | |
CN113434387A (en) | Script-driven-based automatic testing tool and system | |
Pulido | Applying behavior driven development practices and tools to low-code technology |
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 |