Skip to main content

accounts.yml

The accounts.yml file defines the credentials required to integrate with third-party services.

applitools

nodejs
2021.1.0
ruby
2021.1.0

If you have configured visual testing to be enabled with applitools as source in visual_testing.yml, then the applitools section defines the credentials to integrate with Applitools.

api_key

nodejs
2021.1.0
ruby
2021.1.0
api_key: api_key

The API key from your Applitools account.

This value can be overridden with the TE_APPLITOOLS_API_KEY environment variable.

browserstack

nodejs
2021.1.0
ruby
2021.1.0

If you have configured to use Browserstack to run your tests by setting browserstack as source in browser.yml or mobile_app.yml, then the browserstack section defines the credentials to integrate with Browserstack.

username

nodejs
2021.1.0
ruby
2021.1.0
username: Your Username

The username for your Browserstack account.

This value can be overridden with the TE_BROWSERSTACK_USERNAME environment variable.

access_key

nodejs
2021.1.0
ruby
2021.1.0
access_key: access_key

The access_key for your Browserstack account.

This value can be overridden with the TE_BROWSERSTACK_ACCESS_KEY environment variable.

perfecto

ruby
2021.1.0

If you have configured to use Perfecto to run your tests by setting perfecto as source in browser.yml, then the perfecto section defines the credentials to integrate with Perfecto.

username

ruby
2021.1.0
username: Your Username

The username for your Perfecto account.

This value can be overridden with the TE_PERFECTO_USERNAME environment variable.

password

ruby
2021.1.0
password: Your Password

The access_key for your Perfecto account.

This value can be overridden with the TE_PERFECTO_PASSWORD environment variable.

cloud_url

ruby
2021.1.0
cloud_url: Your Cloud URL

The URL associated with your Perfecto account.

This value can be overridden with the TE_PERFECTO_CLOUD_URL environment variable.

sauce_labs

ruby
2021.1.0

If you have configured to use Sauce Labs to run your tests by setting sauce as source in browser.yml, then the sauce_labs section defines the credentials to integrate with Sauce Labs.

domain

ruby
2021.1.0
domain: Your Domain

The domain associated with your Sauce Labs account.

This value can be overridden with the TE_SAUCELABS_DOMAIN environment variable.

username

ruby
2021.1.0
username: Your Username

The username for your Sauce Labs account.

This value can be overridden with the TE_SAUCELABS_USERNAME environment variable.

access_key

ruby
2021.1.0
access_key: Your Access Key

The access key associated with your Sauce Labs account.

This value can be overridden with the TE_SAUCELABS_ACCESS_KEY environment variable.

kobiton

ruby
2021.1.0

If you have configured to use Kobiton to run your tests by setting kobiton as source in browser.yml, then the kobiton section defines the credentials to integrate with Kobiton.

username

ruby
2021.1.0
username: Your Username

The username for your Kobiton account.

This value can be overridden with the TE_KOBITON_USERNAME environment variable.

api_key

ruby
2021.1.0
api_key: api_key

The api_key for your Kobiton account.

This value can be overridden with the TE_KOBITON_API_KEY environment variable.

percy

nodejs
2021.1.0
ruby
2021.1.1

If you have configured visual testing to be enabled with percy as source in visual_testing.yml, then the percy section defines the credentials to integrate with Percy.

api_key

nodejs
2021.1.0
ruby
2021.1.1
api_key: api_key

The API key from your Percy account.

This value can be overridden with the TE_PERCY_API_KEY environment variable.

testrail

nodejs
2023.0.1
ruby
2023.0.0

If you have configured to output results to Test Rail by setting testrail enabled to be true in reporting.yml, then the testrail section defines the credentials to integrate with Test Rail.

username

nodejs
2023.0.1
ruby
2023.0.0
username: Your Username

The username for your Test Rail account.

This value can be overridden with the TE_TESTRAIL_USERNAME environment variable.

password

nodejs
2023.0.1
ruby
2023.0.0
password: Your Password

The password for your Test Rail account.

This value can be overridden with the TE_TESTRAIL_PASSWORD environment variable.

Example accounts.yml

default_config/accounts.yml
&defaults_accounts

applitools:
api_key: api_key

percy:
api_key: api_key

browserstack:
username: Your Username
access_key: Your Access Key

perfecto:
username: Your Username
password: Your Password
cloud_url: Your Cloud URL

sauce_labs:
domain: Your Domain
username: Your Username
access_key: Your Access Key

kobiton:
username: Your Username
api_key: api_key

testrail:
username: Your Username
password: Your Password