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
Example Embodiment
[0062] Example 1:
[0063] like figure 1 As shown, this embodiment provides a white box switch U-Boot automation test method, including the following steps:
[0064] S1: Create a U-Boot Automation Test Task and select the automation script required for testing;
[0065] Among them, the U-boot automation test task includes shortcut function testing, shortcut key function test specific methods are as follows: Call the python script, control SecureCRT to restart the instruction in the U-Boot system; wait to reboot and determine if the SecureCRT interface enters the booting phase Keywords; After the screen appears to enter the keyword of the booting phase, the shortcuts of the test item in the U-Boot, different shortcuts enters different interfaces; verify that the simulated shortcuts enter the expected corresponding interface, simulate The shortcut key enters the corresponding interface, the test passes, otherwise the test fails; verifying the shortcut function of U-boot by shortcut ...
Example Embodiment
[0073] Example 2:
[0074] like figure 2 As shown, this embodiment provides a white box switch U-Boot automation test system, including:
[0075] Test Task Create Module 1: Create a U-Boot Automation Test Task and select the automation script required for testing;
[0076] Switch Configuration Module 2: Configure the switch and network tester port required for the test;
[0077] Test Connection Module 3: Interconnecting the switch and the switch and the network tester port in accordance with the test task
[0078] Test Setup Module 4: Set the test task execution time and number of times;
[0079] Test Execution Module 5: Perform test and record the test logs and results.
[0080] In this embodiment, the test task creation module 1 includes:
[0081] Shortcut key function test unit 1.1: Writing and calling script verification u-boot shortcut function and expectation;
[0082] Asset Information Test Unit 1.2: Writing and calling scripts to verify that the information displayed in th...
Example Embodiment
[0085] Example 3:
[0086] This embodiment provides a computer storage medium that stores an instruction in which the computer is stored in the computer, so that the computer performs 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.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap