A BS architecture product test system

By automating the configuration and manually assisting the testing of BS architecture products, the problem of low testing efficiency in existing tools has been solved, achieving efficient and accurate testing results. It is suitable for web applications and backend services of BS architecture products.

CN118152295BActive Publication Date: 2025-11-21FUJIAN YIRONG INFORMATION TECH
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202410377371.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-03-29
Publication Date
2025-11-21
Estimated Expiration
2044-03-29

AI Technical Summary

Technical Problem

Existing user testing tools for B/S architecture products lack the ability to automatically obtain the current test page, parameters, and account information, and rely heavily on the testers' skills, resulting in low testing efficiency and unreliable accuracy.

Method used

A B/S architecture product testing system is provided, including a test environment configuration module, a test case generation module, a test execution module, and a test report generation module. It supports automated configuration and test case generation, performs testing through multiple browser engines, and is supplemented by a manual testing module to generate detailed test reports.

Benefits of technology

It improves the testing efficiency and accuracy of B/S architecture products, reduces human error, enables comprehensive testing of web applications and backend services, and ensures test consistency and quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118152295B_ABST
    Figure CN118152295B_ABST
Patent Text Reader

Abstract

The application relates to a BS architecture product test system, which comprises a test environment configuration module, a test case generation module, a test execution module and a test report generation module; the test environment configuration module is used for configuring a test environment; the test case generation module is used for generating test cases according to input requirements and product function modules to be tested; the test execution module is used for executing tests and recording test results according to the generated test cases and the test environment; and the test report generation module is used for generating test reports according to the test results; the application can reduce manual operations, reduce error rates and improve test quality.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The application relates to a BS architecture product test system and belongs to the technical field of computer software testing. BACKGROUND

[0002] With the rapid development of Internet technology, BS architecture products are becoming more and more popular. However, users often face problems such as low efficiency and unguaranteed accuracy when testing these products. Therefore, there is an urgent need for an efficient and accurate BS architecture product user test tool.

[0003] Existing BS architecture product user test tools do not provide relevant test capabilities in combination with the actual BS architecture products to be tested; they lack automatic acquisition of current test product information such as current test pages, parameters, and accounts, and are highly dependent on the capabilities of test personnel and other auxiliary tools.

[0004] The prior art, such as the invention patent with the patent number CN103984628B, discloses an automatic function test method and system applied to BS architecture, which generates test cases according to pre-recorded use case descriptions and object execution order descriptions; generates business function class objects according to the above test cases and encapsulated use case and object conversion logic; assembles the above business function class objects into a test case set according to the pre-recorded execution order request; executes the test case set, obtains and encapsulates the test conclusion; returns the encapsulated test conclusion and correspondingly generates a test report, facilitating the test work of the tester, who only needs to write descriptive language and does not need to write development code based on programming language for registering test case functions and creating test running classes, thereby completing the development work of function test automation code.

[0005] However, the above technical solution still needs to configure the test environment through development code based on programming language. A good test environment can simulate the production environment and help the test personnel find potential problems. However, different types of products need different test environments for testing, and therefore a reliable test environment is crucial for improving the test and development efficiency. SUMMARY

[0006] In order to solve the problems existing in the above prior art, the application provides a BS architecture product test system.

[0007] The technical solution of the application is as follows:

[0008] On the one hand, the application provides a BS architecture product test system, which comprises a test environment configuration module, a test case generation module, a test execution module, and a test report generation module.

[0009] The test environment configuration module is configured to configure the access address of the product to be tested and the corresponding user permission information acquisition interface, and to monitor the interface call process during the test;

[0010] The test case generation module is configured to generate test cases according to the input requirements and the product function modules to be tested.

[0011] The test execution module is configured to execute the test and record the test results according to the generated test cases and the test environment.

[0012] The test report generation module is configured to generate a test report according to the test results.

[0013] As a preferred embodiment of the present application, the BS architecture product test system further comprises a manual test module.

[0014] The manual test module is configured to display the BS architecture product through different browser versions and kernels according to the selected BS architecture product information, and the user sets the test cases according to the display results to obtain the test results.

[0015] As a preferred embodiment of the present application, when the test execution module tests, if the test case test fails, the test report generation module automatically collects the current test case, the input information and the product function module to be tested and generates an abnormal test report.

[0016] On the other hand, the present application further provides a BS architecture product test system and a use method thereof, comprising the following steps:

[0017] The user selects the BS architecture product to be tested on the graphical interface of the BS architecture product test system, the test environment configuration module configures the environment according to the selected BS architecture product, then selects the function module to be tested of the BS architecture product and inputs the requirements on the graphical interface, and the test case generation module generates the test cases according to the input requirements.

[0018] When the test environment configuration is completed and the test case generation is completed, the user selects the automatic test on the graphical interface of the system, the test execution module executes the test and records the test results according to the generated test cases and the test environment, and the test report generation module generates the test report according to the test results.

[0019] As a preferred embodiment of the present application, when the user selects the manual test on the graphical interface of the system, the BS architecture product test system displays the BS architecture product through different browser versions and kernels according to the selected BS architecture product information, and the user sets the test cases according to the display results to obtain the test results.

[0020] As a preferred embodiment of the present application, when the test case test fails, the system automatically collects the current test information, input information and the product function module under test to generate an exception test report.

[0021] In another aspect, the present application also provides an electronic device, comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the system according to any embodiment of the present application when executing the program.

[0022] In another aspect, the present application also provides a computer readable storage medium, which stores a computer program executable on a processor, wherein the processor implements the system according to any embodiment of the present application when executing the program.

[0023] The present application has the following beneficial effects:

[0024] 1. The present application supports multiple browser platforms, can realize comprehensive testing of web page applications, web front-end and back-end services, and at the same time, can realize configuration, testing and report generation in an automated manner, greatly improving the user testing efficiency of BS architecture products, while ensuring the accuracy and consistency of testing, and through automatic configuration of testing environment, generation of test cases, execution of testing and generation of test reports, can reduce manual operation, reduce error rate and improve testing quality. BRIEF DESCRIPTION OF DRAWINGS

[0025] Figure 1 is a system structure diagram of the present application;

[0026] Figure 2 is a method flowchart of the present application. DETAILED DESCRIPTION

[0027] The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor fall within the scope of protection of the present application.

[0028] It should be understood that the step numbers used herein are only for the convenience of description, and are not limited to the execution sequence of the steps.

[0029] It should be understood that the terms used in the present application are only for the purpose of describing specific embodiments and are not intended to limit the present application. As used in the present application specification and the appended claims, unless otherwise clear from the context, the singular forms "a", "an" and "the" are intended to include the plural forms.

[0030] The terms "comprise" and "include" indicate the presence of the described features, integers, steps, operations, elements, and / or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups thereof.

[0031] The term "and / or" means any combination of one or more of the associated listed items and all possible combinations thereof, and includes these combinations.

[0032] Embodiment one:

[0033] Referring to Figure 1 A BS architecture product test system includes a test environment configuration module, a test case generation module, a test execution module, and a test report generation module.

[0034] The test environment configuration module is configured to configure the access address of the product to be tested and the corresponding user permission information acquisition interface, monitor the interface call process during the test, and read the basic information of the test user and support the over-authorization access test through the user permission information acquisition interface.

[0035] The test case generation module is configured to generate test cases according to the input requirements and the product function modules to be tested, support automatic acquisition of the functions and module addresses of the test product, support manual auxiliary adjustment, and provide a basis for the subsequent test execution module.

[0036] The test execution module is configured to execute the test and record the test results according to the generated test cases and the test environment, support automatic test according to the test cases, access the test case address through the embedded multiple browser kernels, provide the screenshot and marking functions for the current access page according to the display and operation of the user to submit the test problems, and save the test problems to the background service, automatically bring the information of the current login user and the interface access parameters when submitting the test situation, and provide a basis for the subsequent problem reproduction.

[0037] The test report generation module is configured to generate a test report according to the test results, provide the test problems submitted by the test execution module, summarize the test problems according to the format and the problem type to generate a test report in the Word or Excel format, and the report content includes the test environment configuration, the time, the user information, the function module information, the test case information, and the test results.

[0038] As a preferred embodiment of the present embodiment, the BS architecture product test system further comprises a manual test module.

[0039] The artificial test module is used for displaying the BS architecture product through different browser versions and kernels according to the BS architecture product information selected by the user, the user sets test cases for testing according to the display result, and test results are obtained.

[0040] As a preferred embodiment of the present embodiment, when the test execution module tests, the test case test fails, the test report generation module intercepts a screenshot and automatically collects the current test case, input information and tested product function module and generates an abnormal test report.

[0041] Embodiment two:

[0042] Referring to Figure 2 A BS architecture product test system use method includes the following steps:

[0043] The user selects the BS architecture product to be tested on the graphical interface of the BS architecture product test system, the test environment configuration module configures the environment according to the selected BS architecture product, then selects the function module to be tested of the BS architecture product and inputs the requirements in the graphical interface, and the test case generation module generates test cases according to the input requirements;

[0044] When the test environment configuration is completed and the test case generation is completed, the user selects automatic test on the graphical interface of the system, the test execution module executes the test and records the test results according to the generated test cases and test environment, and the test report generation module generates the test report according to the test results.

[0045] As a preferred embodiment of the present embodiment, when the user selects artificial test on the graphical interface of the system, the BS architecture product test system displays the BS architecture product through different browser versions and kernels according to the selected BS architecture product information, the user sets test cases for testing according to the display result, and test results are obtained.

[0046] As a preferred embodiment of the present embodiment, when the test case test fails, the system automatically collects the current test information, input information and tested product function module to generate an abnormal test report.

[0047] Embodiment three:

[0048] The present embodiment provides an electronic device, including a memory, a processor and a computer program stored in the memory and executable on the processor, and the processor executes the program to realize the system as described in any embodiment of the present application.

[0049] Embodiment four:

[0050] The embodiment provides a computer readable storage medium, which stores a computer program. The computer program is executed by a processor to implement the system according to any one of the embodiments of the application.

[0051] In the embodiments of the present application, "at least one" refers to one or more, and "multiple" refers to two or more. The "and / or" describes the association relationship of the associated objects, which means that there can be three kinds of relationships, for example, A and / or B, which can represent the cases of A alone, A and B together, and B alone. Wherein A and B can be singular or plural. The character " / " generally represents that the associated objects before and after it are in an "or" relationship. "At least one of the following" and the like means any combination of these items, including any combination of single or multiple items. For example, at least one of a, b and c can represent: a, b, c, a and b, a and c, b and c, or a and b and c, wherein a, b, and c can be single or multiple.

[0052] Those skilled in the art can appreciate that the units and algorithm steps described in the embodiments disclosed herein can be realized by electronic hardware, computer software and combination of electronic hardware and computer software. Whether the functions are realized in hardware or software mode depends on the specific application and design constraints of the technical solution. The skilled person can use different methods to realize the described functions for each specific application, but such implementation should not be considered beyond the scope of the present application.

[0053] Those skilled in the art can clearly understand that, for the convenience and brevity of the description, the specific working processes of the above-described system, device and unit can refer to the corresponding processes in the foregoing method embodiments, which will not be described here.

[0054] In several embodiments provided in the present application, any function realized in the form of a software function unit and sold or used as an independent product can be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present application essentially or the parts that make contributions to the prior art or parts of the technical solutions can be embodied in the form of a software product. The computer software product is stored in a storage medium, and includes a plurality of instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the embodiments of the present application. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (Read-Only Memory, ROM for short), a random access memory (Random Access Memory, RAM for short), a magnetic disk or an optical disk, and various media that can store program codes.

[0055] The above merely illustrates the embodiments of the present application, and does not limit the patent scope of the present application, and any equivalent structure or equivalent process transformation, or direct or indirect application in other related technical fields, which are made by using the content of the present application specification and drawings, are also included in the patent protection scope of the present application.

Claims

1. A BS architecture product testing system, characterized by, The system comprises a test environment configuration module, a test case generation module, a test execution module and a test report generation module. The test environment configuration module is configured to configure the access address of the product to be tested and the corresponding user permission information acquisition interface, and monitor the interface call process during the test. The test case generation module is configured to generate test cases according to the input requirements and the product function modules to be tested. The test execution module is configured to execute the test and record the test results according to the generated test cases and the test environment. The test report generation module is configured to generate a test report according to the test results. When the test execution module tests, if the test case fails, the test report generation module automatically collects the current test case, the input information and the product function module to be tested and generates an abnormal test report.

2. A BS architecture product test system according to claim 1, wherein, The BS architecture product test system further comprises a manual test module. The manual test module is configured to display the BS architecture product through different browser versions and kernels according to the selected BS architecture product information, and the user sets the test case according to the display result to obtain the test result.

3. A BS architecture product testing system using method, based on the BS architecture product testing system of any one of claims 1-2, wherein, The system comprises the following steps: The user selects the BS architecture product to be tested on the graphical interface of the BS architecture product test system, and the test environment configuration module configures the environment according to the selected BS architecture product. Then, the user selects the function module to be tested and inputs the requirements on the graphical interface, and the test case generation module generates test cases according to the input requirements. When the test environment configuration is completed and the test case generation is completed, the user selects automatic test on the graphical interface of the system, the test execution module executes the test and records the test results according to the generated test cases and the test environment, and the test report generation module generates a test report according to the test results.

4. The method of claim 3, wherein the BS architecture product test system is used for, When the user selects manual test on the graphical interface of the system, the BS architecture product test system displays the BS architecture product through different browser versions and kernels according to the selected BS architecture product information, and the user sets the test case according to the display result to obtain the test result.

5. The method of claim 3, wherein the BS architecture product test system is used for testing a BS architecture product. When the test case fails, the system automatically collects the current test information, the input information and the product function module to be tested to generate an abnormal test report.

6. An electronic device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, The processor executes the program to realize the system of any one of claims 1 to 2.

7. A computer-readable storage medium having stored thereon a computer program, characterized in that, The program is executed by the processor to realize the system of any one of claims 1 to 2.

Citation Information

Patent Citations

  • Automated functional testing methods and systems applied to B / S architecture

    CN103984628B

  • Automatic function test method and system applied to BS (browser / server) framework

    CN103984628A

  • Automatic test system and method

    CN111324522A