Interactive automatic-test GUI for testing devices and equipment using shell-level, CLI, and SNMP commands
First Claim
1. A test manager comprising:
- a test graphical-user-interface (GUI) that enables a user to enter high-level commands to test a network device;
a test executer, coupled to the test GUI and sending the high-level commands to the network device, the test executer receiving status values from the network device and analyzing the status values by comparing the status values to acceptable ranges of status values to determine when the network device has failed a test;
a rules database that stores logon prompts generated by the network device, the test executer connecting to the network device by receiving matching prompts from the network device and responding with user values input by the user to the test GUI, the user input values being sent to the network device in response to the matching prompts in a sequence defined by the user using the test GUI; and
a report generator, responsive to the test executer, for generating a test-results report to the user, the test-results report indicating when the test executer determines that the network device has failed the test;
wherein the test executer logs on to the network device by sending the user input values in the sequence defined by the user in response to matching prompts that match logon prompts in the rules database, the test executer also sending the high-level commands to the network device and receiving and analyzing the status values to determine when the network device has failed the test, whereby the network device is tested using high-level commands.
2 Assignments
0 Petitions
Accused Products
Abstract
A test manager software program includes an interactive test graphical-user-interface (GUI) for testing network devices using high-level networking commands. The test GUI allows the test engineer user to enter high-level commands such as Simple Networking Management Protocol (SNMP) commands that read values in a management information database in a network device under test. The high-level commands can be sent from the test manager using a command-line interface (CLI) in a telnet session opened to the network device during testing. The user specifies high-level test, analyze, and restore commands in test cases that are collected into test suites. Rules for logging on to the network device under test are stored that include expected prompts from the network device and user responses such as passwords. Addresses of the network device under test can be re-mapped for testing other devices so the test suites can be reused.
85 Citations
20 Claims
-
1. A test manager comprising:
-
a test graphical-user-interface (GUI) that enables a user to enter high-level commands to test a network device;
a test executer, coupled to the test GUI and sending the high-level commands to the network device, the test executer receiving status values from the network device and analyzing the status values by comparing the status values to acceptable ranges of status values to determine when the network device has failed a test;
a rules database that stores logon prompts generated by the network device, the test executer connecting to the network device by receiving matching prompts from the network device and responding with user values input by the user to the test GUI, the user input values being sent to the network device in response to the matching prompts in a sequence defined by the user using the test GUI; and
a report generator, responsive to the test executer, for generating a test-results report to the user, the test-results report indicating when the test executer determines that the network device has failed the test;
wherein the test executer logs on to the network device by sending the user input values in the sequence defined by the user in response to matching prompts that match logon prompts in the rules database, the test executer also sending the high-level commands to the network device and receiving and analyzing the status values to determine when the network device has failed the test, whereby the network device is tested using high-level commands. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
-
-
15. A computer-implemented method for testing a network device comprising:
-
using a test graphical-user-interface (GUI) to receive expected prompts from a user, the expected prompts being prompts generated by a network device under test;
displaying the expected prompts in a window in the test GUI in a logon sequence order;
storing the expected prompts and the logon sequence order as a logon rule;
associating the logon rule with the network device under test;
entering into the test GUI user replies to the expected logon prompts for the logon rule;
creating a test case by entering into the test GUI a high-level command for transmission to the network device under test using a command-line interface (CLI);
specifying an analysis command using the test GUI by identifying a CLI command to read a configuration setting that was set by the high-level command and to compare the configuration setting to an expected configuration setting;
associating the test case with a network address for the network device under test;
executing the test case by activating an automated test program that uses the logon rule to connect to the network device under test, and sending the high-level command to the network device under test, and analyzing results of execution of the high-level command to determine when the network device under test has failed the test case; and
reporting results of execution of the test case that includes a failure indication when the network device under test has failed the test case, whereby the network device under test is automatically tested using a high-level CLI interface. - View Dependent Claims (16, 17, 18)
-
-
19. A computer-program product comprising:
-
a computer-usable medium having computer-readable program code means embodied therein for testing a network device, the computer-readable program code means in the computer-program product comprising;
network connection means for transmitting and receiving packets from a network device under test;
test graphical-user-interface (GUI) means for receiving high-level commands, logon sequences, and scheduling information from a user, the high-level commands including Simple Networking Management Protocol (SNMP) commands to read status data from a management information base in the network device under test;
execute means, activated in response to the scheduling information entered by the user with the test GUI, for connecting to the network device under test with a telnet session using the logon sequences, and for sending the high-level commands to the network device under test for execution by the network device under test; and
monitor and report means, activated by the execute means, for analyzing execution results from the network device under test and for generating a report of execution results, whereby high-level SNMP commands are sent to the network device under test after connecting to the network device under test using the logon sequences. - View Dependent Claims (20)
-
Specification