White-box switch U-Boot automatic testing method and system and storage medium
An automated test and u-boot technology, applied in the transmission system, digital transmission system, data exchange network, etc., can solve the problems of low test efficiency, many test contents, and long manual test cycle, so as to save test manpower and make significant progress , the effect of highlighting the substantive characteristics
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0063] Such as figure 1 As shown, the present embodiment provides a white box switch U-Boot automated testing method, comprising the following steps:
[0064] S1: Create a U-Boot automation test task and select the automation script required for the test;
[0065] Among them, the U-Boot automated test task includes the shortcut key function test. The specific method of the shortcut key function test is as follows: call the python script, control the SecureCRT to issue a restart command in the U-Boot system; wait for the restart and judge whether the SecureCRT interface appears to enter the Booting stage keywords; when the screen displays the keywords that enter the Booting stage, simulate the shortcut keys corresponding to the test items in U-Boot, and enter different interfaces with different shortcut keys; verify whether the simulated shortcut keys enter the expected corresponding interface, simulate If the shortcut key enters the corresponding interface, the test passes, o...
Embodiment 2
[0074] Such as figure 2 As shown, the present embodiment provides a white box switch U-Boot automated test system, including:
[0075] Test task creation module 1: Create U-Boot automated test tasks and select the automated scripts required for testing;
[0076] Switch configuration module 2: configure the switches and network tester ports required for testing;
[0077] Test connection module 3: interconnect the switch with the switch according to the test task, and connect the switch with the port of the network tester;
[0078] Test setting module 4: set the test task execution time and times;
[0079] Test Execution Module 5: Execute tests and record test logs and results.
[0080] In the present embodiment, described test task creation module 1 includes:
[0081] Shortcut key function test unit 1.1: Write and call scripts to verify whether the shortcut key function of U-Boot is as expected;
[0082] Asset information test unit 1.2: Write and call scripts to verify wh...
Embodiment 3
[0086] This embodiment provides a computer storage medium, where instructions are stored in the computer storage medium, and when the computer is run on the computer, the computer is made to execute the above method.
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com