CN111078576A - Independent Web service test equipment based on USB network card technology - Google Patents
Independent Web service test equipment based on USB network card technology Download PDFInfo
- Publication number
- CN111078576A CN111078576A CN201911392783.1A CN201911392783A CN111078576A CN 111078576 A CN111078576 A CN 111078576A CN 201911392783 A CN201911392783 A CN 201911392783A CN 111078576 A CN111078576 A CN 111078576A
- Authority
- CN
- China
- Prior art keywords
- test
- control software
- interface
- flow design
- user
- 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
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Prevention of errors by analysis, debugging or testing of software
- G06F11/3668—Testing of software
- G06F11/3672—Test management
- G06F11/3684—Test management for test design, e.g. generating new test cases
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Prevention of errors by analysis, debugging or testing of software
- G06F11/3668—Testing of software
- 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)
- Debugging And Monitoring (AREA)
Abstract
The invention discloses independent Web service testing equipment based on a USB network card technology, which comprises an interface information acquisition module, a mouse and keyboard data generation module, an ORC identification module and testing flow design and control software. The device is connected with a target test server through a USB bus. A user designs a test script through test flow design and control software, triggers a USB input device instruction through test execution, causes linkage of a mouse and a keyboard, and completes test work by matching with a test flow design and a recognition test result of the control software on an interface. An online testing method is provided for testing a Web software system.
Description
Technical Field
The invention belongs to the field of automatic testing, and particularly relates to independent Web service testing equipment based on a USB network card technology.
Background
Software containing a user interface in a Web software system is often difficult to automatically test for operation and maintenance personnel, and test codes are inevitably added in the software to realize automatic testing. This causes the user code to be invaded by code that is not normally used. Meanwhile, the direct influence caused by the online software system is as follows: the software carries a large amount of code for functions that are not required by the user. Which are often difficult to maintain at a later date. How to realize the actual operation environment test of the online system by using a simple device and the use of the online system for non-developers becomes a main problem, and in order to solve the problem that the test cannot be conveniently carried out due to the problem, the invention provides the independent Web service test device based on the USB network card technology.
Disclosure of Invention
The purpose of the invention is as follows: the invention provides the independent Web service test equipment based on the USB network card technology, which has the advantages of reasonable system architecture, high compatible integration level, simple operation and low requirement on the technical level of users.
The technical scheme is as follows: an independent Web service test device based on a USB network card technology comprises a test U disk, an interface information acquisition module, a mouse and keyboard data generation module, an ORC identification module and test flow design and control software, and comprises the following steps:
step 1, a test U disk is connected with a user Web server through a computer USB interface, and test flow design and control software generate a test script to be stored in the test U disk;
Specifically, the human test process control module is provided with user test process control software and can execute the coding process provided by the coding software.
Specifically, in step 1, after the computer is inserted into the test usb disk, the computer runs the test flow design and control software, defines the keyword text in the Web interface to be tested, and configures whether to trigger mouse click or keyboard input when encountering the text, and configures the correct keyword that should be fed back by the Web interface after operation.
Specifically, the test flow design and control software in step 1 simulates and outputs the operation of the keyboard or the mouse according to a preset script.
More specifically, the operation is converted into data by the mouse and keyboard data generation module and sent to the user Web server operating system, and the operating system automatically executes the operations of the keyboard and the mouse according to the data.
Specifically, the test flow design and control software in the step 2 judges whether the output meets the preset condition according to the predefined script; and recording the judgment result; then running a script set by the next user and recording the result; and repeating the steps to finally complete all the test scripts set by the user.
Has the advantages that: compared with the prior art, the invention has the advantages that: the system has reasonable structure and high compatible integration level, can realize the setting and automatic testing of non-professional technicians, and saves the development time of developers and the testing time of operation and maintenance personnel. The user experience is increased, and great convenience is brought to developers and operation and maintenance personnel.
Drawings
Fig. 1 is a schematic structural view of the present invention.
In the figure: the method comprises the steps of 1-a user Web server, 2-a test U disk, 3-an interface information acquisition module, a 4-ORC identification module, 5-test flow design and control software and 6-a mouse and keyboard data generation module.
Detailed Description
The invention is further elucidated with reference to the drawings and the detailed description.
As shown in fig. 1, an independent Web service testing device based on the USB network card technology includes a testing USB disk 2, an interface information acquisition module 3, an ORC recognition module 4, testing flow design and control software 5, and a mouse and keyboard data generation module 6. The test U disk 2, the interface information acquisition module 3, the ORC identification module 4, the test flow design and control software 5 and the mouse and keyboard data generation module 6 are connected through memory data. The test U disk 2 is connected with the user Web server 1 through a USB interface. The invention is connected with the user tested server through the USB interface, and the inside is connected with the memory data exchange; and meanwhile, the mouse and keyboard data generation module generates a human-computer interaction device instruction which can be identified by the operating system, and informs the operating system of the invention of the keyboard and mouse input device so as to simulate mouse and keyboard operations.
The method comprises the following steps:
the first step is as follows: the step is mainly used for initializing the test content. The user inserts the invention into the computer USB interface, the invention device will be recognized as the USB disk and keyboard and mouse input device, the test flow design and control software 5 is run, the keyword text in the tested Web interface is defined, and the triggering of mouse click or keyboard input when encountering the text and the correct keyword which should be fed back by the operated Web interface are configured. And then, carrying out a plurality of flow configuration according to the operation sequence. Test flow design and control software 5 is then used to generate test scripts that are stored in the invention and the equipment is removed.
The second step is as follows: the step is mainly used for carrying out actual operation test work of test contents. The user plugs the invention into the USB interface of the user Web server 1 and the user Web server 1 recognizes the device as a USB disk and keyboard and mouse input device. And running the test flow design and control software 5 in the USB flash disk, loading the configured script and starting the test. After the test is started, the test flow design and control software 5 collects interface information by using the interface information collection module 3, then the data is transferred to the ORC identification module 4, the ORC identification module 4 identifies the image information, identifies and records the text information and the position of the text information, and sends the record to the test flow design and control software 5, and the test flow design and control software 5 simulates the operation of outputting a keyboard or a mouse according to a preset script. The operation is converted into data by the mouse and keyboard data generation module 6 and sent to the operating system of the user Web server 1, and the operating system automatically executes the operations of the keyboard and the mouse according to the data. After the operation is finished, the interface information acquisition module 3 acquires again, identifies the result information and the position record, and forwards the record to the test flow design and control software 5 again to finish the comparison work, and then the test flow design and control software 5 judges whether the output accords with the preset value according to the predefined script. And recording the judgment result. Then, the next script set by the user is run, and the result is recorded. And repeating the steps to finally complete all the test scripts set by the user. And then outputs the test result.
The user designs the tested Web interface function and element by inserting the invention into a computer and running the design function in the test flow design and control software, sets the content text information contained in the interface by the software, and configures whether to trigger mouse click or keyboard input when encountering the text. And then setting correct feedback text information of the test result. The software will then generate test scripts from this information. The user only needs to insert the invention into the server to be tested, and the test can be carried out by running the test flow design and the control function in the control software.
The above description is only illustrative of the present invention. Various modifications, additions and substitutions for the specific embodiments described may be made by those skilled in the art without departing from the scope of the invention as defined in the accompanying claims.
Claims (6)
1. An independent Web service test device based on USB network card technology is characterized in that: the method comprises a test U disk, an interface information acquisition module, a mouse and keyboard data generation module, an ORC recognition module and test flow design and control software, and comprises the following steps:
step 1, a test U disk is connected with a user Web server through a computer USB interface, and test flow design and control software generate a test script to be stored in the test U disk;
step 2, the test flow design and control software collects interface information by using an interface information collection module, the interface data collection module transmits the interface data to an ORC recognition module for recognition in a memory mode, and recognized text information and position information of a text relative to a screen are transmitted to the test flow design and control software in the memory mode; and the software receives the data of the ORC identification module, controls and outputs according to a test flow set by a user, compares a standard result given by the user and outputs a conclusion.
2. The independent Web service test device based on the USB network card technology according to claim 1, wherein: the human test flow control module is provided with user test flow control software and can execute the coding flow provided by the coding software.
3. The independent Web service test device based on the USB network card technology according to claim 1, wherein: in the step 1, after the computer is inserted into the test U disk, the computer runs test flow design and control software, defines a keyword text in the tested Web interface, and configures whether to trigger mouse click or keyboard input when encountering the text and correct keywords which should be fed back by the operated Web interface.
4. The independent Web service test device based on the USB network card technology according to claim 1, wherein: and (3) simulating the operation of outputting a keyboard or a mouse by the test flow design and control software in the step (1) according to a preset script.
5. The independent Web service test equipment based on the USB network card technology according to claim 4, wherein: the operation is converted into data by the mouse and keyboard data generation module and sent to the user Web server operating system, and the operating system automatically executes the operations of the keyboard and the mouse according to the data.
6. The independent Web service test device based on the USB network card technology according to claim 1, wherein: in the step 2, the test flow design and control software judges whether the output meets the preset condition according to the predefined script; and recording the judgment result; then running a script set by the next user and recording the result; and repeating the steps to finally complete all the test scripts set by the user.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911392783.1A CN111078576A (en) | 2019-12-30 | 2019-12-30 | Independent Web service test equipment based on USB network card technology |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911392783.1A CN111078576A (en) | 2019-12-30 | 2019-12-30 | Independent Web service test equipment based on USB network card technology |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111078576A true CN111078576A (en) | 2020-04-28 |
Family
ID=70319374
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911392783.1A Pending CN111078576A (en) | 2019-12-30 | 2019-12-30 | Independent Web service test equipment based on USB network card technology |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111078576A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112612699A (en) * | 2020-12-21 | 2021-04-06 | 上海金途信息科技有限公司 | General automatic test equipment for HID (high intensity discharge) human-computer interaction scene use case |
CN113742151A (en) * | 2021-09-06 | 2021-12-03 | 江苏芯盛智能科技有限公司 | Multi-version CDM tool automatic test method, device and computer equipment |
CN116192715A (en) * | 2023-02-27 | 2023-05-30 | 苏州浪潮智能科技有限公司 | USB network card reliability test method, system and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030212561A1 (en) * | 2002-05-08 | 2003-11-13 | Williams Douglas Carter | Method of generating test scripts using a voice-capable markup language |
US20140082130A1 (en) * | 2012-09-14 | 2014-03-20 | Comcast Cable Communications, Llc | Optical Character Recognition for Video Automation |
CN104252410A (en) * | 2013-06-27 | 2014-12-31 | 阿里巴巴集团控股有限公司 | Method and equipment for testing control in page |
CN105988924A (en) * | 2015-02-10 | 2016-10-05 | 中国船舶工业综合技术经济研究院 | Automatic testing method for non-intrusive type embedded software graphical user interface |
CN106775968A (en) * | 2016-11-29 | 2017-05-31 | 上海斐讯数据通信技术有限公司 | A kind of server test method, apparatus and system |
CN107665168A (en) * | 2016-07-29 | 2018-02-06 | 中国船舶工业综合技术经济研究院 | A kind of embedded software GUI automated test devices |
-
2019
- 2019-12-30 CN CN201911392783.1A patent/CN111078576A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030212561A1 (en) * | 2002-05-08 | 2003-11-13 | Williams Douglas Carter | Method of generating test scripts using a voice-capable markup language |
US20140082130A1 (en) * | 2012-09-14 | 2014-03-20 | Comcast Cable Communications, Llc | Optical Character Recognition for Video Automation |
CN104252410A (en) * | 2013-06-27 | 2014-12-31 | 阿里巴巴集团控股有限公司 | Method and equipment for testing control in page |
CN105988924A (en) * | 2015-02-10 | 2016-10-05 | 中国船舶工业综合技术经济研究院 | Automatic testing method for non-intrusive type embedded software graphical user interface |
CN107665168A (en) * | 2016-07-29 | 2018-02-06 | 中国船舶工业综合技术经济研究院 | A kind of embedded software GUI automated test devices |
CN106775968A (en) * | 2016-11-29 | 2017-05-31 | 上海斐讯数据通信技术有限公司 | A kind of server test method, apparatus and system |
Non-Patent Citations (1)
Title |
---|
吴立金等: "一种非侵入的GUI自动化测试系统设计", 《计算机测量与控制》 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112612699A (en) * | 2020-12-21 | 2021-04-06 | 上海金途信息科技有限公司 | General automatic test equipment for HID (high intensity discharge) human-computer interaction scene use case |
CN113742151A (en) * | 2021-09-06 | 2021-12-03 | 江苏芯盛智能科技有限公司 | Multi-version CDM tool automatic test method, device and computer equipment |
CN116192715A (en) * | 2023-02-27 | 2023-05-30 | 苏州浪潮智能科技有限公司 | USB network card reliability test method, system and storage medium |
CN116192715B (en) * | 2023-02-27 | 2024-10-22 | 苏州浪潮智能科技有限公司 | USB network card reliability test method, system and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110162468B (en) | Test method, test device and computer readable storage medium | |
CN110309071B (en) | Test code generation method and module, and test method and system | |
CN113505082B (en) | Application program testing method and device | |
CN104809056B (en) | A kind of generation method and device of interface testing code | |
CN111078576A (en) | Independent Web service test equipment based on USB network card technology | |
CN105117233A (en) | API calling method and device | |
CN102508775A (en) | Interactive automation test system | |
CN114048129B (en) | Automated testing method, device, equipment and system for software function changes | |
CN115952758B (en) | Chip verification method and device, electronic equipment and storage medium | |
CN112860587A (en) | UI automatic test method and device | |
CN115658529A (en) | Automatic testing method for user page and related equipment | |
KR20210036167A (en) | Test automation of application | |
CN102479152A (en) | Method and device for obtaining automatic test result of tool based on Android platform | |
CN113238796B (en) | Code reconstruction method, device, equipment and storage medium | |
CN111580786B (en) | Internet + -based software engineering development system | |
US7895575B2 (en) | Apparatus and method for generating test driver | |
CN111459814A (en) | Automatic test case generation method and device and electronic equipment | |
CN106021004A (en) | User behavior simulation unit, test system and test method | |
CN117555803A (en) | Function test method and device based on visual programming and visual programming system | |
CN101916221A (en) | Method and system for performing unit testing on equipment | |
CN113836037B (en) | Interface interaction testing method, device, equipment and storage medium | |
CN210804398U (en) | Interactive interface testing device based on artificial vision and independent of public network system | |
CN112559359B (en) | S-based 2 ML security critical system analysis and verification method | |
CN115687136A (en) | Script program processing method, system, computer equipment and medium | |
CN115827457A (en) | Browser compatibility testing method and related equipment |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200428 |
|
RJ01 | Rejection of invention patent application after publication |