IConnections Methods
Adds a new ad-hoc connection to the SUT. Used when the test case needs to switch between different SUTs during execution.
{protocol}:Name='{Name}';Target='{TargetSystem}';User='{Username}';Password='{Password}';
e.g.
vnc:Name='Win10_Dev';Target='192.168.12.172';User='TestResults';Password='tr.io';
Syntax:
string Add(
string connectionString
)
Parameter | Description |
connectionString | Type: String
Name of the connection you want to add. |
Return Value:
Returns the name of the connection as a string.
Syntax:
bool SwitchTo(
string name
)
Parameter | Description |
name | Type: String
Name of the connection you want to switch to. |
Return Value:
Returns true if the connection was successful
Last modified 3yr ago