Skip to main content
Version: 26.2

Creating Connections in a SenseTalk Script

SenseTalk is the Eggplant Test scripting language. You create and establish system under test (SUT) connections at test runtime by including a connect command in your SenseTalk test script.

note

Connections created from within a script at runtime are temporary connections that will be disconnected and deleted when the Eggplant Test application that runs it quits. For example, when the Eggplant Functional application or Fusion Engine (used by Eggplant Studio, DAI, or Eggplant Functional for command-line executions) finish running.

Connect Command Example

The following example shows how to use a connect command to establish an RDP connection. It specifies the SUT host ID or Server name, connection port number, username and password, type, and screen size to use to create and establish the connection.


Connect {serverID: SUTID, portNum: 3389, password: SUTPassword, username: SUTUsername, Type:"RDP", Width: 1920, Height: 1080}

See Connection Properties in Using EPF for information about all the connection options you can use in a script.