Shell & SSH Automation
Execute commands on remote systems and validate infrastructure behavior directly from the TestFirst Editor using natural language test steps.
Commands can be executed independently or combined with other automation types as part of an end-to-end workflow.
Example
Scenario: Establish shell session and run a command
Given shell session to
"""
{
"type": "ssh",
"host": "test.rebex.net",
"port": 22,
"basicAuth": {
"username": "demo",
"password": "password"
}
}
"""
When I run command "whoami"
Then command should complete successfully
And command output should contain "demo"
Shell and SSH automation are fully integrated into TestFirst's Unified Test Automation approach, allowing command-line validation to work seamlessly with web, mobile, and API automation within the same test case.
Learn more:
Cross-Platform Test Automation
Last updated

