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