Method and apparatus for executing commands and generation of automation scripts and test cases
First Claim
Patent Images
1. A method for creating a test case for a device under test (DUT) through a command terminal, the method comprising:
- (a) selecting the DUT in the command terminal, wherein the selecting includes retrieving connection parameters for the DUT;
(b) connecting to the DUT using the connection parameters;
(c) enabling input of a text string in the command terminal, wherein the text string includes a command;
(d) storing the text string in a history buffer, the history buffer storing previously executed commands;
(e) displaying the text string in a command history panel of the command terminal, the command history panel displays content of the history buffer;
(f) sending the text string to the DUT;
(g) displaying a response from the DUT in the command terminal;
(h) enabling a user to select and unselect a text string in the command history panel; and
(i) storing the selected content of the history buffer in a data file that represents the test case, wherein the unselected content not being stored in the test case,wherein the command terminal including a command emulator panel to facilitate entry of the text string and to display a response of the DUT to the text string.
1 Assignment
0 Petitions
Accused Products
Abstract
A command execution terminal includes an interactive graphical-user-interface (GUI) for sending commands to devices under test and to capture and display the command responses and maintaining a list of executed commands. The command execution terminal also provides functionality to create reusable device libraries of commands for a given device under test and to automate test case creation for device testing.
18 Citations
19 Claims
-
1. A method for creating a test case for a device under test (DUT) through a command terminal, the method comprising:
-
(a) selecting the DUT in the command terminal, wherein the selecting includes retrieving connection parameters for the DUT; (b) connecting to the DUT using the connection parameters; (c) enabling input of a text string in the command terminal, wherein the text string includes a command; (d) storing the text string in a history buffer, the history buffer storing previously executed commands; (e) displaying the text string in a command history panel of the command terminal, the command history panel displays content of the history buffer; (f) sending the text string to the DUT; (g) displaying a response from the DUT in the command terminal; (h) enabling a user to select and unselect a text string in the command history panel; and (i) storing the selected content of the history buffer in a data file that represents the test case, wherein the unselected content not being stored in the test case, wherein the command terminal including a command emulator panel to facilitate entry of the text string and to display a response of the DUT to the text string. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. An apparatus for creating a test case for a device under test (DUT), comprising:
-
a command terminal to display a command response of the DUT; a command history panel to display a command execution history, wherein the command execution history includes a plurality of previously executed commands, the command history panel including a user interface to display each of the plurality of previously executed commands, the user interface includes a re-execute control associated with the each of the plurality of previously executed commands to enable a re-execution of each of the plurality of previously executed commands; and a connection control to establish a connection to the DUT. - View Dependent Claims (11, 12, 13, 14, 15, 16)
-
-
17. A method of managing a test case for a device under test (DUT) comprising:
-
separating the test case in a plurality of execution steps wherein, each execution step in the plurality of execution steps is associated with a command; assigning a completion behavior to each execution step in the plurality of execution steps, wherein the completion behavior includes determining completion of each execution step, wherein determining the completion of each execution step includes detecting at least one of a particular string in a device response of the each execution step and a time out, the particular string being defined in login rules for the DUT; and assigning an extra command to each execution step in the plurality of execution steps, wherein the extra command includes a preset answer to a command query. - View Dependent Claims (18, 19)
-
Specification