CN116881128A - Test platform display method, device, equipment and storage medium - Google Patents

Test platform display method, device, equipment and storage medium Download PDF

Info

Publication number
CN116881128A
CN116881128A CN202310754159.1A CN202310754159A CN116881128A CN 116881128 A CN116881128 A CN 116881128A CN 202310754159 A CN202310754159 A CN 202310754159A CN 116881128 A CN116881128 A CN 116881128A
Authority
CN
China
Prior art keywords
test
scheme
target
instrument
test scheme
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
Application number
CN202310754159.1A
Other languages
Chinese (zh)
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.)
Hymson Laser Technology Group Co Ltd
Original Assignee
Hymson Laser Technology Group 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 Hymson Laser Technology Group Co Ltd filed Critical Hymson Laser Technology Group Co Ltd
Priority to CN202310754159.1A priority Critical patent/CN116881128A/en
Publication of CN116881128A publication Critical patent/CN116881128A/en
Pending legal-status Critical Current

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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

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)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a test platform display method, a device, equipment and a storage medium, wherein the test platform display method is applied to test platform software, the test platform software comprises a menu bar, a tool box, a test scheme area and a test window area, and the test platform display method comprises the following steps: interrupting a currently executed test scheme through a control signal input by a user, selecting a switched test scheme file in a menu bar according to the control signal to obtain a target test scheme file, reading a test instrument catalog in the target test scheme file, acquiring a test instrument in the test instrument catalog to obtain a target test instrument, compiling a signal according to the test scheme input by the user, calling an instrument function built in the target test instrument in a tool box to construct a target test scheme, and executing the target test scheme in a test window area through a preset VISA interface. According to the invention, the test scheme can be re-established according to the actual requirements, so that the switching of the test scheme is realized, and the use experience of a user is further improved.

Description

Test platform display method, device, equipment and storage medium
Technical Field
The present invention relates to the field of test platform software technologies, and in particular, to a test platform display method, device, equipment, and storage medium.
Background
At present, the test platform is only tested for one test scheme after being started, when a user needs to perform different test schemes, the test scheme cannot be switched according to actual requirements, the test platform needs to be restarted to perform switching of the test scheme, and therefore the use experience of the user is reduced.
Disclosure of Invention
The present invention aims to solve at least one of the technical problems existing in the prior art. Therefore, the invention provides the test platform display method, which can reestablish the test scheme according to the actual requirement so as to realize the switching of the test scheme and further improve the use experience of a user.
The invention also provides a test platform display device.
The invention further provides test platform display equipment.
The invention also proposes a computer readable storage medium.
In a first aspect, an embodiment of the present invention provides a test platform display method applied to test platform software, where the test platform software includes a menu bar, a tool box, a test solution area, and a test window area, and the test platform display method includes:
Interrupting a currently executed test scheme through a control signal input by a user, and selecting a switched test scheme file in the menu bar according to the control signal to obtain a target test scheme file;
obtaining a target test instrument by reading a test instrument catalog in the target test scheme file, and storing the target test instrument in the tool box through a preset API interface;
calling an instrument function built in the target test instrument in the tool box according to a test scheme writing signal input by a user, and moving the instrument function to a test scheme area to construct a target test scheme;
and controlling the target test instrument through a preset VISA interface so as to execute the target test scheme in the test window area.
The test platform display method of the embodiment of the invention has at least the following beneficial effects: when the test platform software executes a corresponding test scheme, a user controls a mouse to click a storage area of a test scheme file in a menu bar, selects the test scheme file to be switched, interrupts a current test scheme according to a control signal input by clicking, selects the corresponding test scheme file according to the control signal to obtain a target test scheme file, reads data information stored in the target test scheme file to obtain a test instrument catalog stored in the target test scheme file, acquires all test instruments from the test instrument catalog to obtain a target test instrument, transmits the target test instrument to a storage area corresponding to a tool box through a preset API interface to store the target test instrument in the tool box, controls the mouse to long-time press instrument functions arranged in the target test instrument, drags the corresponding instrument functions to the test scheme area, then transmits test scheme writing signals, moves data corresponding to the instrument functions to the test scheme area according to the test scheme writing signals, enables the data corresponding to the instrument functions to be stored to the test scheme area so as to construct the target test scheme, inputs the corresponding control instruction through the preset VISA interface, and further enables the control instruction to be input to the target test instrument to realize that the target test instrument is controlled through the preset API interface to be controlled by the target test instrument. Interrupting a currently executed test scheme through the control of a user, reselecting a file of the test scheme to be executed to obtain a target test scheme file, reading the target test scheme file to obtain a required test instrument to obtain a target test instrument, and storing the target test instrument into a test scheme area to call the target test instrument when executing the target test scheme so as to execute the target test scheme in the test window area, wherein the test scheme can be reestablished according to actual requirements, so that the switching of the test scheme is realized, and the use experience of the user is improved.
According to other embodiments of the present invention, before the signal written according to the test plan input by the user invokes the instrument function built in the target test instrument and moves the instrument function to the test plan area to construct the target test plan, the test platform display method further includes:
creating a blank test scheme according to the test scheme creation signal input by the user to obtain an initial blank test scheme;
acquiring parameter data input by a user in a popped program information frame, and initializing the initial blank test scheme according to the parameter data to obtain a target blank test scheme;
and storing the target blank test scheme into the test scheme area according to the test scheme storage signal input in the menu bar.
According to other embodiments of the present invention, the test platform display method further includes:
obtaining a target test scheme selected in the test scheme area to obtain a test scheme to be processed;
and converting the to-be-processed test scheme into a test item according to an item storage signal input by a user to obtain a target test item, and storing the target test item into an item storage area of the toolbox.
According to other embodiments of the present invention, the test platform further includes a data statistics area, and the test platform display method further includes:
acquiring data information of a composite class generated when the target test scheme is executed, and obtaining test data;
and storing the test data in a preset database so as to count the test data into the data statistics area.
According to other embodiments of the present invention, the test platform further includes a log area, and the test platform display method further includes:
acquiring log information of a composite class generated when the target test scheme is executed, and obtaining log data;
and storing the log data in a preset database so as to record the log data in the log area.
According to other embodiments of the present invention, the test platform display method further includes:
acquiring a selected target test scheme to obtain a breakpoint test scheme;
performing breakpoint setting on a pre-selected test node according to a breakpoint setting signal input in the menu bar to obtain a target test breakpoint;
and executing breakpoint test on the breakpoint test scheme according to the target test breakpoint to obtain a detection result.
According to other embodiments of the present invention, the test platform display method further includes:
screening the target test scheme according to a double-click selection signal input by a user to obtain an initial debugging scheme;
and loading a parameter value input by a user, and adjusting parameters of the initial debugging scheme according to the parameter value to obtain a target debugging scheme.
In a second aspect, an embodiment of the present invention provides a test platform display device applied to test platform software, the test platform software including a menu bar, a tool box, a test plan area, and a test window area, the test platform display device including:
the file selection module is used for interrupting a currently executed test scheme through a control signal input by a user, and selecting a switched test scheme file in the menu bar according to the control signal to obtain a target test scheme file;
the test instrument storage module is used for obtaining the test instrument in the test instrument catalog by reading the test instrument catalog in the target test scheme file to obtain a target test instrument, and storing the target test instrument in the tool box through a preset API interface;
The test scheme establishing module is used for calling the instrument function built in the target test instrument according to the test scheme writing signal input by the user and moving the instrument function to a test scheme area so as to construct a target test scheme;
and the test scheme execution module is used for controlling the target test instrument through a preset VISA interface so as to execute the target test scheme.
The test platform display device provided by the embodiment of the invention has at least the following beneficial effects: when the test platform software executes a corresponding test scheme, a user controls a mouse to click a storage area of a test scheme file in a menu bar and selects the test scheme file to be switched, a file selection module interrupts a current test scheme according to a control signal input by clicking and selects the corresponding test scheme file according to the control signal to obtain a target test scheme file, a test instrument storage module reads data information stored in the target test scheme file to obtain a test instrument catalog stored in the target test scheme file and acquires all test instruments from the test instrument catalog to obtain a target test instrument, a test scheme establishment module transmits the target test instrument to a storage area corresponding to the tool box through a preset API interface to store all the target test instrument in the tool box, the user controls the function of the mouse to be long-time set in the target test instrument, the user drags the corresponding instrument function to the test scheme area and then transmits a test scheme writing signal, the corresponding data of the instrument function is moved to the test scheme area according to the test scheme writing signal, the data corresponding to the instrument function is stored in the test scheme area to construct the target test scheme, the user inputs a corresponding control instruction, and the test scheme executing module inputs the control instruction to the target test instrument through the control instrument through the preset API interface to realize the target test instrument through the control window. Interrupting a currently executed test scheme through the control of a user, reselecting a file of the test scheme to be executed to obtain a target test scheme file, reading the target test scheme file to obtain a required test instrument to obtain a target test instrument, and storing the target test instrument into a test scheme area to call the target test instrument when executing the target test scheme so as to execute the target test scheme in the test window area, wherein the test scheme can be reestablished according to actual requirements, so that the switching of the test scheme is realized, and the use experience of the user is improved.
In a third aspect, an embodiment of the present application provides a test platform display apparatus, comprising:
at least one processor, and,
a memory communicatively coupled to the at least one processor; wherein,,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the test platform display method of the first aspect.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium storing computer-executable instructions for causing a computer to perform the test platform display method according to the first aspect.
Additional features and advantages of the application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the application. The objectives and other advantages of the application may be realized and attained by the structure particularly pointed out in the written description and drawings.
Drawings
FIG. 1 is a flowchart of a test platform display method according to an embodiment of the application;
FIG. 2 is a flowchart of another embodiment of a display method of a test platform according to an embodiment of the present invention;
FIG. 3 is a flowchart of another embodiment of a display method of a test platform according to an embodiment of the present invention;
FIG. 4 is a flowchart of another embodiment of a display method of a test platform according to an embodiment of the present invention;
FIG. 5 is a flowchart of another embodiment of a display method of a test platform according to an embodiment of the present invention;
FIG. 6 is a flowchart of another embodiment of a display method of a test platform according to an embodiment of the present invention;
FIG. 7 is a flowchart of another embodiment of a display method of a test platform according to an embodiment of the present invention;
FIG. 8 is a block diagram of a display device of a test platform according to an embodiment of the present invention;
FIG. 9 is a diagram of one embodiment of test platform software according to an embodiment of the present invention;
FIG. 10 is a schematic diagram of another embodiment of test platform software in an embodiment of the invention;
FIG. 11 is a schematic diagram of another embodiment of test platform software in an embodiment of the invention;
FIG. 12 is a schematic diagram of another embodiment of test platform software in an embodiment of the invention;
FIG. 13 is a schematic diagram of another embodiment of test platform software in an embodiment of the invention;
FIG. 14 is a schematic diagram of another embodiment of test platform software in an embodiment of the invention;
FIG. 15 is a schematic diagram of another embodiment of test platform software in an embodiment of the invention;
FIG. 16 is a schematic diagram of another embodiment of test platform software in an embodiment of the invention;
FIG. 17 is a schematic diagram of another embodiment of test platform software in an embodiment of the invention;
FIG. 18 is a schematic diagram of another embodiment of test platform software in an embodiment of the invention;
FIG. 19 is a schematic diagram of another embodiment of test platform software in an embodiment of the invention;
FIG. 20 is a schematic diagram of another embodiment of test platform software in an embodiment of the invention;
FIG. 21 is a schematic diagram of another embodiment of test platform software in an embodiment of the invention;
FIG. 22 is a schematic diagram of another embodiment of test platform software in an embodiment of the invention;
FIG. 23 is a schematic diagram of another embodiment of test platform software in an embodiment of the invention;
FIG. 24 is a schematic diagram of another embodiment of test platform software in an embodiment of the invention;
FIG. 25 is a schematic diagram of another embodiment of test platform software in an embodiment of the invention;
FIG. 26 is a schematic diagram of another embodiment of test platform software in an embodiment of the invention;
FIG. 27 is a diagram illustrating a control method of test platform software according to an embodiment of the present invention.
Reference numerals illustrate:
a file selection module 801, a test instrument storage module 802, a test scheme establishment module 803, and a test scheme execution module 804.
Detailed Description
The conception and the technical effects produced by the present invention will be clearly and completely described in conjunction with the embodiments below to fully understand the objects, features and effects of the present invention. It is apparent that the described embodiments are only some embodiments of the present invention, but not all embodiments, and that other embodiments obtained by those skilled in the art without inventive effort are within the scope of the present invention based on the embodiments of the present invention.
In the description of the present invention, if an orientation description such as "upper", "lower", "front", "rear", "left", "right", etc. is referred to, it is merely for convenience of description and simplification of the description, and does not indicate or imply that the apparatus or element referred to must have a specific orientation, be configured and operated in a specific orientation, and thus should not be construed as limiting the invention. If a feature is referred to as being "disposed," "secured," "connected," or "mounted" on another feature, it can be directly disposed, secured, or connected to the other feature or be indirectly disposed, secured, connected, or mounted on the other feature.
In the description of the embodiments of the present invention, if "several" is referred to, it means more than one, if "multiple" is referred to, it is understood that the number is not included if "greater than", "less than", "exceeding", and it is understood that the number is included if "above", "below", "within" is referred to. If reference is made to "first", "second" it is to be understood as being used for distinguishing technical features and not as indicating or implying relative importance or implicitly indicating the number of technical features indicated or implicitly indicating the precedence of the technical features indicated.
At present, the test platform is only tested for one test scheme after being started, when a user needs to perform different test schemes, the test scheme cannot be switched according to actual requirements, the test platform needs to be restarted to perform switching of the test scheme, and therefore the use experience of the user is reduced.
The present invention aims to solve at least one of the technical problems existing in the prior art. Therefore, the invention provides the test platform display method, which can reestablish the test scheme according to the actual requirement so as to realize the switching of the test scheme and further improve the use experience of a user.
Referring to fig. 1 and fig. 9, fig. 1 shows a flow chart of a test platform display method in an embodiment of the invention, fig. 9 shows a schematic diagram of test platform software in an embodiment of the invention, and fig. 9 shows a main interface of the test platform software. In some embodiments, the test platform display method is applied to test platform software, where the test platform software includes a menu bar, a tool box, a test scheme area, and a test window area, and the test platform display method specifically includes, but is not limited to, steps S101 to S104.
Step S101, selecting a switched test scheme file in a menu bar to obtain a target test scheme file;
step S102, obtaining a test instrument in a test instrument catalog by reading the test instrument catalog in the target test scheme file to obtain a target test instrument, and storing the target test instrument in a tool box through a preset API interface;
step S103, according to a test scheme writing signal input by a user, calling an instrument function built in a target test instrument in a tool box, and moving the instrument function to a test scheme area to construct a target test scheme;
step S104, the target test instrument is controlled through a preset VISA interface to execute the target test scheme.
In steps S101 to S104 illustrated in this embodiment, when the test platform software executes the corresponding test scheme, the user controls the mouse to click in the storage area of the test scheme file, and selects the test scheme file to be switched, interrupts the current test scheme according to the control signal input by clicking, and selects the corresponding test scheme file according to the control signal, so as to obtain the target test scheme file, reads the data information stored in the target test scheme file, so as to obtain the test instrument catalog stored in the target test scheme file, and obtains all the test instruments from the test instrument catalog, so as to obtain the target test instrument, transmits the target test instrument to the storage area corresponding to the tool box through the preset API interface, so as to store all the target test instrument in the tool box, controls the instrument function set in the target test instrument by the user, drags the corresponding instrument function to the test scheme writing signal after the user drags the corresponding instrument function to the test scheme area, and the data corresponding to the instrument function is moved to the test scheme writing signal according to the test scheme writing area, so as to enable the data corresponding to be stored in the test scheme area, so as to construct the target test scheme, the user inputs the corresponding control instruction, and inputs the corresponding control instrument, and the target test instrument through the preset API interface, so as to implement the target test instrument through the control instruction, and the control window. Interrupting a currently executed test scheme through the control of a user, reselecting a file of the test scheme to be executed to obtain a target test scheme file, reading the target test scheme file to obtain a required test instrument to obtain a target test instrument, and storing the target test instrument into a test scheme area to call the target test instrument when executing the target test scheme so as to execute the target test scheme in the test window area, wherein the test scheme can be reestablished according to actual requirements, so that the switching of the test scheme is realized, and the use experience of the user is improved.
In step S101 of some embodiments, referring to fig. 10, fig. 10 is a schematic diagram of test platform software in an embodiment of the present invention. FIG. 10 illustrates an operational flow for selecting a target test plan file, including: the user controls the mouse to click the 'file' in the menu bar, clicks and selects the 'main window', pops up a storage area for storing the test scheme files, enters the storage area for the test scheme files, selects the test scheme files to be switched, such as the 'safety rule dll' file, and automatically interrupts the current test scheme to obtain the target test scheme file.
In step S102 of some embodiments, referring to fig. 10 and 11, fig. 11 shows a schematic diagram of test platform software in an embodiment of the present invention, and fig. 11 shows a region of a tool box. After the target test scheme file is read, the test platform software displays a corresponding main interface, and a test instrument catalog is included in the tool box area, wherein the test instrument catalog includes a plurality of required test instruments.
It should be noted that, the region of the tool box includes general terms, userDll, and usercomplement, where the general terms are used for test information interaction and test flow control, and some statements similar to c# advanced programming can be implemented, for example: IF conditions, for loop, break exit, etc., wherein the common term For all test schemes is the same. The dynamic library is written according to the defined standard interface by driving the test instrument placed by the UserDll, so that the control of the test instrument such as setting, reading and writing can be realized. When the testing instruments used by different clients are different, the drivers of the corresponding testing instruments are replaced in the UserDll, so that the requirements of different clients can be easily met, and the time for repeatedly developing the upper computer is reduced. The usercomplement stores some common combinations in the test schemes, and calls the stored combinations when writing a new scheme, so that the writing and debugging time of the new test scheme can be reduced. In addition, after clicking the window in the menu bar, clicking the tool box for checking, the tool box is displayed on the left side of the main interface, and the test scheme and the project editing are displayed through the same steps after clicking.
In some embodiments, referring to fig. 12, fig. 12 shows a schematic diagram of test platform software in an embodiment of the present invention, and fig. 12 shows a schematic diagram of switching drivers in the test platform software. Before switching the drive, the test platform software executes the drive of the energy storage ATE, and after switching, the test platform software executes the drive of the customer project. For example: the user clicks the 'file' on the menu bar, then clicks the 'open', selects the UserDll under the executed folder test, deletes the stored file, places the file of the driver of the san Yang project written according to the standard interface in the current folder, and then reopens the test platform software, thus completing the switching of the driver.
Referring to fig. 2, 13 and 14, fig. 2 shows a flow chart of a test platform display method in an embodiment of the invention, fig. 13 shows a schematic diagram of test platform software in an embodiment of the invention, fig. 13 shows a schematic diagram of a newly built test scheme, fig. 14 shows a schematic diagram of test platform software in an embodiment of the invention, and fig. 14 shows a schematic diagram of storing a newly built test scheme. In some embodiments, the test platform display method further includes, but is not limited to including, step S201 to step S203 before calling the instrument function built in the target test instrument according to the test plan writing signal input by the user and moving the instrument function to the test plan area to construct the target test plan.
Step S201, a blank test scheme is created according to a test scheme creation signal input by a user, and an initial blank test scheme is obtained;
step S202, parameter data input by a user is obtained in a popped program information frame, and an initial blank test scheme is initialized according to the parameter data to obtain a target blank test scheme;
step S203, save the target blank test scheme to the test scheme area according to the test scheme save signal input in the menu bar.
In steps S201 to S203 illustrated in this embodiment, a user controls a mouse to click "new" on a menu bar to input a test scheme creation signal, test platform software creates a blank test scheme in a test scheme area according to the test scheme creation signal to obtain an initial blank test scheme, pops up a program information frame after the initial blank test scheme is created, the user inputs parameter data for setting the initial blank test scheme in the program information frame, the test platform software obtains the input parameter data, sets parameters of the initial blank test scheme according to the parameter data to initialize the initial blank test scheme to obtain a target blank test scheme, the user clicks "save" on the menu bar to input a test scheme save signal, and the test platform software pops up a file frame for saving a file according to the input test scheme save signal to save the target blank test scheme in the file frame, and stores the target blank test scheme in a corresponding memory to store the target blank test scheme in the test scheme area.
In step S103 of some embodiments, referring to fig. 10 and 15, fig. 15 shows a schematic diagram of test platform software in an embodiment of the present invention, and fig. 15 shows a schematic diagram of dragging an instrument function to a test solution area. And calling the built-in instrument functions of the target test instrument in the tool box, dragging the required instrument functions into the target blank test scheme one by one so as to drag the instrument functions into the test scheme area, and constructing corresponding test nodes according to the instrument functions so as to obtain the target test scheme. The test scheme area comprises a plurality of test nodes constructed according to instrument functions, and the instrument functions are based on tree controls to establish items in the test scheme area.
In some embodiments, referring to fig. 16, fig. 16 shows a schematic diagram of test platform software in an embodiment of the present invention, and fig. 16 shows a schematic diagram of dragging a test node to adjust a test sequence. The user presses the test node in the tree control of the test scheme area through the mouse for a long time to select the test node to be dragged and dropped, the test node is dragged to a position where the test node is placed in the test scheme, and the user releases the mouse to move the test node to a target position where the test node is required to be placed. If the user holds down the CtrL key when dragging and dropping the test node, the current test node is copied to the target position to be placed, and the user can conveniently adjust the execution sequence of the test nodes in the test scheme. For example: the test node is "24-9V detection" before dragging and dropping, the test node is obtained by "15-9V detection" without dragging to the target position by pressing CtrL key, and the test node is obtained by "15-9V detection" and the test node is obtained by "29-9V detection" after dragging to the target position by pressing CtrL key.
In some embodiments, referring to fig. 17, fig. 17 shows a schematic diagram of test platform software in an embodiment of the present invention, and fig. 17 shows a schematic diagram of deleting a test node. The user selects the test node in the tree control of the test scheme area through the mouse to select the test node to be deleted, clicks the right button of the mouse to pop up the operation menu, clicks 'delete' in the operation menu, and can delete the selected test node.
In some embodiments, referring to fig. 18, fig. 18 shows a schematic diagram of test platform software in an embodiment of the present invention, and fig. 18 shows a schematic diagram of a shear test node. The user selects the test node in the tree control of the test scheme area through the mouse to select the test node to be cut, clicks the right mouse button to pop up the operation menu, clicks the cut in the operation menu, clicks the right mouse button at the target position, clicks the paste in the operation menu, and cuts the selected test node to the target position.
In step S104 of some embodiments, referring to fig. 27, fig. 27 is a schematic diagram illustrating a control method of test platform software in an embodiment of the present invention. The tool box is connected with a driver of the instrument through a unified API interface, the driver of the instrument controls and reads the instrument through a VISA interface, and a test scheme is executed through the VISA interface.
Referring to fig. 3, fig. 3 is a flow chart illustrating a test platform display method according to an embodiment of the invention. In some embodiments, the test platform display method further includes, but is not limited to including, step S301 to step S302.
Step S301, a target test scheme selected in a test scheme area is obtained, and a test scheme to be processed is obtained;
step S302, converting the to-be-processed test scheme into test items according to the item storage signals input by the user, obtaining target test items, and storing the target test items into the item storage area of the tool box.
In steps S301 to S302 illustrated in this embodiment, a user clicks a corresponding target test scheme in a test scheme area through a mouse to select a target test scheme required for building a project, obtain a to-be-processed test scheme, clicks a "store project" through the mouse to send a project storage signal, and the software test platform stores the to-be-processed test scheme in a corresponding storage area according to the project storage signal, so as to convert the to-be-processed test scheme into a test project, obtain a target test project, and further store the target test project in a project storage area of a tool box.
It should be noted that, referring to fig. 19, fig. 19 shows a schematic diagram of test platform software in an embodiment of the present invention, and fig. 19 shows a schematic diagram of storing test nodes to items. Clicking the right button of the mouse to pop up an operation menu, clicking the 'store as item' in the operation menu, popping up an item name setting box, inputting the item name into the item name setting box by a user to set the name of the item, and storing the test node into the item.
In some embodiments, referring to fig. 20 and 27, fig. 20 shows a schematic diagram of test platform software in an embodiment of the present invention, and fig. 20 shows a schematic diagram of setting parameters of a test node. And performing authority detection on the currently logged-in user account to acquire the editing authority of the current user account, if the editing authority is the parameter capable of directly setting the test node, popping up a node parameter setting frame by a user through double clicking the selected test node by a mouse, and inputting parameters in the node parameter setting frame according to the test specification by the user through an XML sequence and an inverse sequence so as to finish parameter setting of the test node.
In some embodiments, referring to fig. 21 and 27, fig. 21 shows a schematic diagram of test platform software in an embodiment of the invention, and fig. 21 shows a schematic diagram of setting parameters and readings of a test instrument. And performing authority detection on the currently logged-in user account to acquire the editing authority of the current user account, if the editing authority is the parameter capable of directly setting the test instrument, popping up an instrument parameter setting frame by a user through double clicking the selected test instrument by a mouse, and inputting parameters in the instrument parameter setting frame by the user through an XML sequence and an inverse sequence to finish parameter setting of the test instrument.
And detecting the authority of the currently logged-in user account, acquiring the editing authority of the current user account, and if the editing authority is the reading capable of directly setting the test instrument, popping up an instrument reading setting frame by the user through double clicking the selected test instrument by a mouse, and inputting the reading in the instrument reading setting frame by the user so as to finish the reading setting of the test instrument.
In some embodiments, referring to fig. 22 and 27, fig. 22 shows a schematic diagram of test platform software in an embodiment of the present invention, and fig. 22 shows a schematic diagram of a debug test node. The user selects the test node to be debugged through the mouse, clicks a single step in the menu bar to output a debugging signal, the test platform software pops up a debugging frame according to the debugging signal, the user selects the test node to be debugged in the debugging frame, and an operation mode is opened in an operation area of the debugging frame to realize the debugging of the test node.
Referring to fig. 4 and 9, fig. 4 is a flow chart illustrating a test platform display method according to an embodiment of the invention. In some embodiments, the test platform further comprises a data statistics area, and the test platform display method further comprises, but is not limited to comprising, step S401 to step S402.
Step S401, obtaining data information of a composite class generated when a target test scheme is executed, and obtaining test data;
step S402, storing the test data in a preset database to count the test data in a data counting area.
In steps S401 to S402 illustrated in this embodiment, the test platform software obtains data information of a composite class generated when the target test scheme is executed in real time, so as to obtain test data at the current moment, automatically stores the test data into a preset database, and performs data statistics by calling the test data in the database, so as to perform statistics on the test data to a data statistics area.
It should be noted that, referring to fig. 27, the preset database is a MySQL database, and the transmission and storage of test data are implemented through the MySQL database.
Referring to fig. 5 and fig. 9, fig. 5 is a flow chart illustrating a test platform display method according to an embodiment of the invention. In some embodiments, the test platform further comprises a log area, and the test platform display method further comprises, but is not limited to comprising, step S501 to step S502.
Step S501, obtaining log information of a composite class generated when a target test scheme is executed, and obtaining log data;
Step S502, storing the log data in a preset database to record the log data in the log area.
In steps S501 to S502 illustrated in this embodiment, the test platform software obtains log information of a composite class generated when the target test scheme is executed in real time, so as to obtain log data at the current moment, automatically stores the log data into a preset database, and records the log data into a log area by calling the log data in the database.
Referring to fig. 6 and 23, fig. 6 is a flow chart of a test platform display method according to an embodiment of the invention, fig. 23 is a schematic diagram of test platform software according to an embodiment of the invention, and fig. 23 is a schematic diagram of setting a breakpoint. In some embodiments, the test platform display method further includes, but is not limited to including, step S601 to step S603.
Step S601, acquiring a selected target test scheme to obtain a breakpoint test scheme;
step S602, performing breakpoint setting on a pre-selected test node according to a breakpoint setting signal input in a menu bar to obtain a target test breakpoint;
step S603, executing breakpoint test on the breakpoint test scheme according to the target test breakpoint, and obtaining a detection result.
In steps S601 to S603 illustrated in this embodiment, a user clicks a target test scheme to be subjected to breakpoint setting in a test scheme area through a mouse to obtain a breakpoint test scheme, selects a corresponding test node in the breakpoint test scheme through the mouse, clicks "set a breakpoint" in a menu bar to enable test platform software to perform breakpoint setting on a current test node to obtain a target test breakpoint, clicks "execute" in the menu bar to execute the current breakpoint test scheme to enable the breakpoint test scheme to perform breakpoint test, and interrupts the test according to the target test breakpoint to obtain a detection result.
Referring to fig. 7, fig. 7 is a flow chart illustrating a test platform display method according to an embodiment of the invention. In some embodiments, the test platform display method further includes, but is not limited to including, step S701 to step S702.
Step S701, screening a target test scheme according to a double-click selection signal input by a user to obtain an initial debugging scheme;
step S702, loading a parameter value input by a user, and adjusting parameters of the initial debugging scheme according to the parameter value to obtain a target debugging scheme.
In steps S701 to S702 illustrated in this embodiment, a user double-clicks a target test scheme to be debugged by using a mouse, and sends a double-click selection signal, so that test platform software screens among a plurality of target test schemes according to the double-click selection signal, selects the target test scheme to be debugged, obtains an initial debug scheme, pops up a scheme debug window, inputs parameter values in the scheme debug window, loads parameter values input by the user, and debugs parameters of the initial debug scheme according to the parameter values, so as to update parameters of the initial debug scheme, and obtain the target debug scheme.
In some embodiments, referring to fig. 24, fig. 24 shows a schematic diagram of test platform software in an embodiment of the present invention, and fig. 24 shows a schematic diagram of a production report. The production report is constructed by data generated when the test scheme is executed, the data information generated after the test scheme is executed is queried according to the date of data generation, the model of the used test instrument, the bar code of the test instrument and the like, an Excel table is drawn according to the data information, and a file is exported in an Excel format to obtain the production report.
In some embodiments, referring to fig. 25, fig. 25 shows a schematic diagram of test platform software in an embodiment of the present invention, and fig. 25 shows a schematic diagram of user management. The user clicks the login through a mouse, pops up a user login interface, and logs in through inputting a corresponding user account number and a password; clicking the user management through a mouse, and popping up a user management interface so that a user selects corresponding management authority on the user management interface; clicking the 'modified password' through a mouse, and popping up a modified password interface so that a user inputs an original password on the modified password interface to identify, and inputs a new password to modify the password.
In some embodiments, referring to FIG. 26, FIG. 26 shows a schematic diagram of test platform software, and FIG. 26 shows a schematic diagram of an ATE configuration, in accordance with embodiments of the present invention.
In addition, the embodiment of the application also discloses a testing platform display device, please refer to fig. 8, fig. 8 is a block diagram of the testing platform display device according to an embodiment of the application. The test platform display method can be realized, the test platform display device is applied to test platform software, the test platform software comprises a menu bar, a tool box, a test scheme area and a test window area, and the test platform display device comprises: a file selection module 801, a test instrument storage module 802, a test scenario creation module 803, and a test scenario execution module 804. The file selection module 801, the test instrument storage module 802, the test scheme establishment module 803 and the test scheme execution module 804 are all in communication connection.
The file selection module 801 interrupts the currently executed test scheme by a control signal input by a user, and selects a switched test scheme file in a menu bar according to the control signal, thereby obtaining a target test scheme file. The test instrument storage module 802 obtains the test instrument in the test instrument catalog by reading the test instrument catalog in the target test scheme file, obtains the target test instrument, and stores the target test instrument in the tool box through a preset API interface. The test plan creation module 803 calls an instrument function built in the target test instrument according to a test plan writing signal input by the user, and moves the instrument function to a test plan area to construct the target test plan. The test scheme execution module 804 controls the target test instrument through a preset VISA interface to execute the target test scheme.
When the test platform software executes a corresponding test scheme, a user controls a mouse to click a storage area of a test scheme file in a menu bar and selects the test scheme file to be switched, the file selection module 801 interrupts the current test scheme according to a control signal input by clicking and selects the corresponding test scheme file according to the control signal to obtain a target test scheme file, the test instrument storage module 802 reads data information stored in the target test scheme file to obtain a test instrument catalog stored in the target test scheme file and obtains all test instruments from the test instrument catalog to obtain a target test instrument, the test scheme establishment module 803 transmits the target test instrument to the storage area corresponding to the tool box through a preset API interface to store all the target test instrument in the tool box, the user controls the mouse to long press instrument functions arranged in the target test instrument, the user drags the corresponding instrument functions to the test scheme area and then transmits test scheme writing signals, the data corresponding to the instrument functions are moved to the test scheme area according to the test scheme writing signals, the data corresponding to the instrument functions are stored to the test scheme area to construct a target test scheme, the user inputs corresponding control instructions, the test instrument executing module 804 inputs the target test instructions to the target test instrument through the preset API interface to enable the target test instrument executing module to execute the target test instructions to be input to the target test instrument through the control window through the control interface, and the target test instrument executing module is enabled to realize target test instrument test function implementation. Interrupting a currently executed test scheme through the control of a user, reselecting a file of the test scheme to be executed to obtain a target test scheme file, reading the target test scheme file to obtain a required test instrument to obtain a target test instrument, and storing the target test instrument into a test scheme area to call the target test instrument when executing the target test scheme so as to execute the target test scheme in the test window area, wherein the test scheme can be reestablished according to actual requirements, so that the switching of the test scheme is realized, and the use experience of the user is improved.
The operation process of the test platform display device of the present embodiment specifically refers to the test platform display methods steps S101 to S104, S201 to S203, S301 to S302, S401 to S402, S501 to S502, S601 to S603, S701 to S702 described above in fig. 1, 2, 3, 4, 5, 6 and 7, and is not repeated here.
Another embodiment of the present invention discloses a test platform display apparatus, comprising: at least one processor, and a memory communicatively coupled to the at least one processor; the memory stores instructions executable by the at least one processor, the instructions being executable by the at least one processor to enable the at least one processor to perform the test platform display method as in control method steps S101 to S104 in fig. 1, control method steps S201 to S203 in fig. 2, control method steps S301 and S302 in fig. 3, control method steps S401 and S402 in fig. 4, control method steps S501 and S502 in fig. 5, control method steps S601 to S603 in fig. 6, and control method steps S701 and S702 in fig. 7.
Another embodiment of the present invention discloses a computer-readable storage medium, the storage medium comprising: the storage medium stores computer-executable instructions for causing a computer to execute the control method steps S101 to S104 in fig. 1, the control method steps S201 to S203 in fig. 2, the control method steps S301 and S302 in fig. 3, the control method steps S401 and S402 in fig. 4, the control method steps S501 and S502 in fig. 5, the control method steps S601 to S603 in fig. 6, and the test platform display method of the control method steps S701 and S702 in fig. 7.
The above described apparatus embodiments are merely illustrative, wherein the units illustrated as separate components may or may not be physically separate, i.e. may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
Those of ordinary skill in the art will appreciate that all or some of the steps, systems, and methods disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes both volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as known to those skilled in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by a computer. Furthermore, as is well known to those of ordinary skill in the art, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media.
The embodiments of the present invention have been described in detail with reference to the accompanying drawings, but the present invention is not limited to the above embodiments, and various changes can be made within the knowledge of one of ordinary skill in the art without departing from the spirit of the present invention. Furthermore, embodiments of the invention and features of the embodiments may be combined with each other without conflict.

Claims (10)

1. The test platform display method is characterized by being applied to test platform software, wherein the test platform software comprises a menu bar, a tool box, a test scheme area and a test window area, and the test platform display method comprises the following steps:
interrupting a currently executed test scheme through a control signal input by a user, and selecting a switched test scheme file in the menu bar according to the control signal to obtain a target test scheme file;
obtaining a target test instrument by reading a test instrument catalog in the target test scheme file, and storing the target test instrument in the tool box through a preset API interface;
calling an instrument function built in the target test instrument in the tool box according to a test scheme writing signal input by a user, and moving the instrument function to a test scheme area to construct a target test scheme;
And controlling the target test instrument through a preset VISA interface so as to execute the target test scheme in the test window area.
2. The test platform display method according to claim 1, wherein before the calling the instrument function built in the target test instrument according to the test plan writing signal input by the user and moving the instrument function to the test plan area to construct the target test plan, the test platform display method further comprises:
creating a blank test scheme according to the test scheme creation signal input by the user to obtain an initial blank test scheme;
acquiring parameter data input by a user in a popped program information frame, and initializing the initial blank test scheme according to the parameter data to obtain a target blank test scheme;
and storing the target blank test scheme into the test scheme area according to the test scheme storage signal input in the menu bar.
3. The test platform display method according to claim 1, further comprising:
obtaining a target test scheme selected in the test scheme area to obtain a test scheme to be processed;
And converting the to-be-processed test scheme into a test item according to an item storage signal input by a user to obtain a target test item, and storing the target test item into an item storage area of the toolbox.
4. The test platform display method of claim 1, wherein the test platform further comprises a data statistics area, the test platform display method further comprising:
acquiring data information of a composite class generated when the target test scheme is executed, and obtaining test data;
and storing the test data in a preset database so as to count the test data into the data statistics area.
5. The test platform display method of claim 1, wherein the test platform further comprises a log area, the test platform display method further comprising:
acquiring log information of a composite class generated when the target test scheme is executed, and obtaining log data;
and storing the log data in a preset database so as to record the log data in the log area.
6. The test platform display method according to claim 1, further comprising:
Acquiring a selected target test scheme to obtain a breakpoint test scheme;
performing breakpoint setting on a pre-selected test node according to a breakpoint setting signal input in the menu bar to obtain a target test breakpoint;
and executing breakpoint test on the breakpoint test scheme according to the target test breakpoint to obtain a detection result.
7. The test platform display method according to claim 1, further comprising:
screening the target test scheme according to a double-click selection signal input by a user to obtain an initial debugging scheme;
and loading a parameter value input by a user, and adjusting parameters of the initial debugging scheme according to the parameter value to obtain a target debugging scheme.
8. A test platform display device, characterized in that is applied to test platform software, the test platform software includes menu bar, toolbox, test scheme area and test window area, the test platform display device includes:
the file selection module is used for interrupting a currently executed test scheme through a control signal input by a user, and selecting a switched test scheme file in the menu bar according to the control signal to obtain a target test scheme file;
The test instrument storage module is used for obtaining the test instrument in the test instrument catalog by reading the test instrument catalog in the target test scheme file to obtain a target test instrument, and storing the target test instrument in the tool box through a preset API interface;
the test scheme establishing module is used for calling the instrument function built in the target test instrument according to the test scheme writing signal input by the user and moving the instrument function to a test scheme area so as to construct a target test scheme;
and the test scheme execution module is used for controlling the target test instrument through a preset VISA interface so as to execute the target test scheme.
9. A test platform display device, comprising:
at least one processor, and,
a memory communicatively coupled to the at least one processor; wherein,,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the test platform display method of any one of claims 1 to 7.
10. A computer-readable storage medium storing computer-executable instructions for causing a computer to perform the test platform display method according to any one of claims 1 to 7.
CN202310754159.1A 2023-06-25 2023-06-25 Test platform display method, device, equipment and storage medium Pending CN116881128A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310754159.1A CN116881128A (en) 2023-06-25 2023-06-25 Test platform display method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310754159.1A CN116881128A (en) 2023-06-25 2023-06-25 Test platform display method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116881128A true CN116881128A (en) 2023-10-13

Family

ID=88270655

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310754159.1A Pending CN116881128A (en) 2023-06-25 2023-06-25 Test platform display method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116881128A (en)

Similar Documents

Publication Publication Date Title
US10956291B2 (en) Method, computer apparatus, and user interface for performing automatic test upon storage devices
JP4295775B2 (en) GUI test support system and application program for test support
US8219922B2 (en) Dynamic point and extend user interface
US9176851B2 (en) Utilizing intelligent automated scripts to test software applications
CN105740144A (en) Automated testing method and system for Android mobile Terminal
CN113449877B (en) Method and system for demonstrating machine learning modeling process
US11647250B2 (en) Methods and systems for remote streaming of a user-customized user interface
CN106126424A (en) A kind of visual automated testing method of script, device and mobile terminal
CN115658529A (en) Automatic testing method for user page and related equipment
CN111930703A (en) Automatic log file capturing method and device and computer equipment
US10831634B1 (en) Replication of user interface events
CN106970870B (en) Webpage test platform, webpage test method and webpage test system
CN116881128A (en) Test platform display method, device, equipment and storage medium
CN111552595A (en) Database backup and recovery method, device and equipment
CN111026651A (en) Test method, test device, storage medium and electronic equipment
CN110837467A (en) Software testing method, device and system
US10824532B2 (en) Dump analysis generation
JP4568150B2 (en) Processing device and processing device system
CN108563485B (en) Input panel display method and device
JPH10336102A (en) Method for operating data in base station managing device in digital cellular system
CN114945104B (en) Television software probability problem reproduction method and device and television
JP4113106B2 (en) Performance measuring apparatus and performance measuring method
JPH09223040A (en) System test supporting device for software and test scenario generator to be used for the same
JPH1165888A (en) Software testing device and storage medium
TW201928555A (en) System for editing automation script according to snapshot of other device and method thereof

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