Creating Device Sessions

Device sessions specify connection parameters to a remote configured device, ranging from basic or physical connection settings to exceptions raised by the configured device.

When creating a test, using existing device sessions enables you to create the test more easily. Existing configured sessions can be loaded by clicking the Load from storage button from the Session Consoles pane, which opens a standard selection window.

You can create new sessions or edit existing ones.

After having created a session, you can save it as a reusable resource in the Device Sessions folder of the Reusable Resources category.

To create a new device session resource:

  1. While in Edit mode, choose the Device Resource command from the Test ribbon, or press the equivalent Ctrl + N, Ctrl + D keyboard shortcut.
  2. The Session Editor window (Figure:Session Editing Window ) appears, enabling you to configure the device session parameters and save the resulting session as a resource.

    Figure:Session Editing Window

  3. Input a session name and choose an interface type.
  4. Define connection parameters for the Connection (refer to Defining Connection Settings), Terminal (Defining Terminal Settings), DevicePrompts (Defining Device Prompts), Exceptions (See Also), and Response Templates categories (Specifying a Response Templates Folder).
  5. Save the session resource by choosing the File > Save menu command. In the Save As window that appears specify a device session name and navigate to the desired location underneath the Device Settings folder that is used for storing all session resources. Alternatively you can also save the session under another name using the File > Save As menu command.
  6. The device session is saved as a reusable resource in the application database and can be re-used across multiple tests by clicking the Load from Storage... button in the Session Consoles window.

When saving a device session as a resource, it is saved in a folder under the Device Sessions folder comprising all device session resources. If you want to save a device session to a different location, either on the same machine or on another network machine, use the Export command from the Manage Resources window instead, as described in Manage Resources.