Sauce-Connect.jar file from Sauce Connect guide. Start Sauce Connect:
java -jar Sauce-Connect.jar <username> <access key>
Install Yeti via npm command if you haven't install yet.
npm install -g yeti
Start Yeti hub server while specify Sauce Labs WebDriver endpoint:
yeti --server --wd-url http://<username>:<access key>@ondemand.saucelabs.com:80 Yeti Hub started. LAN: http://10.0.1.13:9000 Local: http://localhost:9000
And, Launch browser you like while specify a test file:
yeti --browser chrome src/date/tests/unit/*.html Waiting for Hub to launch browsers... Agent connected: Chrome (26.0.1410.64) / Windows 7 from 10.0.1.13 ✓ Testing started on Chrome (26.0.1410.64) / Windows 7 ✓ Agent completed: Chrome (26.0.1410.64) / Windows 7 ✓ 22 tests passed! (35 seconds) Agent disconnected: Chrome (26.0.1410.64) / Windows 7 from 10.0.1.13
That's all. It's able to test on the browser in the cloud even if you don't have it!