CN113434387A - Script-driven-based automatic testing tool and system - Google Patents
Script-driven-based automatic testing tool and system Download PDFInfo
- Publication number
- CN113434387A CN113434387A CN202110609859.2A CN202110609859A CN113434387A CN 113434387 A CN113434387 A CN 113434387A CN 202110609859 A CN202110609859 A CN 202110609859A CN 113434387 A CN113434387 A CN 113434387A
- Authority
- CN
- China
- Prior art keywords
- test
- module
- script
- testing
- automatic
- 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.)
- Pending
Links
- 238000012360 testing method Methods 0.000 title claims abstract description 375
- 238000013515 script Methods 0.000 title claims abstract description 71
- 238000009826 distribution Methods 0.000 claims abstract description 35
- 238000004088 simulation Methods 0.000 claims abstract description 32
- 238000013461 design Methods 0.000 claims abstract description 13
- 238000000034 method Methods 0.000 claims description 29
- 230000008569 process Effects 0.000 claims description 24
- 230000003993 interaction Effects 0.000 claims description 5
- 230000005284 excitation Effects 0.000 claims description 3
- 230000007547 defect Effects 0.000 abstract description 3
- 230000006870 function Effects 0.000 description 44
- 230000008676 import Effects 0.000 description 5
- 230000009471 action Effects 0.000 description 4
- 238000012544 monitoring process Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 238000011161 development Methods 0.000 description 2
- 238000003860 storage Methods 0.000 description 2
- 238000013521 GUI testing Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 239000003086 colorant Substances 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000005520 cutting process Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000011156 evaluation Methods 0.000 description 1
- 230000009191 jumping Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 238000004806 packaging method and process Methods 0.000 description 1
- 230000002085 persistent effect Effects 0.000 description 1
- 238000004904 shortening Methods 0.000 description 1
- 238000013522 software testing Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3684—Test management for test design, e.g. generating new test cases
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3688—Test management for test execution, e.g. scheduling of test suites
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)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The application belongs to the field of airplane model tests, and particularly relates to an automatic test tool and system based on script driving. The automated testing tool is constructed by adopting a Robot Framework, and comprises the following steps: the system comprises an ICD testing module, a simulation model testing module, a wiring and power distribution control module, a keyword definition module, a testing script design module, an automatic testing module and a testing interface module. The automatic testing tool based on script driving can effectively solve the problem faced by comprehensive automatic testing, and simultaneously provides an extensible platform framework to solve the defects of traditional automatic testing. Corresponding test cases are defined for various test scenes by combining the actual test flow in a script keyword mode, and then each test flow is automatically executed without artificial excessive participation, so that an automatic test function can be realized.
Description
Technical Field
The application belongs to the field of airplane model tests, and particularly relates to an automatic test tool and system based on script driving.
Background
Automated testing is the use of automated testing tools instead of a series of test actions performed manually to verify that the system meets specified requirements or detects differences between expected and actual results. The purpose of automatic testing is to reduce the workload of manual testing, so as to achieve the purposes of saving resources, including manpower, material resources and the like, ensuring the software quality and shortening the testing period, and generally, scripts or other code driving application programs are used.
Aiming at an automatic test technology, a test tool and a test framework, several mainstream function test tools include a Rational Robot, a WinRunner and the like. The automatic test script is developed based on WinRunner simply, an automatic test designer only needs to execute a standard business operation process, all actions of the process are automatically recorded by the WinRunner, but the automatic test designer must be very familiar with the business, and if one-step operation errors can cause all scripts to be recorded again, so that great repeated labor exists. The Rational Robot is developed based on a C/P (recording/playback) mode, scripts operated by page elements are operated by the page elements, a Recorder Scenario Recorder is used for finishing the operation, the Recorder automatically translates the operation of a user into SQABasic script language which can be identified by the Rational Robot, and the system can be tested by running the scripts generated by the Recorder, but the development tool based on the C/P mode has the common defects that: the test scripts are low in reusability, once a GUI interface of the system to be tested is modified, the corresponding scripts need to be modified, even recorded from the beginning, and therefore the system which needs to be frequently changed avoids using the test tool developed based on the C/P mode as far as possible.
Accordingly, a technical solution is desired to overcome or at least alleviate at least one of the above-mentioned drawbacks of the prior art.
Disclosure of Invention
The application aims to provide an automatic test tool and system based on script driving so as to solve at least one problem in the prior art.
The technical scheme of the application is as follows:
a first aspect of the present application provides an automated testing tool based on script driving, where the automated testing tool is built using a Robot Framework, and the automated testing tool includes:
the ICD testing module is used for importing, displaying and editing ICD node information;
the simulation model testing module is used for controlling the simulation model and describing and displaying the simulation model and parameter information, so that a user can conveniently select and use the simulation model and parameters to be controlled;
the distribution control module is used for describing and displaying distribution information of the distribution wires, so that a user can conveniently select and use distribution signals and distribution equipment to be controlled;
the keyword definition module is used for defining each keyword and the function of the corresponding keyword to realize the interaction with the user;
the test script design module is used for realizing test script design, and the test script comprises a test plan and a test case;
the automatic test module is used for realizing automatic test on the test cases;
and the test interface module is used for displaying the ICD management module, the simulation model test module, the wiring and power distribution control module, the keyword definition module and the automatic test module.
Optionally, the ICD testing module includes:
the importing unit is used for importing ICD node information;
the display unit is used for presenting the ICD test module in an independent perspective graph form and displaying ICD node information;
and the editing unit is used for editing the ICD node.
Optionally, the editing operation on the ICD node includes adding node information, deleting node information, modifying node information, and modifying node naming.
Optionally, the keywords include Dialogs keywords and conditional loop keywords.
Optionally, the automated testing module comprises:
the test case acquisition unit is used for acquiring a test case;
the test case management unit is used for managing the test case files;
the test case editing unit is used for editing the test cases;
the test case checking unit is used for realizing error check on the test cases;
the test case execution unit is used for selecting the test case file and executing the selected test case file;
and the test result display unit is used for displaying the test result.
Optionally, the automated testing module further comprises:
and the test report generating unit is used for counting the execution result of each test case and the test process in the test case execution process, and after the test case file is executed, the test report generated by the counted test result is placed on the specified path and is filed with the test cases for use.
A second aspect of the application provides an automated testing system based on script driving, which includes the automated testing tool based on script driving as described above, and further includes a test network, an IO front-end device, a real-time simulator and a device under test, where the IO front-end device is connected to the automated testing tool, the real-time simulator and the device under test through the test network; the real-time simulator is connected with the automatic testing tool and the IO front-end equipment through the test network;
the automatic testing tool receives the dynamic data information of the tested equipment and the model simulation data of the real-time simulator, which are provided by the IO front-end equipment, and controls the model in the real-time simulator to operate, and the tested equipment receives the excitation information of the real-time simulator, so that the automatic testing of the tested equipment is realized.
The invention has at least the following beneficial technical effects:
the automation testing tool based on script driving is established based on the Robot Framework automation testing tool, so that the testing efficiency is improved, and the testing burden of testing personnel is reduced.
Drawings
FIG. 1 is a schematic diagram of an automated test tool framework according to an embodiment of the present application;
FIG. 2 is a block diagram of an automated test script according to one embodiment of the present application;
FIG. 3 is a schematic view of an automated test tool test interface according to one embodiment of the present application;
FIG. 4 is a schematic diagram of an automated testing process according to an embodiment of the present application.
Detailed Description
In order to make the implementation objects, technical solutions and advantages of the present application clearer, the technical solutions in the embodiments of the present application will be described in more detail below with reference to the drawings in the embodiments of the present application. In the drawings, the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The described embodiments are a subset of the embodiments in the present application and not all embodiments in the present application. The embodiments described below with reference to the drawings are exemplary and intended to be used for explaining the present application and should not be construed as limiting the present application. 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 application. Embodiments of the present application will be described in detail below with reference to the accompanying drawings.
In the description of the present application, it is to be understood that the terms "center", "longitudinal", "lateral", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", and the like indicate orientations or positional relationships based on those shown in the drawings, and are used merely for convenience in describing the present application and for simplifying the description, and do not indicate or imply that the referenced device or element must have a particular orientation, be constructed in a particular orientation, and be operated, and therefore should not be construed as limiting the scope of the present application.
The present application is described in further detail below with reference to fig. 1 to 4.
A first aspect of the present application provides an automated testing tool based on script driving, where the automated testing tool is constructed by using a Robot Framework, and the automated testing tool includes: the system comprises an ICD testing module, a simulation model testing module, a wiring and power distribution control module, a keyword definition module, a testing script design module, an automatic testing module and a testing interface module.
The ICD testing module is used for realizing the importing, displaying and editing of ICD node information; the simulation model test module is used for controlling the simulation model and describing and displaying the simulation model and parameter information, so that a user can conveniently select and use the simulation model and parameters to be controlled; the wiring and power distribution control module is used for describing and displaying wiring and power distribution information, so that a user can conveniently select and use wiring signals and power distribution equipment which need to be controlled; the keyword definition module is used for defining each keyword and the function of the corresponding keyword to realize the interaction with the user; the test script design module is used for realizing test script design, and the test script comprises a test plan and a test case; the automatic test module is used for realizing automatic test of the test case; the test interface module is used for displaying the ICD management module, the simulation model test module, the wiring and power distribution control module, the keyword definition module and the automatic test module.
The automatic testing tool based on script driving can effectively solve the problem faced by comprehensive automatic testing, and simultaneously provides an extensible platform framework to solve the defects of traditional automatic testing. Through the way of script keywords, define corresponding test cases for various test scenes in combination with actual test flows, then automatically execute each test flow without artificial excessive participation, and can realize an automatic test function, and the framework principle of an automatic test tool is shown in fig. 1.
Specifically, the ICD (interface control file) testing module mainly provides functions of inputting/importing, displaying and editing ICD node information. In this embodiment, the ICD testing module includes an importing unit, a display unit, and an editing unit, where the importing unit is used for importing ICD information; the display unit is used for presenting the ICD test module in an independent perspective view mode and displaying information (including information of a system, equipment, an interface, a message and the like) of each ICD node, and the independent perspective view has the functions of displaying and editing information of various domains in the message; the editing unit is used for performing common editing operation on the nodes, including adding node information, deleting node information, modifying node naming and the like, and in addition, the editing unit displays detailed information of each node and provides an editor function. In this embodiment, the ICD testing module mainly has the following functions: the navigation function is used for displaying and managing the ICD files in the current project, and comprises editing and saving functions; a table editing function that provides editing of each field in a data block for creation or import by default; and the attribute view function is used for displaying specific object information in the editor so that a user can read and use the ICD keywords.
According to the script-driven automatic testing tool, the simulation model testing module is used for controlling the simulation model in the platform and describing and displaying the model and parameter information, so that a user can conveniently select and use the model and parameters to be controlled. The simulation model test module provides description and display of model and parameter information in the automatic test tool aiming at model control and parameter adjustment, and defines keywords, templates and attribute views of the simulation model, so that a user can conveniently select and use the model and parameters to be controlled. In this embodiment, the functions of the simulation model test module mainly include: the navigation view is used for displaying and managing simulation model parameter files in the current project, and has editing and storing functions; a form editing function, by default, provides editing of the model for creation or import.
According to the script-driven-based automatic testing tool, the wiring and power distribution control module provides description and display for wiring and power distribution information in the automatic testing tool, and a user can conveniently select and use wiring signals and power distribution equipment needing to be controlled. The automatic test tool provides an importing function aiming at distribution and power distribution information of a wiring in a test system, files are imported into the automatic test tool to be used as signals (equipment) input aiming at distribution and power distribution switching control during test case compiling, and main information comprises the test system, the test equipment (the distribution equipment, the power distribution equipment), signal type classification and distribution signals. In this embodiment, the functions of the power distribution wiring control module mainly include: the navigation view is used for displaying and managing the power distribution wiring file in the current project, and has editing and storing functions; a table editing function, which by default provides editing of a file for creation or import.
According to the script-driven-based automatic testing tool, the keyword definition module is used for defining each keyword and functions corresponding to the keyword, and is used for interacting with a user. In the preferred embodiment of the present application, the keywords include Dialogs keywords and conditional loop keywords.
The Dialogs keywords are mainly used for interaction with users, are not used independently, and are generally used together with other functional keywords, and the main functions are as follows:
a) displaying a certain parameter value and the like;
b) storing the currently input parameter value for the use of the following keywords;
c) it is determined whether the result of the execution of a step passes.
The condition cycle key words mainly comprise Loop cycle and If-unless functions, and the functions of walking different branches according to different conditions or repeatedly executing certain operations in the test case are realized:
a) the Loop circularly executes all keywords under the Loop according to the set circulation times;
b) when the Break judging condition is true, jumping out of the Loop circulation;
c) when the judging condition is true, the Continue jumps out of the current Loop cycle and directly enters the next cycle;
d) if the judgment condition is true, executing all the sub keywords under If;
e) and when the judgment condition of the Unless is false, executing all the sub keywords under the Unless.
The application discloses automated testing instrument based on script driven, automated testing module includes:
a) the test case acquisition unit is used for acquiring a test case;
ICD data excitation-acquisition, model control and parameter adjustment, wiring/power distribution switching, test flow control, user interaction, delay steps, operation and the like are mainly aimed at a scene;
b) the test case management unit is used for managing the test case files;
the method mainly comprises the steps that file information of all test cases in the current working space is displayed through a folder structure, the test cases are described and stored in a test case file in a script mode, and a user can create the test case file;
c) the test case editing unit is used for editing the test cases;
the common editing functions of copying, pasting, cutting, canceling, redoing, storing, dragging and the like exist in the table tree editing process of the use case;
d) the test case checking unit is used for realizing error check on the test cases;
the method provides the function of error check of the test case in the form editor of the test case, and presents the font in a certain way in the cell for illegal test case specification, wrong parameter information, same test centralized case repetition and the like, and simultaneously identifies so that a user can conveniently find and modify the error;
e) the test case execution unit is used for selecting the test case file and executing the selected test case file;
and selecting the test case file, and starting to execute the selected test case file. The method supports the operations of 'pause/continue execution' and 'end' of the use case process being executed in the execution process;
f) the test result display unit is used for displaying the test result;
in the execution process, aiming at the currently executed test set file, monitoring the execution process of the test case through a table interface, and when each row of test steps is executed, automatically selecting the current test step by a table view, displaying a specific execution result (pass or fail) in a table, and distinguishing the specific execution result by different colors;
g) the test report generating unit is used for generating a test report in the test case executing process;
in the test case execution process, the execution result of each test case and each test step is counted, and after the test case file is executed, a test report generated by the counted test result is placed on a specified path and is used for filing together with the test cases.
The automatic testing tool based on the script drive is developed and realized by adopting a plug-in development framework provided by an Eclipse platform, and different modules are designed and displayed in a UI mode in different views or editors, as shown in FIG. 2.
a) Upper left side: the test case management view (automatic test module) is used for displaying and managing a test set file and a test library (simulation model test module);
b) left lower side: the keyword view (keyword definition module) is used for displaying and managing all keywords contained in the current test system for editing the test cases;
c) left lower side: the function view is overlapped with the keyword view, and displays and manages all completed function definitions in the current test system for editing the test cases (automatic test module);
d) upper right side: the table tree editor of the test set content is used for displaying and editing the test set content; (automatic test module)
e) Bottom: and the attribute view is used for displaying and editing the attribute information of the corresponding node in the table tree (ICD test module).
According to the script-driven-based automatic test tool, automatic test is driven by a test script, and the test script is a set of data and instructions with regular grammar and is a key element for compiling and executing test cases. In the software testing process, the test script exists in a text form, and a series of software execution actions applied by a user are organized by the test script, namely, one test script can realize the operation of one or more test cases, so that the aim of driving the tested software to run is fulfilled, and the test is finished.
According to the script-driven automatic test tool, each test script in the test script design module comprises a test plan and a test case. The structure of the test script is shown in fig. 3, and one test script is composed of a test plan and test cases, where the test plan describes deployment and scheduling relationships among a plurality of relevant test cases. Each test case comprises a test requirement and a test process, wherein the test requirement is a description part of the test case, and the test process is an execution part of the test case. The test process comprises an initial command, an intermediate command and an end command, wherein the intermediate command is a main body of execution and comprises a specific step of test execution, a time node and an instruction statement.
A second aspect of the application provides an automated testing system based on script driving, which comprises the automated testing tool based on script driving, a test network, IO front-end equipment, a real-time simulator and tested equipment, wherein the IO front-end equipment is connected with the automated testing tool, the real-time simulator and the tested equipment through the test network; the real-time simulator is connected with the automatic test tool and the IO front-end equipment through a test network; the automatic test tool receives dynamic data information of the tested equipment and model simulation data of the real-time simulator, which are provided by the IO front-end equipment, controls the operation of a model in the real-time simulator, and the tested equipment receives excitation information of the real-time simulator, so that the automatic test of the tested equipment is realized.
In an automated simulation verification environment, the automated testing tool and system of the application mainly provide automated testing support for ICD excitation-collection type, automated testing support for simulation model control and parameter adjustment and automated support for wiring power distribution switching control:
(1) the automatic test tool provides a set of complete application flow aiming at test case management and editing and provides a reliable execution engine pair to support the execution and report generation of the test case;
(2) the ICD test mainly comprises the steps of controlling the start and stop of the IO equipment, setting and exciting ICD data and acquiring and comparing the ICD data;
(3) the test aiming at the simulation model and the parameter adjustment mainly comprises the start-stop and initialization control of the model, the setting and value comparison of parameters;
(4) the switching for the wiring mainly refers to switching the connection (or output) of a signal to a real part, an emulation part or disconnection, and the switching for the power distribution mainly refers to controlling the power-on or power-off of the device under test;
(5) aiming at the automatic testing process provided by each subsystem, the manual testing function in the upper computer software of each subsystem is mainly replaced in the testing process, and the actual communication between the bottom layer and the tested equipment still adopts the existing software and hardware conditions of each subsystem.
The automatic test is to utilize an automatic test tool to analyze requirements, then design an automatic test case and compile an automatic test script. The automated testing tool and system of the present application, the design of the usage flow includes the above process, as shown in fig. 4, mainly including:
(1) demand analysis
The method comprises the steps of (1) introducing automatic testing in a definite project, firstly analyzing the requirement of the automatic testing, and then determining the range of the automatic testing, corresponding test cases and test data;
(2) design of test cases
Designing and compiling a test case according to a test case scheme formed by demand analysis, and developing a test script on an automatic test tool;
(3) automated testing
And debugging the test script in a test environment on an automatic test tool to ensure the normal operation of the script.
(4) Automated test result evaluation
And checking and evaluating the test result of the automatic test, improving the test process and improving the test efficiency.
The automatic test is used as one of core modules of the simulation test platform, corresponding test cases are defined for various test scenes by combining with actual test flows in a script keyword mode, and then each test flow is automatically executed without artificial excessive participation so as to realize an automatic test function. The automatic test tool and the automatic test system based on the script drive have the main functions of test case import, test case editing, test case execution monitoring and test report generation. The method comprises the following specific steps:
(1) providing import and editing functions of the ICD file, and locally storing the ICD file;
(2) providing functions of importing and editing simulation model parameters, and performing localized storage;
(3) providing functions of importing and editing a distribution wiring configuration file, and locally storing the distribution wiring configuration file;
(4) a friendly software interface is provided, and the functions of editing, executing and debugging the test case are realized;
(5) the editing and monitoring mode based on the form is provided, so that a user can conveniently and visually know each test case and each test step;
(6) providing the functions of local persistent storage and configuration library management of the test case file;
(7) in the editing process, the function of carrying out function packaging on a plurality of test steps is supported, and the function of carrying out value transmission through parameters is provided;
(8) providing a function of error checking the edited test case, wherein the function mainly comprises an error case (step) format, parameters, a duplicate name and the like;
(9) providing a function for executing the selected test cases, wherein the execution mode comprises that specific test case(s) are selected to be executed aiming at a certain test set file (folder);
(10) supporting the execution control of the test case, including starting, suspending and stopping;
(11) monitoring the test case execution process is supported, and the execution result of the current test step and the execution state of the test case are displayed in real time;
(12) and supporting the function of generating a corresponding test report for the test result.
The automatic testing tool and the system based on script driving adopt the automatic testing tool established by the Robot Framework, the script reusability is high, the maintenance cost is low, the existing keywords can be repeatedly utilized to establish the high-level keywords under the keyword driving mode, the keywords are independent of the service data, the action executed by the keywords is actually finished by the keyword library, the service data is stored in the test case file, and the Robot Framework dynamically combines the two when the operation is executed; a plurality of test case files can call the same keyword to realize a test function, so that the reusability of the script is high; the system supports WEB testing, Java GUI testing, database testing and the like, provides a standard keyword library for the testing of the applications, and an automatic test designer can adapt to the needs of the system only by modifying a small amount of keywords; a powerful remote invocation interface is provided that provides a solution for distributed automated testing. The application integrates test script design and test automation, so that the test efficiency can be improved, and the test burden of testers is reduced.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present application should be covered within the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims (7)
1. An automated testing tool based on script driving, wherein the automated testing tool is constructed by a Robot Framework, and comprises:
the ICD testing module is used for importing, displaying and editing ICD node information;
the simulation model testing module is used for controlling the simulation model and describing and displaying the simulation model and parameter information, so that a user can conveniently select and use the simulation model and parameters to be controlled;
the distribution control module is used for describing and displaying distribution information of the distribution wires, so that a user can conveniently select and use distribution signals and distribution equipment to be controlled;
the keyword definition module is used for defining each keyword and the function of the corresponding keyword to realize the interaction with the user;
the test script design module is used for realizing test script design, and the test script comprises a test plan and a test case;
the automatic test module is used for realizing automatic test on the test cases;
and the test interface module is used for displaying the ICD management module, the simulation model test module, the wiring and power distribution control module, the keyword definition module and the automatic test module.
2. The script driven based automated test tool of claim 1, wherein the ICD test module comprises:
the importing unit is used for importing ICD node information;
the display unit is used for presenting the ICD test module in an independent perspective graph form and displaying ICD node information;
and the editing unit is used for editing the ICD node.
3. The script driven based automated test tool of claim 2, wherein editing operations on ICD nodes comprises adding node information, deleting node information, modifying node information, and modifying node naming.
4. The script-driven based automated test tool of claim 3, wherein the keywords comprise a Dialogs keyword and a conditional loop keyword.
5. The script driven based automated test tool of claim 4, wherein the automated test module comprises:
the test case acquisition unit is used for acquiring a test case;
the test case management unit is used for managing the test case files;
the test case editing unit is used for editing the test cases;
the test case checking unit is used for realizing error check on the test cases;
the test case execution unit is used for selecting the test case file and executing the selected test case file;
and the test result display unit is used for displaying the test result.
6. The script driven based automated test tool of claim 5, wherein the automated test module further comprises:
and the test report generating unit is used for counting the execution result of each test case and the test process in the test case execution process, and after the test case file is executed, the test report generated by the counted test result is placed on the specified path and is filed with the test cases for use.
7. An automated testing system based on script driving, comprising the automated testing tool based on script driving of any one of claims 1-6, characterized by further comprising a testing network, an IO front-end device, a real-time simulator and a device under test, wherein the IO front-end device is connected with the automated testing tool, the real-time simulator and the device under test through the testing network; the real-time simulator is connected with the automatic testing tool and the IO front-end equipment through the test network;
the automatic testing tool receives the dynamic data information of the tested equipment and the model simulation data of the real-time simulator, which are provided by the IO front-end equipment, and controls the model in the real-time simulator to operate, and the tested equipment receives the excitation information of the real-time simulator, so that the automatic testing of the tested equipment is realized.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110609859.2A CN113434387A (en) | 2021-06-01 | 2021-06-01 | Script-driven-based automatic testing tool and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110609859.2A CN113434387A (en) | 2021-06-01 | 2021-06-01 | Script-driven-based automatic testing tool and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113434387A true CN113434387A (en) | 2021-09-24 |
Family
ID=77803394
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110609859.2A Pending CN113434387A (en) | 2021-06-01 | 2021-06-01 | Script-driven-based automatic testing tool and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113434387A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114297081A (en) * | 2021-12-30 | 2022-04-08 | 深圳市捷顺科技实业股份有限公司 | Automatic testing method and related equipment |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107133177A (en) * | 2017-05-12 | 2017-09-05 | 郑州云海信息技术有限公司 | A kind of automated test frame |
CN107831757A (en) * | 2017-11-29 | 2018-03-23 | 合肥巨动力系统有限公司 | Based on dSPACE motor control hardware in ring automatization test system and method |
-
2021
- 2021-06-01 CN CN202110609859.2A patent/CN113434387A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107133177A (en) * | 2017-05-12 | 2017-09-05 | 郑州云海信息技术有限公司 | A kind of automated test frame |
CN107831757A (en) * | 2017-11-29 | 2018-03-23 | 合肥巨动力系统有限公司 | Based on dSPACE motor control hardware in ring automatization test system and method |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114297081A (en) * | 2021-12-30 | 2022-04-08 | 深圳市捷顺科技实业股份有限公司 | Automatic testing method and related equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110764753B (en) | Business logic code generation method, device, equipment and storage medium | |
CN107704392B (en) | Test case processing method and server | |
CN106547689B (en) | A kind of automatic test cases development system and method based on web | |
CN100401265C (en) | Keyword-driven automatic testing system and method | |
Linzhang et al. | Generating test cases from UML activity diagram based on gray-box method | |
CN109062777B (en) | General automatic test system of track traffic signal equipment | |
CN103634154B (en) | The analog systems of network state and analogy method thereof | |
CN109840207A (en) | One kind being based on AUTOSAR network management automatization test system and test method | |
US20120116561A1 (en) | Program testing apparatus, method of testing a program, and program testing program | |
CN101996131A (en) | Automatic test method and automatic test platform for graphic user interface (GUI) based on x extensive makeup language (XML) packaging key word | |
CN103150249A (en) | Automatic testing method and system | |
CN101521899A (en) | System and method for on-computer test of mobile applications | |
CN109933521A (en) | Automated testing method, device, computer equipment and storage medium based on BDD | |
CN111782539A (en) | Test and diagnosis integrated development platform based on domestic operating system | |
CN103605556A (en) | Virtual test subject integrally-constructing system and method | |
CN105760296A (en) | Automation testing control method, device and terminal | |
CN102479152A (en) | Method and device for obtaining tool automatic test results on basis of Android platform | |
CN109710513B (en) | Engine for automatic test of CBTC (communication based train control) system | |
CN111143228A (en) | Test code generation method and device based on decision table method | |
CN109491922A (en) | One kind being based on model-driven test method and apparatus | |
CN105760300B (en) | A kind of automated testing method and test macro of STK/UTK business | |
Devai et al. | UML Model Execution via Code Generation. | |
US20120259611A1 (en) | System and method for generation of cim-based power system circuit models | |
CN117931620A (en) | Automatic test method for reducing test technical threshold of intelligent terminal system | |
CN109932588A (en) | A kind of Aerial Electronic Equipment validation test engine |
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 |