accounts.yml
The accounts.yml file defines the credentials required to integrate with third-party services.
applitools
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
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
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
username: Your Username
The username for your Browserstack account.
This value can be overridden with the TE_BROWSERSTACK_USERNAME environment variable.
access_key
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
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
username: Your Username
The username for your Perfecto account.
This value can be overridden with the TE_PERFECTO_USERNAME environment variable.
password
password: Your Password
The access_key for your Perfecto account.
This value can be overridden with the TE_PERFECTO_PASSWORD environment variable.
cloud_url
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
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
domain: Your Domain
The domain associated with your Sauce Labs account.
This value can be overridden with the TE_SAUCELABS_DOMAIN environment variable.
username
username: Your Username
The username for your Sauce Labs account.
This value can be overridden with the TE_SAUCELABS_USERNAME environment variable.
access_key
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
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
username: Your Username
The username for your Kobiton account.
This value can be overridden with the TE_KOBITON_USERNAME environment variable.
api_key
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
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
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
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
username: Your Username
The username for your Test Rail account.
This value can be overridden with the TE_TESTRAIL_USERNAME environment variable.
password
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
- Ruby
- JavaScript
&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
applitools:
api_key: api_key
browserstack:
username: Your Username
access_key: Your Access Key
kobiton:
username: Your Username
api_key: api_key
percy:
api_key: api_key
sauce_labs:
domain: Your Domain
username: Your Username
access_key: Your Access Key
testrail:
username: Your Username
password: Your Password