CN110765001A - Modularized automatic test method and device for application system - Google Patents

Modularized automatic test method and device for application system Download PDF

Info

Publication number
CN110765001A
CN110765001A CN201910877605.1A CN201910877605A CN110765001A CN 110765001 A CN110765001 A CN 110765001A CN 201910877605 A CN201910877605 A CN 201910877605A CN 110765001 A CN110765001 A CN 110765001A
Authority
CN
China
Prior art keywords
test
application system
target
test case
end page
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
CN201910877605.1A
Other languages
Chinese (zh)
Other versions
CN110765001B (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.)
Senauer Beth (beijing) Marketing Technology Ltd By Share Ltd
Original Assignee
Senauer Beth (beijing) Marketing Technology Ltd By Share 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 Senauer Beth (beijing) Marketing Technology Ltd By Share Ltd filed Critical Senauer Beth (beijing) Marketing Technology Ltd By Share Ltd
Publication of CN110765001A publication Critical patent/CN110765001A/en
Application granted granted Critical
Publication of CN110765001B publication Critical patent/CN110765001B/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
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

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 embodiment of the invention discloses a modular automatic test method and a device for an application system, wherein the method comprises the following steps: storing a module identifier corresponding to a functional module in an application system and a test case identifier corresponding to the functional module into a database, and constructing a mapping relation between the module identifier and the test case identifier; receiving a calling request of a construction page of a user side, inquiring a target test case from preset test cases according to the mapping relation, grouping the target test cases according to the functional modules, and feeding the grouped target test cases back to a front-end page of the user side to be displayed in a visual mode; and receiving the target test case selected and submitted by the user through the front-end page, and triggering and executing corresponding test operation according to the test mode. The method can realize the modular test operation based on the front-end page as required, and has flexible, simple and convenient operation, thereby improving the efficiency of executing the modular test operation by utilizing the test case.

Description

Modularized automatic test method and device for application system
Technical Field
The embodiment of the invention relates to the field of program testing, in particular to a modular automatic testing method and device for an application system, and further relates to electronic equipment and a computer readable storage medium.
Background
In recent years, with the rapid development of network technology, the automatic testing process of the application system realized based on the test cases is relatively mature, the number of the test cases to be managed is also multiplied, and meanwhile, as the functions of system products are more and more complex, the requirements on the flexibility and diversity of the test cases are more and more prominent, and the requirements on the management efficiency of the test cases are also continuously improved. However, some conventional management tools and management means cannot meet the requirements well, test cases to be executed cannot be selected flexibly according to requirements, meanwhile, the execution time of the test cases becomes longer and longer along with the increase of the coverage, the execution result can be checked after all the test cases are executed, the time for finding problems is delayed, the test process is not accurate enough, and the test efficiency is low.
Therefore, how to provide a flexible, simple and efficient modular test method for testing operations for users has become a key point for the development of the program test field.
Disclosure of Invention
Therefore, the embodiment of the invention provides a modular automatic test method for an application system, so as to solve the problem that the application system cannot be specifically tested according to a functional module or a test case in the prior art, and the test efficiency is low.
In order to achieve the above object, the embodiments of the present invention provide the following technical solutions:
in a first aspect, an embodiment of the present invention provides a modular automatic test method for an application system, including: storing a module identifier corresponding to a functional module in an application system and a test case identifier corresponding to the functional module into a database; constructing a mapping relation between the module identification and the test case identification; receiving a calling test request of a user side, inquiring a target test case from preset test cases according to the mapping relation, grouping the target test cases according to the functional modules, and feeding the grouped target test cases back to a front-end page of the user side to be displayed in a visual mode; and receiving the target test case selected and submitted by the user through the front-end page, and triggering and executing corresponding test operation according to a preset test mode.
Further, the front-end page is a modular front-end display page constructed based on a front-end Angularjs framework.
Further, the test case refers to a program document written according to actual requirements of a user and used for detecting whether defects exist in different functional modules in the application system.
Further, the receiving a call test request of a user side and querying a target test case from preset test cases according to the mapping relationship specifically includes: packaging an API interface in advance; and after receiving a call test request of a user side, inquiring the target test case from the test cases by utilizing an encapsulation API (application programming interface) according to the mapping relation.
Further, the receiving the target test case selected and submitted by the user through the front-end page triggers and executes a corresponding test operation according to a preset test mode, which specifically includes: receiving the target test case selected and submitted by a user through the front-end page, and triggering and executing corresponding test operation according to a preset complete execution case test mode; and/or receiving the target test case selected and submitted by the user through the front-end page, and triggering and executing corresponding test operation according to a preset module execution case test mode; and/or receiving the target test case selected and submitted by the user through the front-end page, and triggering and executing corresponding test operation according to a preset single execution case test mode.
Further, the modular automatic testing method for the application system further includes: the front-end page is provided with a virtual private network gateway and an account password login mechanism.
Further, the modular automatic testing method for the application system further includes: obtaining a test result executed by the target test case, and storing the test result in the database; and receiving a test result query request of the user side, querying a target test result from the database, and feeding the target test result back to the user side.
In a second aspect, an embodiment of the present invention further provides a modular automatic testing method for an application system, including: the test case storage unit is used for storing the module identification corresponding to the functional module in the application system and the test case identification corresponding to the functional module into a database; the mapping relation construction unit is used for constructing the mapping relation between the module identification and the test case identification; the query display unit is used for receiving a call test request of a user side, querying a target test case from preset test cases according to the mapping relation, grouping the target test cases according to the functional modules, and feeding the grouped target test cases back to a front-end page of the user side for display in a visual mode; and the execution test unit is used for receiving the target test case selected and submitted by the user through the front-end page and triggering and executing corresponding test operation according to a preset test mode.
Further, the front-end page is a modular front-end display page constructed based on a front-end Angularjs framework.
Further, the test case refers to a program document written according to actual requirements of a user and used for detecting whether defects exist in different functional modules in the application system.
Further, the query presentation unit is specifically configured to: packaging an API interface in advance; and after receiving a call test request of a user side, inquiring the target test case from the test cases by utilizing an encapsulation API (application programming interface) according to the mapping relation.
Further, the execution test unit is specifically configured to: receiving the target test case selected and submitted by a user through the front-end page, and triggering and executing corresponding test operation according to a preset complete execution case test mode; and/or receiving the target test case selected and submitted by the user through the front-end page, and triggering and executing corresponding test operation according to a preset module execution case test mode; and/or receiving the target test case selected and submitted by the user through the front-end page, and triggering and executing corresponding test operation according to a preset single execution case test mode.
Further, the modular automatic testing apparatus for an application system further includes: and the safety mechanism unit is used for setting a virtual private network gateway and an account password login mechanism on the front-end page.
Further, the modular automatic testing apparatus for an application system further includes: the test result unit is used for obtaining the test result executed by the target test case and storing the test result into the database; and receiving a test result query request of the user side, querying a target test result from the database, and feeding the target test result back to the user side.
In a third aspect, an embodiment of the present invention further provides an electronic device, including: a processor and a memory; the memory is configured to store a program of a modular automatic test method for an application system, and after the electronic device is powered on and runs the program of the modular automatic test method for the application system through the processor, the electronic device executes any one of the above modular automatic test methods for the application system.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium contains one or more program instructions, and the one or more program instructions are used for a server to execute any one of the above modular automatic test methods for an application system.
By adopting the modular automatic test method aiming at the application system, the modular test operation can be realized based on the front-end page as required, the operation is flexible, simple and convenient, and the efficiency and the accuracy of performing the modular test operation by using the test case are improved, so that the use experience of a user is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below. It should be apparent that the drawings in the following description are merely exemplary, and that other embodiments can be derived from the drawings provided by those of ordinary skill in the art without inventive effort.
Fig. 1 is a flowchart of a modular automatic testing method for an application system according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a modular automatic test apparatus for an application system according to an embodiment of the present invention;
fig. 3 is a schematic diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The present invention is described in terms of particular embodiments, other advantages and features of the invention will become apparent to those skilled in the art from the following disclosure, and it is to be understood that the described embodiments are merely exemplary of the invention and that it is not intended to limit the invention to the particular embodiments disclosed. 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.
The following describes an embodiment of the modular automatic testing method for an application system in detail based on the invention. As shown in fig. 1, which is a flowchart of a modular automatic testing method for an application system according to an embodiment of the present invention, a specific implementation process includes the following steps:
step S101: and storing the module identification corresponding to the functional module in the application system and the test case identification corresponding to the functional module into a database.
A test case may refer to a set of test inputs, execution conditions, and expected results developed for a particular application system or software program, or may refer to a test script written for automated testing. In the embodiment of the present invention, the test case may be a program document written according to actual requirements of a user and used to detect whether different functional modules in an application system have defects, and the purpose of the test case is to determine whether a certain characteristic of an application program is working normally.
The application system can be divided into different functional modules according to the functional difference, and different test cases are respectively set according to the different functional modules in advance, such as: the application system for conference management may include: an A module for online conference management, a B module for offline conference management and the like, and respectively generate a name identifier 'online conference module' corresponding to the A module and a name identifier 'offline conference module' corresponding to the B module; furthermore, compiling a test case A aiming at the online conference module and compiling a test case B aiming at the offline conference module; and finally, storing the test cases, the name identifications and the like into a preset MySQL database. The MySQL database is an open-source relational database management system, and is usually managed by using a Structured Query Language (SQL).
Step S102: and constructing a mapping relation between the module identification and the test case identification.
In this step, a mapping relationship between the module identifier of the module and the test case identifier may be constructed in the MySQL database, and stored. Wherein the module identification may be a name identification.
Step S103: receiving a calling test request of a user side, inquiring a target test case from preset test cases according to the mapping relation, grouping the target test cases according to the functional modules, and feeding the grouped target test cases back to a front-end page of the user side to display the target test cases in a visual mode.
After the mapping relationship is constructed in step S102, an Application Programming Interface (API) Interface may be encapsulated in advance in this step, and after a call test request sent by a user end is received, a target test case to be executed is queried from the test cases in the database through the encapsulated API Interface according to the mapping relationship. Grouping the inquired target test cases according to the functional modules, feeding the grouped target test cases back to a front-end page of the user side to be displayed in a visual mode, and clicking to submit and execute the target test cases after the user can select the corresponding target test cases according to needs through the front-end page of the user side, so that the user can conveniently and flexibly operate.
In the embodiment of the invention, the front-end page is a modular front-end display page constructed based on a front-end Angularljs frame. The packaged API interface is a communication bridge between the front-end page and the back-end server, the back-end server can return data required by the front-end page according to an agreed interface format, and the front-end page acquires the data through an HTTP request and presents the data at the user side.
In addition, in order to ensure the safety of the application system test, the front-end page is provided with a virtual private network gateway and an account password login mechanism, and a user needs to login through the virtual private network gateway and the account password based on the execution process of the front-end page presented on the user terminal.
Step S104: and receiving the target test case selected and submitted by the user through the front-end page, and triggering and executing corresponding test operation according to a preset test mode.
In the embodiment of the present invention, the preset test mode may include a complete execution case test mode, a module execution case test mode, a single complete execution case test mode, and the like, which is not limited herein.
Correspondingly, the receiving user triggers and executes a corresponding test operation according to a preset test mode by the target test case selected and submitted by the front-end page, and the specific implementation manner may include: a. receiving the target test case selected and submitted by a user through the front-end page, and triggering and executing corresponding test operation according to a preset complete execution case test mode; b. receiving the target test case selected and submitted by a user through the front-end page, and triggering and executing corresponding test operation according to a preset module execution case test mode; c. and receiving the target test case selected and submitted by the user through the front-end page, and triggering and executing corresponding test operation according to a preset single execution case test mode.
Furthermore, in the actual implementation process, after the test case is executed, the test result executed by the target test case can be obtained, and the test result is stored in the database; after receiving the test result query request of the user side, an API (application programming interface) interface can be called to query a target test result corresponding to the test result query request from the database, and the target test result is fed back to the user side and displayed in a visual mode through a front-end page of the user side.
By adopting the modular automatic test method aiming at the application system, the modular test operation can be realized based on the front-end page as required, the operation is flexible, simple and convenient, and the efficiency and pertinence of the modular test operation executed by using the test case are improved, so that the use experience of a user is improved.
Corresponding to the modularized automatic test method for the application system, the invention also provides a modularized automatic test device for the application system. Since the embodiment of the apparatus is similar to the above method embodiment, the description is simple, and please refer to the description of the above method embodiment, and the following description is only illustrative of an embodiment of a modular automatic test apparatus for an application system. Fig. 2 is a schematic diagram of a modular automatic test apparatus for an application system according to an embodiment of the present invention.
The invention relates to a modularized automatic testing device for an application system, which comprises the following parts:
the test case storage unit 201 is configured to store a module identifier corresponding to a functional module in the application system and a test case identifier corresponding to the functional module in a database.
In the embodiment of the present invention, the test case may be a program document written according to actual requirements of a user and used to detect whether different functional modules in an application system have defects, and the purpose of the test case is to determine whether a certain characteristic of an application program is working normally. The application system can be divided into different functional modules according to the functional difference, and different test cases are respectively set according to the different functional modules in advance, such as: the application system for conference management may include: an A module for online conference management, a B module for offline conference management and the like, and respectively generate a name identifier 'online conference module' corresponding to the A module and a name identifier 'offline conference module' corresponding to the B module; furthermore, compiling a test case A aiming at the online conference module and compiling a test case B aiming at the offline conference module; and finally, storing the test cases, the name identifications and the like into a preset MySQL database. MySQL data may be an open source relational database management system, which typically uses Structured Query Language (SQL) for database management.
A mapping relationship constructing unit 202, configured to construct a mapping relationship between the module identifier and the test case identifier.
The mapping relationship between the module identifier of the MySQL database construction module and the test case identifier may be used in the mapping relationship construction unit 202, and stored. Wherein the module identification may be a name identification.
The query display unit 203 is configured to receive a call test request from a user side, query a target test case from preset test cases according to the mapping relationship, group the target test case according to the functional modules, and feed the grouped target test case back to a front-end page of the user side to display the target test case in a visual manner.
After the mapping relationship is constructed in the mapping relationship construction unit 202, the query presentation unit 203 may package an Application Programming Interface (API) Interface in advance, and query a target test case to be executed from the test cases in the database through the packaged API Interface according to the mapping relationship after receiving a call test request sent by a user. Grouping the inquired target test cases according to the functional modules, feeding the grouped target test cases back to a front-end page of the user side to be displayed in a visual mode, and clicking to submit and execute the target test cases after the user can select the corresponding target test cases according to needs through the front-end page of the user side, so that the user can conveniently and flexibly operate.
In the embodiment of the invention, the front-end page is a modular front-end display page constructed based on a front-end Angularljs frame. The packaged API interface is a communication bridge between the front-end page and the back-end server, the back-end server can return data required by the front-end page according to an agreed interface format, and the front-end page acquires the data through an HTTP request and presents the data at the user side.
In addition, in order to ensure the safety of the application system test, the front-end page is provided with a virtual private network gateway and an account password login mechanism, and a user needs to login through the virtual private network gateway and the account password based on the execution process of the front-end page presented on the user terminal.
And the execution test unit 204 is configured to receive the target test case selected and submitted by the user through the front-end page, and trigger to execute a corresponding test operation according to a preset test mode.
In the embodiment of the present invention, the preset test mode may include a complete execution case test mode, a module execution case test mode, a single complete execution case test mode, and the like, which is not limited herein.
Correspondingly, the receiving user triggers and executes a corresponding test operation according to a preset test mode by the target test case selected and submitted by the front-end page, and the specific implementation manner may include: a. receiving the target test case selected and submitted by a user through the front-end page, and triggering and executing corresponding test operation according to a preset complete execution case test mode; b. receiving the target test case selected and submitted by a user through the front-end page, and triggering and executing corresponding test operation according to a preset module execution case test mode; c. and receiving the target test case selected and submitted by the user through the front-end page, and triggering and executing corresponding test operation according to a preset single execution case test mode.
Furthermore, in the actual implementation process, after the test case is executed, the test result executed by the target test case can be obtained, and the test result is stored in the database; after receiving the test result query request of the user side, an API (application programming interface) interface can be called to query a target test result corresponding to the test result query request from the database, and the target test result is fed back to the user side and displayed in a visual mode through a front-end page of the user side.
The modularized automatic testing device for the application system can realize modularized testing operation based on the front-end page as required, is flexible and simple to operate, and improves the efficiency and pertinence of executing the modularized testing operation by using the test case, thereby improving the use experience of a user.
Corresponding to the modularized automatic test method for the application system, the invention also provides electronic equipment. Since the embodiment of the electronic device is similar to the above method embodiment, the description is relatively simple, and please refer to the description of the above method embodiment, and the electronic device described below is only schematic. Fig. 3 is a schematic view of an electronic device according to an embodiment of the present invention.
The electronic device specifically includes: a processor 301 and a memory 302; the memory 302 is configured to run one or more program instructions, and is configured to store a program of a modular automatic test method for an application system, and after the server is powered on and runs the program of the modular automatic test method for the application system through the processor 301, the server executes any one of the above modular automatic test methods for the application system. The electronic device of the present invention may be a server.
Corresponding to the modularized automatic test method for the application system, the invention also provides a computer storage medium. Since the embodiment of the computer storage medium is similar to the above method embodiment, the description is simple, and please refer to the description of the above method embodiment, and the computer storage medium described below is only schematic.
The computer storage medium contains one or more program instructions for the server to execute the modular automatic test method for the application system.
In an embodiment of the present invention, the processor or the processing module may be an integrated circuit chip having signal processing capability. The Processor may be a general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component.
The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The processor reads the information in the storage medium and completes the steps of the method in combination with the hardware.
The storage medium may be a memory, for example, which may be volatile memory or nonvolatile memory, or which may include both volatile and nonvolatile memory.
The nonvolatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory.
The volatile Memory may be a Random Access Memory (RAM) which serves as an external cache. By way of example and not limitation, many forms of RAM are available, such as Static random access memory (Static RAM, SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (ddr Data Rate SDRAM), Enhanced SDRAM (ESDRAM), synclink DRAM (SLDRAM), and Direct memory bus RAM (DRRAM).
The storage media described in connection with the embodiments of the invention are intended to comprise, without being limited to, these and any other suitable types of memory.
Those skilled in the art will appreciate that the functionality described in the present invention may be implemented in a combination of hardware and software in one or more of the examples described above. When software is applied, the corresponding functionality may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
The above-mentioned embodiments, objects, technical solutions and advantages of the present invention are further described in detail, it should be understood that the above-mentioned embodiments are only exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made on the basis of the technical solutions of the present invention should be included in the scope of the present invention.

Claims (10)

1. A modular automatic test method for an application system is characterized by comprising the following steps:
storing a module identifier corresponding to a functional module in an application system and a test case identifier corresponding to the functional module into a database;
constructing a mapping relation between the module identification and the test case identification;
receiving a calling test request of a user side, inquiring a target test case from preset test cases according to the mapping relation, grouping the target test cases according to the functional modules, and feeding the grouped target test cases back to a front-end page of the user side to be displayed in a visual mode;
and receiving the target test case selected and submitted by the user through the front-end page, and triggering and executing corresponding test operation according to a preset test mode.
2. The method for modular automatic testing of an application system according to claim 1, wherein the front-end page is a modular front-end presentation page constructed based on a front-end Angularjs framework.
3. The method according to claim 1, wherein the test case is a program document written according to actual requirements of a user for detecting whether defects exist in different functional modules in the application system.
4. The method according to claim 1, wherein the receiving a call test request from a user side and querying a target test case from preset test cases according to the mapping relationship specifically includes:
packaging an API interface in advance;
and after receiving a call test request of a user side, inquiring the target test case from the test cases by utilizing an encapsulation API (application programming interface) according to the mapping relation.
5. The method according to claim 1, wherein the receiving the target test case selected and submitted by the user through the front-end page triggers execution of a corresponding test operation according to a preset test mode, specifically comprising:
receiving the target test case selected and submitted by a user through the front-end page, and triggering and executing corresponding test operation according to a preset complete execution case test mode; and/or the presence of a gas in the gas,
receiving the target test case selected and submitted by a user through the front-end page, and triggering and executing corresponding test operation according to a preset module execution case test mode; and/or the presence of a gas in the gas,
and receiving the target test case selected and submitted by the user through the front-end page, and triggering and executing corresponding test operation according to a preset single execution case test mode.
6. The modular automatic test method for application systems according to claim 1, further comprising: the front-end page is provided with a virtual private network gateway and an account password login mechanism.
7. The modular automatic test method for application systems according to claim 1, further comprising:
obtaining a test result executed by the target test case, and storing the test result in the database;
and receiving a test result query request of the user side, querying a target test result from the database, and feeding the target test result back to the user side.
8. A modular automatic test method for an application system is characterized by comprising the following steps:
the test case storage unit is used for storing the module identification corresponding to the functional module in the application system and the test case identification corresponding to the functional module into a database;
the mapping relation construction unit is used for constructing the mapping relation between the module identification and the test case identification;
the query display unit is used for receiving a call test request of a user side, querying a target test case from preset test cases according to the mapping relation, grouping the target test cases according to the functional modules, and feeding the grouped target test cases back to a front-end page of the user side for display in a visual mode;
and the execution test unit is used for receiving the target test case selected and submitted by the user through the front-end page and triggering and executing corresponding test operation according to a preset test mode.
9. An electronic device, comprising:
a processor; and
a memory for storing a program of a modular automatic test method for an application system, wherein the electronic device executes the modular automatic test method for an application system according to any one of claims 1 to 7 after being powered on and running the program of the modular automatic test method for an application system through the processor.
10. A computer-readable storage medium containing one or more program instructions for execution by a server of the modular automatic testing method for an application system of any of claims 1-7.
CN201910877605.1A 2019-09-06 2019-09-17 Modularized automatic test method and device for application system Active CN110765001B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910844312 2019-09-06
CN2019108443123 2019-09-06

Publications (2)

Publication Number Publication Date
CN110765001A true CN110765001A (en) 2020-02-07
CN110765001B CN110765001B (en) 2023-04-07

Family

ID=69330014

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910877605.1A Active CN110765001B (en) 2019-09-06 2019-09-17 Modularized automatic test method and device for application system

Country Status (1)

Country Link
CN (1) CN110765001B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111352668A (en) * 2020-02-27 2020-06-30 珠海格力智能装备有限公司 Device testing method and device based on plug-in and testing system based on plug-in
CN111464381A (en) * 2020-03-26 2020-07-28 深圳市万事富科技有限公司 Test method of mobile phone software function app
CN111552634A (en) * 2020-03-30 2020-08-18 深圳壹账通智能科技有限公司 Method and device for testing front-end system and storage medium
CN112115057A (en) * 2020-09-24 2020-12-22 京东数字科技控股股份有限公司 Automatic test method, device and equipment for application program page building process
CN113448839A (en) * 2020-12-24 2021-09-28 北京新氧科技有限公司 Application program testing method, device, equipment and storage medium
CN114338489A (en) * 2021-12-29 2022-04-12 深圳市捷视飞通科技股份有限公司 Automatic testing method, device, equipment and storage medium for multimedia conference system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006260390A (en) * 2005-03-18 2006-09-28 Nomura Research Institute Ltd Test case generating program and method
CN102063372A (en) * 2010-12-30 2011-05-18 浪潮集团山东通用软件有限公司 Main key driven modularized automated test method
CN104834595A (en) * 2015-02-15 2015-08-12 网易(杭州)网络有限公司 Visual automatic test method and system
CN107256195A (en) * 2017-06-08 2017-10-17 武汉斗鱼网络科技有限公司 Webpage front-end method of testing and device
CN107341080A (en) * 2017-07-07 2017-11-10 郑州云海信息技术有限公司 A kind of test case management system and method
CN110046101A (en) * 2019-04-15 2019-07-23 腾讯音乐娱乐科技(深圳)有限公司 Page automated testing method, device and computer storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006260390A (en) * 2005-03-18 2006-09-28 Nomura Research Institute Ltd Test case generating program and method
CN102063372A (en) * 2010-12-30 2011-05-18 浪潮集团山东通用软件有限公司 Main key driven modularized automated test method
CN104834595A (en) * 2015-02-15 2015-08-12 网易(杭州)网络有限公司 Visual automatic test method and system
CN107256195A (en) * 2017-06-08 2017-10-17 武汉斗鱼网络科技有限公司 Webpage front-end method of testing and device
CN107341080A (en) * 2017-07-07 2017-11-10 郑州云海信息技术有限公司 A kind of test case management system and method
CN110046101A (en) * 2019-04-15 2019-07-23 腾讯音乐娱乐科技(深圳)有限公司 Page automated testing method, device and computer storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
CHRIS NORTH 等: "Visualization schemas and a web-based architecture for custom multiple-view visualization of multiple-table databases", 《INFORMATION VISUALIZATION》 *
周晓康 等: "Web应用功能交互的建模与测试用例生成", 《计算机工程与设计》 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111352668A (en) * 2020-02-27 2020-06-30 珠海格力智能装备有限公司 Device testing method and device based on plug-in and testing system based on plug-in
CN111464381A (en) * 2020-03-26 2020-07-28 深圳市万事富科技有限公司 Test method of mobile phone software function app
CN111552634A (en) * 2020-03-30 2020-08-18 深圳壹账通智能科技有限公司 Method and device for testing front-end system and storage medium
CN112115057A (en) * 2020-09-24 2020-12-22 京东数字科技控股股份有限公司 Automatic test method, device and equipment for application program page building process
CN113448839A (en) * 2020-12-24 2021-09-28 北京新氧科技有限公司 Application program testing method, device, equipment and storage medium
CN113448839B (en) * 2020-12-24 2024-01-26 北京新氧科技有限公司 Application program testing method, device, equipment and storage medium
CN114338489A (en) * 2021-12-29 2022-04-12 深圳市捷视飞通科技股份有限公司 Automatic testing method, device, equipment and storage medium for multimedia conference system
CN114338489B (en) * 2021-12-29 2024-03-15 深圳市捷视飞通科技股份有限公司 Automatic test method, device, equipment and storage medium for multimedia conference system

Also Published As

Publication number Publication date
CN110765001B (en) 2023-04-07

Similar Documents

Publication Publication Date Title
CN110765001B (en) Modularized automatic test method and device for application system
CN109474578B (en) Message checking method, device, computer equipment and storage medium
CN109460527B (en) Product data configuration method, device, computer equipment and storage medium
CN107193750B (en) Script recording method and device
CN108427705B (en) Electronic device, distributed system log query method and storage medium
CN108573371B (en) Data approval method, device, computer equipment and storage medium
CN109582303B (en) General component calling method, device, computer equipment and storage medium
CN105302710A (en) Method and apparatus for determining test case in need of regression testing
CN109857404B (en) SDK interface packaging method and device, storage medium and electronic equipment
US10963888B2 (en) Payment complaint method, device, server and readable storage medium
WO2021218178A1 (en) Automatic report generation method, device, computer apparatus, and storage medium
CN110716878B (en) Automatic interface testing method, device and system
WO2020233091A1 (en) Method and apparatus for service data rollback, computer device and storage medium
CN110908778B (en) Task deployment method, system and storage medium
CN111831542B (en) API application debugging method and device and storage medium
CN110826978A (en) Unified backlog processing method and device based on enterprise browser
CN110267215B (en) Data detection method, equipment and storage medium
CN109062925A (en) Automatically generate the method, apparatus, computer equipment and storage medium of insert sentence
CN111638873A (en) Program code generation method and device, computer equipment and storage medium
CN110636106A (en) Information pushing method and device, computer equipment and storage medium
CN110750443A (en) Webpage testing method and device, computer equipment and storage medium
CN111858296A (en) Interface test method, device, equipment and storage medium
CN111615688A (en) Assertion verification code binding method and device
CN108170551B (en) Crawler system based front-end and back-end error processing method, server and storage medium
KR101689984B1 (en) Programmable controller, programmable controller system, and execute error information creation method

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