メインコンテンツまでスキップ
バージョン:26.2

Creating Connections from within a SenseTalk Script

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

ノート

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

Connect Command Example

The following example shows 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 the Connection Properties in the SenseTalk Reference for information about all the connection options you can use in a script.

Next steps: Creating a Connection at the Command-Line Interface (CLI)