Start Testing Within Minutes:
Prerequisites:
Create a free SauceLabs account at:
https://saucelabs.com/sign-up
IntelliJ Users:
go to VCS -> Get from Version Control and paste this link in the URL box: https://github.com/rkp8/SauceLabsDemo
Non-IntelliJ Users:
Download a zipped up version of this code by clicking the green button on the right.
Or if you have git installed, you can simply run this command:
git clone https://github.com/rkp8/SauceLabsDemo
import the project into your favorite IDE
Coding:
-
Add in your SauceLabs account credentials in the code. Replace USERNAME and ACCESS.
-
Specify the browser and platform options: SauceLabs can pregenerate this part of the code for you at this link: https://wiki.saucelabs.com/display/DOCS/Platform+Configurator#/
-
Finally, replace the Selenuim code with your own custom code.
After running, the test results will appear on your SauceLabs Dashboard.