CN109800154A - Loading method, device, computer equipment and the storage medium of test data - Google Patents

Loading method, device, computer equipment and the storage medium of test data Download PDF

Info

Publication number
CN109800154A
CN109800154A CN201811537620.3A CN201811537620A CN109800154A CN 109800154 A CN109800154 A CN 109800154A CN 201811537620 A CN201811537620 A CN 201811537620A CN 109800154 A CN109800154 A CN 109800154A
Authority
CN
China
Prior art keywords
class
data file
data
test
test data
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
Application number
CN201811537620.3A
Other languages
Chinese (zh)
Other versions
CN109800154B (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.)
OneConnect Smart Technology Co Ltd
Original Assignee
OneConnect Smart 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 OneConnect Smart Technology Co Ltd filed Critical OneConnect Smart Technology Co Ltd
Priority to CN201811537620.3A priority Critical patent/CN109800154B/en
Publication of CN109800154A publication Critical patent/CN109800154A/en
Priority to PCT/CN2019/120159 priority patent/WO2020119422A1/en
Application granted granted Critical
Publication of CN109800154B publication Critical patent/CN109800154B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software

Abstract

The invention discloses a kind of loading method of test data, device, computer equipment and storage mediums, it is related to test and management technical field, it realizes in test case scripted code without focused data source, reduces use-case scripted code redundancy and error probability, improve the efficiency of script exploitation.The loading method of the test data includes: creation and class to be tested data file of the same name;And corresponding test data is stored in the data file;The data file for being stored with the test data is stored under pre-set path;When carrying out operation test to the class to be tested, the class name by obtaining the class to be tested obtains the store path of the data file;The test data in the data file is obtained by the store path of the data file.

Description

Loading method, device, computer equipment and the storage medium of test data
Technical field
The present invention relates to test and management technical field more particularly to a kind of loading methods of test data, device, computer Equipment and storage medium.
Background technique
It is driven in Web UI (Website User Interface, networking products interface) automation commonly using data It moves and carrys out the data to be used of load test use-case, i.e., by data-driven, existing frequently-used provides number using TestNG Open Framework According to driving function, but the data-driven method DataProvider that existing TestNG is provided has following limitation:
In test method, specific data source must be provided using DataProvider, i.e., it be in each test Method will indicate the java class name and method name of data source, because the java class name of data source and method name be usually , so will cause repetition writes this partial code, it is troublesome.
Summary of the invention
The present invention provides loading method, device, computer equipment and the storage medium of a kind of test data, test case foot It is not necessarily to focused data source in this code, reduces use-case scripted code redundancy and error probability, improves the efficiency of script exploitation.
The present invention provides a kind of loading methods of test data, this method comprises:
Creation and class to be tested data file of the same name;And corresponding test data is stored in the data file;
The data file for being stored with the test data is stored under pre-set path;
When carrying out operation test to the class to be tested, the class name by obtaining the class to be tested obtains the number According to the store path of file;
The test data in the data file is obtained by the store path of the data file.
The present invention provides a kind of loading device of test data, which includes:
Creation module, for creating and class to be tested data file of the same name;And corresponding test data is stored in institute It states in data file;
Memory module, for the data file for being stored with the test data to be stored under pre-set path;
First obtains module, for passing through the acquisition class to be tested when carrying out operation test to the class to be tested Class name obtain the store path of the data file;
Second obtains module, for obtaining the test number in the data file by the store path of the data file According to.
A kind of computer equipment, including memory, processor and storage are in the memory and can be in the processing The computer program run on device, the processor realize the load side of above-mentioned test data when executing the computer program Method.
A kind of computer readable storage medium, the computer-readable recording medium storage have computer program, the meter Calculation machine program realizes the loading method of above-mentioned test data when being executed by processor.
Loading method, device, computer equipment and the storage medium of above-mentioned test data, first creation with it is to be tested similar The data file of name;And corresponding test data is stored in the data file;Then the test data will be stored with Data file be stored under pre-set path;It is described to be tested by obtaining when carrying out operation test to the class to be tested The class name of class obtains the store path of the data file;The number is obtained finally by the store path of the data file According to the test data in file.With at present will each test method will indicate data source java class name and method famous prime minister Than the embodiment of the present invention creates a Data Filename of the same name with test class in advance, and by test data according to format standard It is uniformly stored in the data file of the same name with test data, with the name of this canonical data files, then utilizes test class name The feature of the same name with data file gets these test datas, such automatic operating frame during automatic operating Code does not need that test data file name is written in code in advance, but what dynamic was learnt, therefore, implement through the invention The test data of example load, focused data source is not necessarily in test case scripted code, is reduced use-case scripted code redundancy and is gone out Wrong probability improves the efficiency of script exploitation.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by institute in the description to the embodiment of the present invention Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the invention Example, for those of ordinary skill in the art, without any creative labor, can also be according to these attached drawings Obtain other attached drawings.
Fig. 1 is a flow chart of the loading method of test data in one embodiment of the invention;
Fig. 2 is the detail flowchart of step S10 in one embodiment of the invention Fig. 1;
Fig. 3 is the detail flowchart of step S30 in one embodiment of the invention Fig. 1;
Fig. 4 is the detail flowchart of step S40 in one embodiment of the invention Fig. 1
Fig. 5 is a functional block diagram of the loading device of test data in one embodiment of the invention;
Fig. 6 is a schematic diagram of computer equipment in one embodiment of the invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
In one embodiment, as shown in Figure 1, providing a kind of loading method of test data, include the following steps:
S10, creation and class to be tested data file of the same name;And corresponding test data is stored in the data file In.
Class to be tested in the embodiment of the present invention is class in need of test, and test class can be java class, it is root It is to be different from other classes (automation framework class etc.) for convenience according to a kind of classification of the function division of class, class to be tested Function is mainly to carry out We UI page automatic test, i.e. the division of test class is artificially divided according to the function of business. It should be noted that class (Class) is that Object-oriented Programming Design (OOP, Object-Oriented Programming) is realized The basis of Information encapsulation.Class is a kind of user defined type, and each class includes that data explanation and one group of operation data or transmitting disappear The example of the function of breath, class is known as object.Wherein, java class (Java class) is one in Object-Oriented Programming Languages Kind, java class refers to the class in Java programming language.
In the present embodiment, creation and class to be tested data file of the same name, i.e., determine the class name of class to be tested, so first One and such identical data file are created afterwards, for storing test data required for class to be tested.For example, there are one A for testing the class to be tested of login function, the class of the class to be tested is entitled " Login ", then creates entitled " Login " number Entitled " Login " is stored according to file, and by test datas such as the class to be tested institute login username in need and passwords In data file.
In one embodiment, as shown in Fig. 2, the step S10: creation and class to be tested data file of the same name;And it will Corresponding test data is stored in the data file, is included the following steps:
S101 utilizes the data file of text editor creation and class to be tested JSON format of the same name.
In embodiments of the present invention, data file is stored as in JSON format to be that program reads and searches for convenience, JSON format is the storage mode of key-value pair.For example, there are the class to be tested that one is used for measuring and calculation function, the class to be tested Class it is entitled " Calculation ", then create and need entitled Calculation.json data file.
S102 opens and edits the data file of the JSON format, and increases the test data of JSON format in it.
For example, edit to Calculation.json data file, and it is as follows that its content unified format:
In the present embodiment, using the data file of text editor creation and class to be tested JSON format of the same name, so The data file of the JSON format is opened and edited afterwards, and increases the test data of JSON format in it.It can be in subsequent step Facilitate program to read and search in rapid, and utilizes test class name and data file feature of the same name, it, will be certainly without being specified in code Dynamic load test data file to improve the loading velocity of test data, and then improves the testing efficiency of test class.
The data file for being stored with the test data is stored under pre-set path by S20.
Wherein, pre-set path is some catalogue of prior regulation storage data file, can specifically be set according to actual needs Set pre-set path.It is to be managed collectively for convenience, the data file of all mistakes can be all placed under the same pre-set path.
It should be noted that may include multiple classes to be tested in the embodiment of the present invention, each class to be tested is one corresponding Data file, i.e., each class to be tested have a data file identical with its class name, are managed collectively, will own for convenience It is all stored under a path in the corresponding data file of class to be tested, and this path is configured according to actual needs.
S30, when carrying out operation test to the class to be tested, the class name by obtaining the class to be tested obtains institute State the store path of data file.
In embodiments of the present invention, treat test class carry out operation test when, pass through TestNG provide Reporter Static class carrys out the class name of the current class to be tested of dynamic acquisition, that is, obtain the title of data file, then according to obtain to The class name of test class obtains the store path of data file.Specifically, the embodiment of the present invention is by writing a java class, and Such is named as DataDriver to realize the store path for obtaining data file.Wherein, this DataDriver class is exactly The foundation class of automated test frame data-driven, the automation for realizing the test data of automatic operating obtain, herein The class name of class to be tested is obtained in the constructed fuction of class by Reporter class, then splicing adds pre-set path, finally To the store path of data file, such automatic operating skeleton code does not need to arrange test data in code in advance Filename, but what dynamic was learnt, reduce use-case scripted code redundancy and error probability, the script development efficiency of raising.
In one embodiment, as shown in figure 3, the step S30: the class name by obtaining the class to be tested obtains institute The store path for stating data file, includes the following steps:
S301 obtains the class name of the class to be tested by Reporter static class.
Wherein, Reporter static class is also a class provided by TestNG open source test frame, and function is exactly to obtain The procedural information in test class operational process is taken, procedural information is all stored in Reporter static class, wherein procedural information It just include test class name, i.e., the class name of class to be tested.
The class name of the pre-set path and the class to be tested is spliced, obtains the data file by S302 Store path.
In embodiments of the present invention, the class name of the pre-set path and the class to be tested is spliced, it can The path for being stored with test data obtained, the i.e. store path of data file.For example, the pre-set path of storage data file is D: xx xx Data, the entitled xxx.json of the class of class to be tested, then by preset store path D: xx xx Data and class name Xxx.json spliced to obtain data file store path D: xx xx Data xxx.json.
S40 obtains the test data in the data file by the store path of the data file.
In one embodiment, as shown in figure 4, the step S40: the store path by the data file obtains Test data in the data file, includes the following steps:
S401 reads the data file by the store path of the data file, and the test data of reading is deposited It stores up in JSON structure objects.
Specifically, being stored in lookup in order to facilitate program, the embodiment of the present invention can use in DataDriver class FastJson module of increasing income reads the survey stored in data file according to the store path of the data file obtained in step S30 Data are tried, and test data is saved in JSON structure objects, to be obtained from JSON structure objects in the next steps Test data in data file.
S402 obtains the test data in the data file from the JSON structure objects.
After the test data that will be read is stored into JSON structure objects, the embodiment of the present invention can be from JSON structure The test data in the data file is obtained in object.Specifically, the embodiment of the present invention can be by DataDriver The function for being called getMethodDataObj () is write in class, and obtains the test data in test function with the function. And DataDriver class is called to read out entire class testing data to be tested in the constructed fuction of any one class to be tested, And no longer need to be specifically designated which test data file, to reduce use-case scripted code redundancy through the embodiment of the present invention With error probability, the development efficiency of script is improved.
It should be noted that the embodiment of the present invention read is test data in entire test class, i.e., in TestNG frame In frame, class to be tested may have it is multiple because there is a many functions to test, one to application of a usually functional module Test class includes many test methods i.e. test function in one test class again, our are real to application for a test function The test data on border.
In another embodiment provided by the invention, the method also includes: in the data file that will acquire Test data is put into methodData, to use the test data.Specifically, passing through getMethodDataObj () side Method obtains test data corresponding to test method, and the test data that will acquire is put into methodData, thus can be with Use these test datas.
The embodiment of the invention provides a kind of loading methods of test data, first creation and class to be tested data of the same name File;And corresponding test data is stored in the data file;Then the data text of the test data will be stored with Part is stored under pre-set path;When carrying out operation test to the class to be tested, by the class name for obtaining the class to be tested Claim the store path for obtaining the data file;It is obtained in the data file finally by the store path of the data file Test data.With at present will each test method will indicate the java class name of data source compared with method name, this hair Bright embodiment creates a Data Filename of the same name with test class in advance, and test data is stored according to format standard is unified In the data file of the same name with test data, with the name of this canonical data files, test class name and data text are then utilized Part feature of the same name gets these test datas during automatic operating, and such automatic operating skeleton code is not Need to be written test data file name in code in advance, but dynamically learn, therefore, load through the embodiment of the present invention Test data is not necessarily to focused data source in test case scripted code, reduces use-case scripted code redundancy and error probability, mentions The efficiency of high script exploitation.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each process Execution sequence should be determined by its function and internal logic, the implementation process without coping with the embodiment of the present invention constitutes any limit It is fixed.
In one embodiment, a kind of loading device of test data, the loading device of the test data and above-mentioned reality are provided The loading method for applying test data in example corresponds.As shown in figure 5, the loading device of the test data includes creation module 10, memory module 20, first obtains module 30 and second and obtains module 40.Detailed description are as follows for each functional module:
Creation module 10, for creating and class to be tested data file of the same name;And corresponding test data is stored in In the data file;
Memory module 20, for the data file for being stored with the test data to be stored under pre-set path;
First obtain module 30, for when to the class to be tested carry out operation test when, by obtain it is described to be tested The class name of class obtains the store path of the data file;
Second obtains module 40, for obtaining the test in the data file by the store path of the data file Data.
Specifically, described first obtains module 30, comprising:
Acquiring unit 31, for obtaining the class name of the class to be tested by Reporter static class;
Concatenation unit 32 obtains described for splicing the class name of the pre-set path and the class to be tested The store path of data file.
Specifically, described second obtains module 40, comprising:
Reading unit 41, for reading the data file by the store path of the data file, and by reading Test data is stored into JSON structure objects;
Acquiring unit 42, for obtaining the test data in the data file from the JSON structure objects.
Specifically, the creation module 10, comprising:
Creating unit 11, for the data file using text editor creation and class to be tested JSON format of the same name;
Edit cell 12 is used to open and edits the data file of the JSON format, and increases JSON format in it Test data.
Further, described device further include:
Memory module 50, the test data in the data file for will acquire are put into methodData, so that With the test data.
The specific of loading device about test data limits the loading method that may refer to above for test data Restriction, details are not described herein.Modules in the loading device of above-mentioned test data can be fully or partially through software, hard Part and combinations thereof is realized.Above-mentioned each module can be embedded in the form of hardware or independently of in the processor in computer equipment, It can also be stored in a software form in the memory in computer equipment, execute the above modules in order to which processor calls Corresponding operation.
In one embodiment, a kind of computer equipment is provided, which can be terminal, internal structure Figure can be as shown in Figure 6.The computer equipment includes processor, the memory, network interface, display connected by system bus Screen and input unit.Wherein, the processor of the computer equipment is for providing calculating and control ability.The computer equipment is deposited Reservoir includes non-volatile memory medium, built-in storage.The non-volatile memory medium is stored with operating system and computer journey Sequence.The built-in storage provides environment for the operation of operating system and computer program in non-volatile memory medium.The calculating The network interface of machine equipment is used to communicate with external server by network connection.When the computer program is executed by processor with Realize the loading method of any one aforementioned test data.
In one embodiment, a kind of computer equipment is provided, including memory, processor and storage are on a memory And the computer program that can be run on a processor, processor perform the steps of when executing computer program
Creation and class to be tested data file of the same name;And corresponding test data is stored in the data file;
The data file for being stored with the test data is stored under pre-set path;
When carrying out operation test to the class to be tested, the class name by obtaining the class to be tested obtains the number According to the store path of file;
The test data in the data file is obtained by the store path of the data file.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated Machine program performs the steps of when being executed by processor
Creation and class to be tested data file of the same name;And corresponding test data is stored in the data file;
The data file for being stored with the test data is stored under pre-set path;
When carrying out operation test to the class to be tested, the class name by obtaining the class to be tested obtains the number According to the store path of file;
The test data in the data file is obtained by the store path of the data file.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the computer program can be stored in a non-volatile computer In read/write memory medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, To any reference of memory, storage, database or other media used in each embodiment provided herein, Including non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM (PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms, Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhancing Type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each function Can unit, module division progress for example, in practical application, can according to need and by above-mentioned function distribution by different Functional unit, module are completed, i.e., the internal structure of described device is divided into different functional unit or module, more than completing The all or part of function of description.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although referring to aforementioned reality Applying example, invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned each Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified Or replacement, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution should all It is included within protection scope of the present invention.

Claims (10)

1. a kind of loading method of test data, which is characterized in that the described method includes:
Creation and class to be tested data file of the same name;And corresponding test data is stored in the data file;
The data file for being stored with the test data is stored under pre-set path;
When carrying out operation test to the class to be tested, the class name by obtaining the class to be tested obtains the data text The store path of part;
The test data in the data file is obtained by the store path of the data file.
2. the loading method of test data according to claim 1, which is characterized in that described described to be tested by obtaining The class name of class obtains the store path of the data file, comprising:
The class name of the class to be tested is obtained by Reporter static class;
The class name of the pre-set path and the class to be tested is spliced, the store path of the data file is obtained.
3. the loading method of test data according to claim 2, which is characterized in that described by the data file Store path obtains the test data in the data file, comprising:
The data file is read by the store path of the data file, and the storage of the test data of reading is tied to JSON In structure object;
The test data in the data file is obtained from the JSON structure objects.
4. the loading method of test data according to claim 1, which is characterized in that the creation is of the same name with class to be tested Data file;And corresponding test data is stored in the data file, comprising:
Utilize the data file of text editor creation and class to be tested JSON format of the same name;
The data file of the JSON format is opened and edited, and increases the test data of JSON format in it.
5. the loading method of test data according to claim 1 to 4, which is characterized in that the method also includes:
The test data in the data file that will acquire is put into methodData, to use the test data.
6. a kind of loading device of test data, which is characterized in that described device includes:
Creation module, for creating and class to be tested data file of the same name;And corresponding test data is stored in the number According in file;
Memory module, for the data file for being stored with the test data to be stored under pre-set path;
First obtains module, for passing through the class of the acquisition class to be tested when carrying out operation test to the class to be tested The store path of data file described in name acquiring;
Second obtains module, for obtaining the test data in the data file by the store path of the data file.
7. the loading device of test data according to claim 6, which is characterized in that described first obtains module, comprising:
Acquiring unit, for obtaining the class name of the class to be tested by Reporter static class;
Concatenation unit obtains the data text for splicing the class name of the pre-set path and the class to be tested The store path of part.
8. the loading device of test data according to claim 7, which is characterized in that described second obtains module, comprising:
Reading unit, for reading the data file by the store path of the data file, and by the test number of reading According to storage into JSON structure objects;
Acquiring unit, for obtaining the test data in the data file from the JSON structure objects.
9. a kind of computer equipment, including memory, processor and storage are in the memory and can be in the processor The computer program of upper operation, which is characterized in that the processor realized when executing the computer program as claim 1 to The loading method of any one of 5 test datas.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists In the load side of realization test data as described in any one of claim 1 to 5 when the computer program is executed by processor Method.
CN201811537620.3A 2018-12-15 2018-12-15 Test data loading method and device, computer equipment and storage medium Active CN109800154B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201811537620.3A CN109800154B (en) 2018-12-15 2018-12-15 Test data loading method and device, computer equipment and storage medium
PCT/CN2019/120159 WO2020119422A1 (en) 2018-12-15 2019-11-22 Method and apparatus for loading test data, computer device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811537620.3A CN109800154B (en) 2018-12-15 2018-12-15 Test data loading method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109800154A true CN109800154A (en) 2019-05-24
CN109800154B CN109800154B (en) 2022-04-05

Family

ID=66556824

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811537620.3A Active CN109800154B (en) 2018-12-15 2018-12-15 Test data loading method and device, computer equipment and storage medium

Country Status (2)

Country Link
CN (1) CN109800154B (en)
WO (1) WO2020119422A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110781090A (en) * 2019-10-31 2020-02-11 北京东软望海科技有限公司 Control method and device for data processing test, computer equipment and storage medium
CN111026666A (en) * 2019-12-06 2020-04-17 京东数字科技控股有限公司 Test data processing method, device, computer system and medium
WO2020119422A1 (en) * 2018-12-15 2020-06-18 深圳壹账通智能科技有限公司 Method and apparatus for loading test data, computer device and storage medium
CN112882931A (en) * 2021-02-06 2021-06-01 重庆富民银行股份有限公司 Automatic testing method and device based on DDT

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111797015B (en) * 2020-06-30 2024-02-09 中国工商银行股份有限公司 Dynamic byte code based test method and device
CN111949543B (en) * 2020-08-13 2023-09-08 中国工商银行股份有限公司 Test method and device based on distributed platform, electronic equipment and storage medium
CN115145831B (en) * 2022-09-05 2022-11-08 湖南长银五八消费金融股份有限公司 Non-invasive test data recovery method and system
CN116340191B (en) * 2023-05-31 2023-08-08 合肥康芯威存储技术有限公司 Method, device, equipment and medium for testing memory firmware

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101950269A (en) * 2010-08-30 2011-01-19 清华大学 Automatic test method for software members
US20110099424A1 (en) * 2009-09-25 2011-04-28 Gustavo Javier Rivera Trevino Computing device for enabling concurrent testing
CN102486749A (en) * 2010-12-03 2012-06-06 中兴通讯股份有限公司 Method and system for data driving test
CN105260318A (en) * 2015-11-25 2016-01-20 飞天诚信科技股份有限公司 Automatic testing method and device based on web pages
CN106407112A (en) * 2016-09-09 2017-02-15 浪潮软件集团有限公司 Automatic testing method based on Selenium and TestNG
CN106547681A (en) * 2015-09-18 2017-03-29 北京京东尚科信息技术有限公司 The method and apparatus that data load simultaneously multiplexed analog service testing automatically
CN106874207A (en) * 2017-02-27 2017-06-20 税友软件集团股份有限公司 The automated testing method and device of a kind of web page
CN107729243A (en) * 2017-10-12 2018-02-23 上海携程金融信息服务有限公司 API automated testing method, system, equipment and storage medium
CN107766252A (en) * 2017-11-08 2018-03-06 平安科技(深圳)有限公司 Test script automated execution method, apparatus, equipment and storage medium
CN108536596A (en) * 2018-04-09 2018-09-14 武汉斗鱼网络科技有限公司 Automated testing method, readable medium based on object formation data and equipment
CN108563558A (en) * 2018-02-26 2018-09-21 南京粤讯电子科技有限公司 A kind of program testing method, test pile system and device
CN108572911A (en) * 2017-03-14 2018-09-25 北京京东尚科信息技术有限公司 Automate safety detecting method, device, electronic equipment and readable storage medium storing program for executing
CN108932194A (en) * 2018-06-21 2018-12-04 北京京东金融科技控股有限公司 Automated testing method, device, system, medium and electronic equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109800154B (en) * 2018-12-15 2022-04-05 深圳壹账通智能科技有限公司 Test data loading method and device, computer equipment and storage medium

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110099424A1 (en) * 2009-09-25 2011-04-28 Gustavo Javier Rivera Trevino Computing device for enabling concurrent testing
CN101950269A (en) * 2010-08-30 2011-01-19 清华大学 Automatic test method for software members
CN102486749A (en) * 2010-12-03 2012-06-06 中兴通讯股份有限公司 Method and system for data driving test
CN106547681A (en) * 2015-09-18 2017-03-29 北京京东尚科信息技术有限公司 The method and apparatus that data load simultaneously multiplexed analog service testing automatically
CN105260318A (en) * 2015-11-25 2016-01-20 飞天诚信科技股份有限公司 Automatic testing method and device based on web pages
CN106407112A (en) * 2016-09-09 2017-02-15 浪潮软件集团有限公司 Automatic testing method based on Selenium and TestNG
CN106874207A (en) * 2017-02-27 2017-06-20 税友软件集团股份有限公司 The automated testing method and device of a kind of web page
CN108572911A (en) * 2017-03-14 2018-09-25 北京京东尚科信息技术有限公司 Automate safety detecting method, device, electronic equipment and readable storage medium storing program for executing
CN107729243A (en) * 2017-10-12 2018-02-23 上海携程金融信息服务有限公司 API automated testing method, system, equipment and storage medium
CN107766252A (en) * 2017-11-08 2018-03-06 平安科技(深圳)有限公司 Test script automated execution method, apparatus, equipment and storage medium
CN108563558A (en) * 2018-02-26 2018-09-21 南京粤讯电子科技有限公司 A kind of program testing method, test pile system and device
CN108536596A (en) * 2018-04-09 2018-09-14 武汉斗鱼网络科技有限公司 Automated testing method, readable medium based on object formation data and equipment
CN108932194A (en) * 2018-06-21 2018-12-04 北京京东金融科技控股有限公司 Automated testing method, device, system, medium and electronic equipment

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
ANBUNATHAN R等: "Data driven architecture based automated test generation for Android mobile", 《2015 IEEE INTERNATIONAL CONFERENCE ON COMPUTATIONAL INTELLIGENCE AND COMPUTING RESEARCH (ICCIC)》 *
张飞_: "TestNG取得测试类名的方法", 《HTTPS://WWW.CNBLOGS.COM/ZHANGFEI/ARCHIVE/2012/11/16/2774011.HTML》 *
江屿: "基于Junit的接口测试框架的设计与实现", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *
蒋灵仙: "基于Testng的Web接口测试的自动化框架设计与实现", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020119422A1 (en) * 2018-12-15 2020-06-18 深圳壹账通智能科技有限公司 Method and apparatus for loading test data, computer device and storage medium
CN110781090A (en) * 2019-10-31 2020-02-11 北京东软望海科技有限公司 Control method and device for data processing test, computer equipment and storage medium
CN110781090B (en) * 2019-10-31 2023-09-12 望海康信(北京)科技股份公司 Control method and device for data processing test, computer equipment and storage medium
CN111026666A (en) * 2019-12-06 2020-04-17 京东数字科技控股有限公司 Test data processing method, device, computer system and medium
CN112882931A (en) * 2021-02-06 2021-06-01 重庆富民银行股份有限公司 Automatic testing method and device based on DDT
CN112882931B (en) * 2021-02-06 2023-05-09 重庆富民银行股份有限公司 Automatic test method and device based on DDT

Also Published As

Publication number Publication date
CN109800154B (en) 2022-04-05
WO2020119422A1 (en) 2020-06-18

Similar Documents

Publication Publication Date Title
CN109800154A (en) Loading method, device, computer equipment and the storage medium of test data
CN111061526B (en) Automatic test method, device, computer equipment and storage medium
US10127141B2 (en) Electronic technology resource evaluation system
EP3557423B1 (en) System and method for testing electronic visual user interface outputs
US10127143B2 (en) Generating an evolving set of test cases
US20140173454A1 (en) Method and system for designing, deploying and executing transactional multi-platform mobile applications
CN109711802A (en) Item information processing method, device, computer equipment and storage medium
US20170010903A1 (en) User interface level tutorials
CN109408372A (en) Common component test method, device, computer equipment and storage medium
CN112711526A (en) UI test method, device, equipment and storage medium
CN107220172A (en) Automatic user interface is carried out by model-driven methodologies(UI)The method and system of test
US11245601B2 (en) Automated integrated test system and method thereof
CN109766261A (en) Coverage test method, device, computer equipment and storage medium
CN109783355A (en) Page elements acquisition methods, system, computer equipment and readable storage medium storing program for executing
WO2014070165A1 (en) Executable software specification generation
CN108418797A (en) Web access method, device, computer equipment and storage medium
CN117056240A (en) Data element development and debugging method and system supporting offline Jar package
CN115470152B (en) Test code generation method, test code generation device, and storage medium
CN111949543A (en) Testing method and device based on distributed platform, electronic equipment and storage medium
CN109344082A (en) A kind of method and system of automatic scratchpad register
CN109739772A (en) It is a kind of to realize that CPLD refreshes the method and apparatus tested automatically
CN109815127A (en) Automatized script conversion method, device, computer equipment and storage medium
CN109614188A (en) A kind of page online help method, apparatus, computer equipment and storage medium
EP3852032A1 (en) Machine first approach for identifying accessibility, non-compliances, remediation techniques and fixing at run-time
CN113190445A (en) Interface test method, interface test device and interface test system

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