The Sauce Labs Cookbook

Sauce Headless

Front End Performance Testing

Analytics

External Resources

More Info


Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

It's easy to launch your automated Selenium and Appium tests on Sauce Labs as part of your Bitbucket Pipelines build process.

Prerequisites

Procedure 

  1. Configure your bitbucket-pipelines.yml file to run your tests using your test runner of choice.
    For more information on this, please see the Atlassian Bitbucket Pipelines beta documentation.
  2. In Bitbucket, click Settings in the left hand nav bar.
  3. Under Pipelines, click Environment Variables.
  4. Add your SAUCE_USERNAME and SAUCE_ACCESS_KEY as environment variables.

    Finding Your Username and Access Key

    You can find your Sauce Labs username and access key in the User Profile > User Settings section of your Sauce Labs dashboard.


    Now when you kick off a a build with Bitbucket Pipelines, your tests should run on Sauce Labs. 
  • No labels