CN111897714B - Test data precipitation method, device and system based on auxiliary test tool - Google Patents

Test data precipitation method, device and system based on auxiliary test tool Download PDF

Info

Publication number
CN111897714B
CN111897714B CN202010585500.1A CN202010585500A CN111897714B CN 111897714 B CN111897714 B CN 111897714B CN 202010585500 A CN202010585500 A CN 202010585500A CN 111897714 B CN111897714 B CN 111897714B
Authority
CN
China
Prior art keywords
test
tax
data
test case
information
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
CN202010585500.1A
Other languages
Chinese (zh)
Other versions
CN111897714A (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.)
Foresee Technology Co ltd
Original Assignee
Foresee 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 Foresee Technology Co ltd filed Critical Foresee Technology Co ltd
Priority to CN202010585500.1A priority Critical patent/CN111897714B/en
Publication of CN111897714A publication Critical patent/CN111897714A/en
Application granted granted Critical
Publication of CN111897714B publication Critical patent/CN111897714B/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
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • 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
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/12Accounting
    • G06Q40/123Tax preparation or submission

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • General Physics & Mathematics (AREA)
  • Finance (AREA)
  • General Engineering & Computer Science (AREA)
  • Development Economics (AREA)
  • Quality & Reliability (AREA)
  • Computer Hardware Design (AREA)
  • Marketing (AREA)
  • Technology Law (AREA)
  • Economics (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a test data precipitation method based on an auxiliary test tool, which is executed by the auxiliary test tool and comprises the following steps: acquiring account information from an electronic tax system, and extracting test case data; copying tax information in the account information, replacing tax payer identification numbers in the test case data with the tax information to obtain test case data containing the tax information, and storing the test case data containing the tax information in an automatic test platform database; extracting the test case data containing tax information in the automatic test platform database, and importing the tax information in the test case data containing tax information into a form filling page of the electronic tax system to replace manual filling of a large amount of form data; the invention realizes multiplexing of test data and provides massive data support for subsequent test work.

Description

Test data precipitation method, device and system based on auxiliary test tool
Technical Field
The present invention relates to the field of data testing technologies, and in particular, to a test data precipitation method, device and system based on an auxiliary test tool.
Background
The existing test data creation flow is: manually writing and inserting or updating SQL by a tester, manufacturing or modifying test case data, and manufacturing different test case data according to different service types; or the page of the form verification needs to be filled with a large amount of data manually for functional verification, and whether the input box needs necessary data is checked. The idea of the section programming is a technology of dynamically adding functions to a program without modifying source codes, and the section programming can be conveniently realized by using a self-grinding frame in background development.
However, the declaration service is various and complex; especially in tax industry, since tax policy is frequently changed, the business involves a large amount of business data calculation, the accuracy requirement of the data calculation is high, a large amount of input and submitting operations are needed during testing, and contents such as a test calculation formula, data verification and the like are tested. The manual test is low in efficiency, the regression test is frequent, the repeated labor is boring, the test data cannot be reused, the inheritance is not available, and the test quality is not absolutely guaranteed. In development of an electronic tax system, the service codes of the system are often required to be adjusted according to different national policies, and when the service codes are adjusted, testers cannot input the service codes into maintenance and update of test case data like the effort input by developers, so that the test case data cannot keep up with iterative update of the codes.
Disclosure of Invention
The invention provides a test data precipitation method, device and system based on an auxiliary test tool, which can realize multiplexing of test data and provide massive data support for subsequent test work.
In order to solve the above technical problems, an embodiment of the present invention provides a test data precipitation method based on an auxiliary test tool, which is executed by the auxiliary test tool, and includes:
triggering a data acquisition instruction after the auxiliary testing tool is injected into the electronic tax system, so as to acquire account information from the electronic tax system in response to the data acquisition instruction, and extracting test case data;
copying tax information in the account information, replacing tax payer identification numbers in the test case data with the tax information to obtain test case data containing the tax information, and storing the test case data containing the tax information in an automatic test platform database;
extracting the test case data containing tax information in the automatic test platform database, and importing the tax information in the test case data containing tax information into a form filling page of the electronic tax system to replace manual filling of a large amount of form data.
Preferably, the tax information includes a tax payer identification number and declaration information thereof.
The embodiment of the invention also provides a test data precipitation device, which comprises:
the data acquisition module is used for triggering a data acquisition instruction after the auxiliary test tool is injected into the electronic tax system, so as to acquire account information from the electronic tax system in response to the data acquisition instruction and extract test case data;
the copying and transferring module is used for copying tax information in the account information, replacing a tax payer identification number in the test case data with the tax information to obtain test case data containing the tax information, and storing the test case data containing the tax information in an automatic test platform database;
the data multiplexing module is used for extracting the test case data containing tax information in the automatic test platform database and importing the tax information in the test case data containing tax information into a form filling page of the electronic tax system so as to replace manual filling of a large amount of form data.
Preferably, the tax information includes a tax payer identification number and declaration information thereof.
The embodiment of the invention also provides a test data precipitation system, which comprises: the system comprises a server, an electronic tax system, an auxiliary testing tool and an automatic testing platform;
the server is used for responding to the test case request instruction and determining to inject an auxiliary test tool according to the rule configuration;
the electronic tax system is used for transmitting account information to the auxiliary test tool;
the auxiliary test tool is used for executing the test data precipitation method based on the auxiliary test tool according to any one of the above embodiments;
the automatic test platform is used for managing the test case data containing tax information and precipitating the data to a test case big database.
Preferably, the specific step of managing the test case data containing tax information includes: and distributing scenes and associated tax types to each piece of test case data.
The embodiment of the invention also provides a computer readable storage medium, which comprises a stored computer program; wherein the computer program, when run, controls a device in which the computer readable storage medium resides to perform the auxiliary test tool based test data precipitation method as claimed in any one of the preceding claims.
The embodiment of the invention also provides a terminal device, which comprises a processor, a memory and a computer program stored in the memory and configured to be executed by the processor, wherein the processor realizes the test data precipitation method based on the auxiliary test tool when executing the computer program.
Compared with the prior art, the embodiment of the invention has the following beneficial effects:
1. the invention obtains the data of the current login account of the electronic tax system under the condition of not modifying the application source code, clones, modifies and stores the data, precipitates the data into test data of a service test environment, forms a large database of test case data, and provides mass data support for tax service test.
2. The functions and the business of the original system are not affected, and the coupling of the auxiliary testing tool and the electronic tax system is low.
3. The labor intensity of the testers is reduced, and the testing quality is improved.
4. And the system can be flexibly started and closed according to the configuration.
Drawings
Fig. 1: the method is a first flow chart of the test data precipitation method based on the auxiliary test tool;
fig. 2: the second flow chart of the test data precipitation method based on the auxiliary test tool is provided.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Referring to fig. 1 and 2, a test data precipitation method based on an auxiliary test tool is provided in a preferred embodiment of the present invention, and the method is performed by the auxiliary test tool, and includes:
s1, after an auxiliary testing tool is injected into an electronic tax system, triggering a data acquisition instruction to acquire account information from the electronic tax system in response to the data acquisition instruction, and extracting test case data.
S2, copying tax information in the account information, replacing tax payer identification numbers in the test case data with the tax information to obtain test case data containing the tax information, and storing the test case data containing the tax information in an automatic test platform database; in this embodiment, the tax information includes a tax payer identification number and its declaration information.
S3, extracting the test case data containing tax information in the automatic test platform database, and importing the tax information in the test case data containing tax information into a form filling page of the electronic tax system to replace manual filling of a large amount of form data.
Correspondingly, the embodiment of the invention also provides a test data precipitation device, which comprises:
the data acquisition module is used for triggering a data acquisition instruction after the auxiliary test tool is injected into the electronic tax system, so as to respond to the data acquisition instruction to acquire account information from the electronic tax system and extract test case data.
The copying and transferring module is used for copying tax information in the account information, replacing a tax payer identification number in the test case data with the tax information to obtain test case data containing the tax information, and storing the test case data containing the tax information in an automatic test platform database; in this embodiment, the tax information includes a tax payer identification number and its declaration information.
The data multiplexing module is used for extracting the test case data containing tax information in the automatic test platform database and importing the tax information in the test case data containing tax information into a form filling page of the electronic tax system so as to replace manual filling of a large amount of form data.
The embodiment of the invention also provides a test data precipitation system, which comprises: the system comprises a server, an electronic tax system, an auxiliary testing tool and an automatic testing platform;
the server is used for responding to the test case request instruction and determining to inject an auxiliary test tool according to the rule configuration;
the electronic tax system is used for transmitting account information to the auxiliary test tool;
the auxiliary test tool is used for executing the test data precipitation method based on the auxiliary test tool according to any one of the above embodiments;
the automatic test platform is used for managing the test case data containing tax information and precipitating the data to a test case big database. In this embodiment, the specific step of managing the test case data containing tax information includes: and distributing scenes and associated tax types to each piece of test case data.
The method comprises the following steps:
1. the browser requests the server for an electronic tax system HTML page.
2. And the electronic tax system decides whether to inject the auxiliary test tool according to the rule configuration, if not, the server returns the original electronic tax system, and if so, the server returns the electronic tax system injected with the auxiliary test tool.
3. The auxiliary test tool can copy, restore and multiplex test case data, and is applied to a new service scene, and the specific flow is as follows:
(1) Replication: the auxiliary testing tool is injected into the electronic tax system to acquire data in the electronic tax system, such as tax payer identification numbers, declaration information thereof and the like. Then copying account information, replacing tax information with tax payer identification number, and changing the tax information into new test case data which already has tax information;
(2) And (3) transferring: the auxiliary test tool stores the copied test case data into an automatic test platform database;
(3) Multiplexing: the auxiliary test tool acquires the copied test case data from the automatic test platform database, and the tax information is imported into the form filling page of the electronic tax system to replace manual filling of a large amount of form data.
4. The automatic test platform manages the test case data transferred by the auxiliary test tool, distributes scenes to each piece of test case data, associates tax types and deposits the tax types into a test case large database.
The method acquires the data of the current login account of the electronic tax system under the condition of not modifying the application source code: cloning, modifying and storing the data through an auxiliary testing tool, and precipitating service testing environment testing data to form a testing case data large database; the method and the system realize the management and multiplexing of the data through the automatic test platform and provide massive data support for tax business test.
The embodiment of the invention also provides a computer readable storage medium, which comprises a stored computer program; the computer program controls the device where the computer readable storage medium is located to execute the test data precipitation method based on the auxiliary test tool according to any one of the above embodiments when running.
The embodiment of the invention also provides a terminal device, which comprises a processor, a memory and a computer program stored in the memory and configured to be executed by the processor, wherein the processor realizes the test data precipitation method based on the auxiliary test tool according to any embodiment when executing the computer program.
Preferably, the computer program may be divided into one or more modules/units (e.g., computer program) stored in the memory and executed by the processor to perform the present invention. The one or more modules/units may be a series of computer program instruction segments capable of performing the specified functions, which instruction segments are used for describing the execution of the computer program in the terminal device.
The processor may be a central processing unit (Central Processing Unit, CPU), or may be other general purpose processor, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), off-the-shelf programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, etc., or the general purpose processor may be a microprocessor, or any conventional processor, which is the control center of the terminal device, that connects the various parts of the terminal device using various interfaces and lines.
The memory mainly includes a program storage area, which may store an operating system, an application program required for at least one function, and the like, and a data storage area, which may store related data and the like. In addition, the memory may be a high-speed random access memory, a nonvolatile memory such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash Card (Flash Card), or the like, or may be other volatile solid-state memory devices.
It should be noted that the above-mentioned terminal device may include, but is not limited to, a processor, a memory, and those skilled in the art will understand that the above-mentioned terminal device is merely an example, and does not constitute limitation of the terminal device, and may include more or fewer components, or may combine some components, or different components.
The foregoing embodiments have been provided for the purpose of illustrating the general principles of the present invention, and are not to be construed as limiting the scope of the invention. It should be noted that any modifications, equivalent substitutions, improvements, etc. made by those skilled in the art without departing from the spirit and principles of the present invention are intended to be included in the scope of the present invention.

Claims (6)

1. A test data precipitation method based on an auxiliary test tool, characterized by being executed by the auxiliary test tool, comprising:
triggering a data acquisition instruction after the auxiliary testing tool is injected into the electronic tax system, so as to acquire account information from the electronic tax system in response to the data acquisition instruction, and extracting test case data;
copying tax information in the account information, replacing tax payer identification numbers in the test case data with the tax information to obtain test case data containing the tax information, and storing the test case data containing the tax information in an automatic test platform database;
extracting the test case data containing tax information in the automatic test platform database, and importing the tax information in the test case data containing tax information into a form filling page of the electronic tax system to replace manual filling of a large amount of form data; the tax information comprises tax payer identification numbers and declaration information thereof.
2. A test data precipitation device, comprising:
the data acquisition module is used for triggering a data acquisition instruction after the auxiliary test tool is injected into the electronic tax system, so as to acquire account information from the electronic tax system in response to the data acquisition instruction and extract test case data;
the copying and transferring module is used for copying tax information in the account information, replacing a tax payer identification number in the test case data with the tax information to obtain test case data containing the tax information, and storing the test case data containing the tax information in an automatic test platform database;
the data multiplexing module is used for extracting the test case data containing tax information in the automatic test platform database and importing the tax information in the test case data containing tax information into a form filling page of the electronic tax system so as to replace manual filling of a large amount of form data; the tax information comprises tax payer identification numbers and declaration information thereof.
3. A test data precipitation system, comprising: the system comprises a server, an electronic tax system, an auxiliary testing tool and an automatic testing platform;
the server is used for responding to the test case request instruction and determining to inject an auxiliary test tool according to the rule configuration;
the electronic tax system is used for transmitting account information to the auxiliary test tool;
the auxiliary test tool is used for executing the test data precipitation method based on the auxiliary test tool as claimed in claim 1;
the automatic test platform is used for managing the test case data containing tax information and precipitating the data to a test case big database.
4. The test data precipitation system of claim 3, wherein said specific step of managing said tax information-containing test case data comprises: and distributing scenes and associated tax types to each piece of test case data.
5. A computer readable storage medium, wherein the computer readable storage medium comprises a stored computer program; wherein the computer program, when run, controls a device in which the computer readable storage medium is located to perform the auxiliary test tool based test data precipitation method according to claim 1.
6. A terminal device comprising a processor, a memory and a computer program stored in the memory and configured to be executed by the processor, the processor implementing the auxiliary test tool based test data precipitation method of claim 1 when the computer program is executed.
CN202010585500.1A 2020-06-24 2020-06-24 Test data precipitation method, device and system based on auxiliary test tool Active CN111897714B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010585500.1A CN111897714B (en) 2020-06-24 2020-06-24 Test data precipitation method, device and system based on auxiliary test tool

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010585500.1A CN111897714B (en) 2020-06-24 2020-06-24 Test data precipitation method, device and system based on auxiliary test tool

Publications (2)

Publication Number Publication Date
CN111897714A CN111897714A (en) 2020-11-06
CN111897714B true CN111897714B (en) 2024-03-26

Family

ID=73207807

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010585500.1A Active CN111897714B (en) 2020-06-24 2020-06-24 Test data precipitation method, device and system based on auxiliary test tool

Country Status (1)

Country Link
CN (1) CN111897714B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105553769A (en) * 2015-12-15 2016-05-04 北京奇虎科技有限公司 Data collecting-analyzing system and method
CN106204259A (en) * 2016-07-25 2016-12-07 贝才禾兑网络科技南京有限公司 Automatic tax declaration method based on browser
CN108876291A (en) * 2018-05-25 2018-11-23 江苏财税通信息科技有限公司 A kind of enterprise operation data collection system, method and cloud server
CN109359273A (en) * 2018-09-05 2019-02-19 航天信息软件技术有限公司 A kind of method and system for being interacted to the property tax data of acquisition
CN109815292A (en) * 2019-01-03 2019-05-28 广州中软信息技术有限公司 A kind of concerning taxes data collection system based on asynchronous message mechanism

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030233296A1 (en) * 2000-12-01 2003-12-18 Wagner Brad H. System and method for automated form generation and comparison

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105553769A (en) * 2015-12-15 2016-05-04 北京奇虎科技有限公司 Data collecting-analyzing system and method
CN106204259A (en) * 2016-07-25 2016-12-07 贝才禾兑网络科技南京有限公司 Automatic tax declaration method based on browser
CN108876291A (en) * 2018-05-25 2018-11-23 江苏财税通信息科技有限公司 A kind of enterprise operation data collection system, method and cloud server
CN109359273A (en) * 2018-09-05 2019-02-19 航天信息软件技术有限公司 A kind of method and system for being interacted to the property tax data of acquisition
CN109815292A (en) * 2019-01-03 2019-05-28 广州中软信息技术有限公司 A kind of concerning taxes data collection system based on asynchronous message mechanism

Also Published As

Publication number Publication date
CN111897714A (en) 2020-11-06

Similar Documents

Publication Publication Date Title
CN109491763B (en) System deployment method and device and electronic equipment
CN108170465B (en) Version information management method, electronic equipment and readable storage medium
US10338910B2 (en) Multi-tenant upgrading
CN111290961A (en) Interface test management method and device and terminal equipment
CN113569257B (en) User authority management method and device in gray level release
CN114386853A (en) Data auditing processing method, device and equipment based on universal auditing model
CN114528201A (en) Abnormal code positioning method, device, equipment and medium
CN113516251A (en) Machine learning system and model training method
CN111897714B (en) Test data precipitation method, device and system based on auxiliary test tool
CN110765008B (en) Data processing method and device
US9336361B2 (en) Feature license-related repair/replacement processes and credit handling
CN110968339B (en) Method and device for front-end building tool and electronic equipment
CN111125743B (en) Authority management method, system, computer device and computer readable storage medium
US10754876B2 (en) Cloning of a system
CN112286572A (en) Configuration method and device of business process
KR101737575B1 (en) Method and device for verifying data based on sql sentences generated automatically
CN114118014B (en) Distributed document control method and device, readable storage medium and electronic equipment
CN113407376B (en) Data recovery method and device and electronic equipment
CN104424090A (en) Crash identifying method, device and system
CN110728584B (en) Information processing method and device, readable storage medium and electronic equipment
CN112328385B (en) Multi-scene Kubernetes task submission method based on plug-in
CN111078714B (en) Data processing method and device
CN114896139A (en) Data processing method and device for application engineering, electronic equipment and storage medium
CN116483365A (en) Front-end engineering construction method, device, equipment and storage medium
CN117271309A (en) Service testing method, system, electronic equipment and storage medium

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