CN109800154B - Test data loading method and device, computer equipment and storage medium - Google Patents

Test data loading method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN109800154B
CN109800154B CN201811537620.3A CN201811537620A CN109800154B CN 109800154 B CN109800154 B CN 109800154B CN 201811537620 A CN201811537620 A CN 201811537620A CN 109800154 B CN109800154 B CN 109800154B
Authority
CN
China
Prior art keywords
class
data file
data
test data
tested
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
CN201811537620.3A
Other languages
Chinese (zh)
Other versions
CN109800154A (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 Financial Technology Co Ltd Shanghai
Original Assignee
OneConnect Financial Technology Co Ltd Shanghai
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 Financial Technology Co Ltd Shanghai filed Critical OneConnect Financial Technology Co Ltd Shanghai
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

Images

Classifications

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a loading method and device of test data, computer equipment and a storage medium, relates to the technical field of test management, realizes that a data source does not need to be concerned in a test case script code, reduces redundancy and error probability of the case script code, and improves script development efficiency. The test data loading method comprises the following steps: creating a data file with the same name as the class to be tested; storing corresponding test data in the data file; storing the data file storing the test data in a preset path; when the to-be-tested class is subjected to operation test, acquiring a storage path of the data file by acquiring a class name of the to-be-tested class; and acquiring the test data in the data file through the storage path of the data file.

Description

Test data loading method and device, computer equipment and storage medium
Technical Field
The present invention relates to the field of test management technologies, and in particular, to a method and an apparatus for loading test data, a computer device, and a storage medium.
Background
Data driving is often used in Web UI (Web User Interface, Web product Interface design) automation to load data used by test cases, that is, the data driving is currently and often used to provide a data driving function by using a TestNG open source framework, but the data driving method DataProvider provided by the existing TestNG has the following limitations:
in the test method, the DataProvider is used for providing an explicit data source, namely, the name of the Java class and the name of the method of the data source are specified in each test method, and because the name of the Java class and the name of the method of the data source are generally the same, the code is duplicated, which is cumbersome.
Disclosure of Invention
The invention provides a method and a device for loading test data, computer equipment and a storage medium, wherein data sources do not need to be concerned in test case script codes, so that the redundancy and error probability of the case script codes are reduced, and the script development efficiency is improved.
The invention provides a test data loading method, which comprises the following steps:
creating a data file with the same name as the class to be tested; storing corresponding test data in the data file;
storing the data file storing the test data in a preset path;
when the to-be-tested class is subjected to operation test, acquiring a storage path of the data file by acquiring a class name of the to-be-tested class;
and acquiring the test data in the data file through the storage path of the data file.
The invention provides a loading device of test data, which comprises:
the creating module is used for creating a data file with the same name as the to-be-tested class; storing corresponding test data in the data file;
the storage module is used for storing the data file in which the test data is stored under a preset path;
the first acquisition module is used for acquiring the storage path of the data file by acquiring the class name of the class to be tested when the class to be tested is tested;
and the second acquisition module is used for acquiring the test data in the data file through the storage path of the data file.
A computer device comprising a memory, a processor and a computer program stored in said memory and executable on said processor, said processor implementing the above-mentioned method of loading test data when executing said computer program.
A computer-readable storage medium, in which a computer program is stored, which, when executed by a processor, implements the above-described method of loading test data.
According to the test data loading method, device, computer equipment and storage medium, firstly, a data file with the same name as the class to be tested is created; storing corresponding test data in the data file; then storing the data file storing the test data in a preset path; when the to-be-tested class is subjected to operation test, acquiring a storage path of the data file by acquiring a class name of the to-be-tested class; and finally, acquiring the test data in the data file through the storage path of the data file. Compared with the method name and Java class name of a data source required to be indicated in each test method at present, the embodiment of the invention creates a data file name with the same name as the test class in advance, stores the test data in the data file with the same name as the test data uniformly according to the format standard, standardizes the naming of the data file, and acquires the test data in the automatic operation process by utilizing the characteristic that the test class name is the same name as the data file, so that the automatic operation frame code does not need to write the test data file name in the code in advance, but is dynamically known, therefore, the test data loaded by the embodiment of the invention does not need to pay attention to the data source in the test case script code, the redundancy and error probability of the case script code are reduced, and the efficiency of script development is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive labor.
FIG. 1 is a flowchart of a method for loading test data according to an embodiment of the present invention;
FIG. 2 is a detailed flowchart of step S10 in FIG. 1 according to one embodiment of the present invention;
FIG. 3 is a detailed flowchart of step S30 in FIG. 1 according to one embodiment of the present invention;
FIG. 4 is a detailed flowchart of step S40 in FIG. 1 according to an embodiment of the present invention
FIG. 5 is a schematic block diagram of an apparatus for loading test data according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of a computer device according to an embodiment of the invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In an embodiment, as shown in fig. 1, a method for loading test data is provided, which includes the following steps:
s10, creating a data file with the same name as the class to be tested; and storing the corresponding test data in the data file.
The class to be tested in the embodiment of the invention is a class to be tested, the test class can be a Java class, the class is classified according to the function division of the class, the class is convenient to distinguish from other classes (automatic framework classes and the like), the function of the class to be tested is mainly subjected to automatic testing of We UI pages, namely the division of the test class is manually divided according to the function of a service. It should be noted that Class (Class) is the basis for implementing information encapsulation by Object-Oriented Programming (OOP). A class is a type of user-defined, each class containing a description of data and a set of functions that manipulate the data or pass messages, and instances of the class are called objects. The Java class (Java class) is one of object-oriented programming languages, and the Java class refers to a class in the Java programming language.
In this embodiment, a data file having the same name as the class to be tested is created, that is, the class name of the class to be tested is determined first, and then a data file having the same name as the class name is created for storing the test data required by the class to be tested. For example, if there is a class to be tested for testing the Login function, and the class name of the class to be tested is "Login", a data file named "Login" is created, and all required test data such as Login user name and password of the class to be tested are stored in the data file named "Login".
In one embodiment, as shown in fig. 2, the step S10: creating a data file with the same name as the class to be tested; and storing the corresponding test data in the data file, comprising the steps of:
and S101, creating a data file in a JSON format with the same name as the class to be tested by using a text editor.
In the embodiment of the invention, the data file is stored in the JSON format for facilitating program reading and searching, and the JSON format is a key value pair storage mode. For example, if there is a class to be tested for testing a computing function, and the class to be tested is named "Calculation", a json data file is created.
And S102, opening and editing the data file in the JSON format, and adding test data in the JSON format.
For example, a json data file is edited, and its contents are uniformly formatted as follows:
Figure BDA0001907301380000051
in the embodiment, a text editor is used to create a data file in the JSON format with the same name as the class to be tested, and then the data file in the JSON format is opened and edited, and test data in the JSON format is added into the data file. The method can facilitate program reading and searching in subsequent steps, and automatically load the test data file by utilizing the characteristic that the test class name is the same as the data file without the designation in the code, thereby improving the loading speed of the test data and further improving the test efficiency of the test class.
And S20, saving the data file stored with the test data in a preset path.
The preset path is a directory which is specified in advance to store the data file, and the preset path can be specifically set according to actual requirements. All the data files can be placed in the same preset path for convenient unified management.
It should be noted that, in the embodiment of the present invention, a plurality of classes to be tested may be included, each class to be tested corresponds to one data file, that is, each class to be tested has one data file with the same name as the class thereof, and for convenience of unified management, the data files corresponding to all classes to be tested are stored in one path, and the path is set according to actual requirements.
S30, when the class to be tested is tested, the storage path of the data file is obtained by obtaining the class name of the class to be tested.
In the embodiment of the invention, when the class to be tested is tested, the class name of the current class to be tested is dynamically acquired through the Reporter static class provided by the TestNG, namely the name of the data file is acquired, and then the storage path of the data file is acquired according to the acquired class name of the class to be tested. Specifically, the embodiment of the invention realizes the acquisition of the storage path of the data file by writing a Java class and naming the class as DataDriver. The DataDriver class is a basic class driven by the automatic test frame data and is used for realizing the automatic acquisition of the automatically operated test data, the class name of the class to be tested is acquired through a Reporter class in a structural function of the class, then a preset path is spliced and added, and finally a storage path of a data file is obtained.
In one embodiment, as shown in fig. 3, the step S30: obtaining the storage path of the data file by obtaining the class name of the class to be tested, comprising the following steps:
s301, obtaining the class name of the class to be tested through the static class of the Reporter.
The report static class is also a class provided by the TestNG open source test framework, the function of the report static class is to acquire process information in the running process of the test class, the process information is stored in the report static class, and the process information includes a test class name, namely the class name of the class to be tested.
S302, splicing the preset path and the class name of the class to be tested to obtain a storage path of the data file.
In the embodiment of the present invention, the preset path and the class name of the class to be tested are spliced, so that a path storing test data, that is, a storage path of a data file, can be obtained. For example, if the preset path for storing the Data file is D \ xx \ xx \ Data and the class name of the class to be tested is xxx.json, splicing the preset storage path D \ xx \ xx \ Data and the class name xxx.json to obtain the storage path D \ xx \ xx \ Data \ xxx.json of the Data file.
And S40, acquiring the test data in the data file through the storage path of the data file.
In one embodiment, as shown in fig. 4, the step S40: the method for acquiring the test data in the data file through the storage path of the data file comprises the following steps:
s401, reading the data file through the storage path of the data file, and storing the read test data into a JSON structure object.
Specifically, in order to facilitate storage and search of the program, the embodiment of the present invention may use an open source FastJson module in the DataDriver class to read the test data stored in the data file according to the storage path of the data file acquired in step S30, and store the test data in the JSON structure object, so as to acquire the test data in the data file from the JSON structure object in the subsequent step.
S402, obtaining the test data in the data file from the JSON structure object.
After the read test data is stored in the JSON structure object, the embodiment of the invention can acquire the test data in the data file from the JSON structure object. Specifically, the embodiment of the present invention may write a function called getMethodDataObj () in the DataDriver class, and use the function to obtain the test data in the test function. And calling the DataDriver class in the construction function of any class to be tested to read the test data of the whole class to be tested, and no longer needing to specifically specify which test data file, thereby reducing the redundancy and error probability of the case script codes and improving the development efficiency of the script.
It should be noted that, in the embodiment of the present invention, test data in the whole test class is read, that is, in the TestNG framework, there may be a plurality of classes to be tested, because there are a plurality of functions to be tested, generally, one test class of a functional module to an application includes a plurality of test methods, that is, test functions, and one test function applies actual test data.
In another embodiment provided by the present invention, the method further comprises: and putting the acquired test data in the data file into methodData to use the test data. Specifically, the test data corresponding to the test method is acquired by the getMethodDataObj () method, and the acquired test data is put into the methodData, so that the test data can be used.
The embodiment of the invention provides a loading method of test data, which comprises the steps of firstly creating a data file with the same name as a class to be tested; storing corresponding test data in the data file; then storing the data file storing the test data in a preset path; when the to-be-tested class is subjected to operation test, acquiring a storage path of the data file by acquiring a class name of the to-be-tested class; and finally, acquiring the test data in the data file through the storage path of the data file. Compared with the method name and Java class name of a data source required to be indicated in each test method at present, the embodiment of the invention creates a data file name with the same name as the test class in advance, stores the test data in the data file with the same name as the test data uniformly according to the format standard, standardizes the naming of the data file, and acquires the test data in the automatic operation process by utilizing the characteristic that the test class name is the same name as the data file, so that the automatic operation frame code does not need to write the test data file name in the code in advance, but is dynamically known, therefore, the test data loaded by the embodiment of the invention does not need to pay attention to the data source in the test case script code, the redundancy and error probability of the case script code are reduced, and the efficiency of script development is improved.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
In an embodiment, a device for loading test data is provided, and the device for loading test data corresponds to the method for loading test data in the above embodiments one to one. As shown in fig. 5, the test data loading apparatus includes a creating module 10, a storing module 20, a first obtaining module 30, and a second obtaining module 40. The functional modules are explained in detail as follows:
a creating module 10, configured to create a data file having the same name as the class to be tested; storing corresponding test data in the data file;
the storage module 20 is configured to store the data file in which the test data is stored in a preset path;
the first obtaining module 30 is configured to obtain a storage path of the data file by obtaining a class name of the class to be tested when the class to be tested is subjected to an operation test;
and the second obtaining module 40 is configured to obtain the test data in the data file through the storage path of the data file.
Specifically, the first obtaining module 30 includes:
an obtaining unit 31, configured to obtain a class name of the class to be tested through a Reporter static class;
and the splicing unit 32 is configured to splice the preset path and the class name of the class to be tested to obtain a storage path of the data file.
Specifically, the second obtaining module 40 includes:
a reading unit 41, configured to read the data file through a storage path of the data file, and store the read test data in a JSON structure object;
and an obtaining unit 42, configured to obtain the test data in the data file from the JSON structure object.
Specifically, the creating module 10 includes:
the creating unit 11 is configured to create a data file in a JSON format, which is the same name as the class to be tested, by using a text editor;
and the editing unit 12 is used for opening and editing the data file in the JSON format and adding test data in the JSON format.
Further, the apparatus further comprises:
and the storage module 50 is used for placing the acquired test data in the data file into the methodData so as to use the test data.
For specific limitations of the test data loading device, reference may be made to the above limitations on the test data loading method, which is not described herein again. The modules in the test data loading device can be wholly or partially implemented by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 6. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external server through a network connection. The computer program is executed by a processor to implement any one of the above-mentioned methods for loading test data.
In one embodiment, a computer device is provided, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the computer program:
creating a data file with the same name as the class to be tested; storing corresponding test data in the data file;
storing the data file storing the test data in a preset path;
when the to-be-tested class is subjected to operation test, acquiring a storage path of the data file by acquiring a class name of the to-be-tested class;
and acquiring the test data in the data file through the storage path of the data file.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
creating a data file with the same name as the class to be tested; storing corresponding test data in the data file;
storing the data file storing the test data in a preset path;
when the to-be-tested class is subjected to operation test, acquiring a storage path of the data file by acquiring a class name of the to-be-tested class;
and acquiring the test data in the data file through the storage path of the data file.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.

Claims (7)

1. A method for loading test data, the method comprising:
creating a data file with the same name as the class to be tested; storing corresponding test data in the data file;
storing the data file storing the test data in a preset path;
when the to-be-tested class is subjected to operation test, acquiring a storage path of the data file by acquiring a class name of the to-be-tested class;
acquiring test data in the data file through a storage path of the data file;
the creation of a data file with the same name as the class to be tested; and storing corresponding test data in the data file, including:
creating a data file with the same name as the class to be tested and in the JSON format by using a text editor; the storage mode of the JSON format is a key value pair;
opening and editing the data file in the JSON format, and adding test data in the JSON format;
the obtaining of the storage path of the data file by obtaining the class name of the class to be tested includes:
obtaining the class name of the class to be tested through the static class of the Reporter;
and splicing the preset path and the class name of the class to be tested to obtain a storage path of the data file.
2. The method for loading test data according to claim 1, wherein the obtaining test data in the data file through the storage path of the data file comprises:
reading the data file through the storage path of the data file, and storing the read test data into a JSON structure object;
and acquiring the test data in the data file from the JSON structure object.
3. A method for loading test data according to any one of claims 1-2, wherein the method further comprises:
and putting the acquired test data in the data file into methodData to use the test data.
4. An apparatus for loading test data, the apparatus comprising:
the creating module is used for creating a data file with the same name as the to-be-tested class; storing corresponding test data in the data file;
the storage module is used for storing the data file in which the test data is stored under a preset path;
the first acquisition module is used for acquiring the storage path of the data file by acquiring the class name of the class to be tested when the class to be tested is tested;
the second acquisition module is used for acquiring the test data in the data file through the storage path of the data file;
the creation module includes:
the creating unit is used for creating a JSON format data file with the same name as the class to be tested by using a text editor; the storage mode of the JSON format is a key value pair;
the editing unit is used for opening and editing the data file in the JSON format and adding test data in the JSON format;
the first obtaining module includes:
the acquisition unit is used for acquiring the class name of the class to be tested through the static class of the Reporter;
and the splicing unit is used for splicing the preset path and the class name of the class to be tested to obtain the storage path of the data file.
5. The apparatus for loading test data according to claim 4, wherein the second obtaining module comprises:
the reading unit is used for reading the data file through the storage path of the data file and storing the read test data into the JSON structure object;
and the acquisition unit is used for acquiring the test data in the data file from the JSON structure object.
6. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements a loading method of test data according to any one of claims 1 to 3 when executing the computer program.
7. A computer-readable storage medium, in which a computer program is stored, which, when being executed by a processor, implements a method of loading test data according to any one of claims 1 to 3.
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 CN109800154A (en) 2019-05-24
CN109800154B true 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)

Families Citing this family (10)

* 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
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
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
CN114490307A (en) * 2020-11-12 2022-05-13 腾讯科技(深圳)有限公司 Unit testing method, device and storage medium
CN112882931B (en) * 2021-02-06 2023-05-09 重庆富民银行股份有限公司 Automatic test method and device based on DDT
CN113377681A (en) * 2021-07-28 2021-09-10 中国工商银行股份有限公司 Test case data processing method and device, 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 (4)

* 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
CN105260318A (en) * 2015-11-25 2016-01-20 飞天诚信科技股份有限公司 Automatic testing method and device based on web pages
CN108563558A (en) * 2018-02-26 2018-09-21 南京粤讯电子科技有限公司 A kind of program testing method, test pile system and device
CN108932194A (en) * 2018-06-21 2018-12-04 北京京东金融科技控股有限公司 Automated testing method, device, system, medium and electronic equipment

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9164859B2 (en) * 2009-09-25 2015-10-20 Qualcomm Incorporated Computing device for enabling concurrent testing
CN102486749B (en) * 2010-12-03 2015-06-10 中兴通讯股份有限公司 Method and system for data driving test
CN106547681B (en) * 2015-09-18 2020-03-03 北京京东尚科信息技术有限公司 Method and device for testing data automatic loading and multiplexing simulation service
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
CN107729243B (en) * 2017-10-12 2020-06-16 上海携程金融信息服务有限公司 Application programming interface automatic test 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
CN109800154B (en) * 2018-12-15 2022-04-05 深圳壹账通智能科技有限公司 Test data loading method and device, computer equipment and storage medium

Patent Citations (4)

* 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
CN105260318A (en) * 2015-11-25 2016-01-20 飞天诚信科技股份有限公司 Automatic testing method and device based on web pages
CN108563558A (en) * 2018-02-26 2018-09-21 南京粤讯电子科技有限公司 A kind of program testing method, test pile system and device
CN108932194A (en) * 2018-06-21 2018-12-04 北京京东金融科技控股有限公司 Automated testing method, device, system, medium and electronic equipment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Data driven architecture based automated test generation for Android mobile;Anbunathan R等;《2015 IEEE International Conference on Computational Intelligence and Computing Research (ICCIC)》;20150321;第1-5页 *
基于Testng的Web接口测试的自动化框架设计与实现;蒋灵仙;《中国优秀硕士学位论文全文数据库 信息科技辑》;20170615(第2017(06)期);I138-807 *

Also Published As

Publication number Publication date
WO2020119422A1 (en) 2020-06-18
CN109800154A (en) 2019-05-24

Similar Documents

Publication Publication Date Title
CN109800154B (en) Test data loading method and device, computer equipment and storage medium
CN108876121B (en) Work order processing method and device, computer equipment and storage medium
CN112765023B (en) Test case generation method and device
CN110750441A (en) Automatic testing method and device, computer equipment and storage medium
CN108768728A (en) O&M task processing method, device, computer equipment and storage medium
CN111414391A (en) Method and system for accessing multiple data sources
CN104423961A (en) Method and system for generating testing script
CN113835713B (en) Source code packet downloading method, device, computer equipment and storage medium
CN111124872A (en) Branch detection method and device based on difference code analysis and storage medium
CN112527286A (en) Service code generation method and device, computer equipment and storage medium
CN115617780A (en) Data import method, device, equipment and storage medium
CN115269399A (en) Equipment stability testing method and device, computer equipment and storage medium
US20210026756A1 (en) Deriving software application dependency trees for white-box testing
CN111596931A (en) Application program packaging method and device, electronic equipment and readable storage medium
CN108776601A (en) Loading method, device, equipment and the storage medium of the Android H5 pages
CN113535581B (en) Test script generation method, device, equipment and computer readable storage medium
CN115374083A (en) Data source switching method and device, electronic equipment and storage medium
CN110955813A (en) Data crawling method and device
CN114237407A (en) Font icon processing method and device and computer readable storage medium
CN103150292A (en) Method and device for replacing system font file
CN114741296A (en) Unit testing method, unit testing device, electronic equipment and storage medium
CN111596997B (en) UI information request method, device, terminal and storage medium
CN114791884A (en) Test environment construction method and device, storage medium and electronic equipment
CN111371699B (en) Resource current limiting method and device, electronic equipment and storage medium
CN109324822B (en) PWA (public warning assistant) item detection method, computer-readable storage medium and terminal device

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