IConnections Methods
Last updated
Was this helpful?
Last updated
Was this helpful?
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:
Parameter
Description
connectionString
Type: String Name of the connection you want to add.
Return Value: Returns the name of the connection as a string.
Switches the active connection to another one.
Syntax:
Parameter
Description
name
Type: String Name of the connection you want to switch to.
Return Value: Returns true if the connection was successful