|  | 
|  | 1 | +# ============================= | 
|  | 2 | +# Set BrowserStack Credentials | 
|  | 3 | +# ============================= | 
|  | 4 | +# Add your BrowserStack userName and acccessKey here or set BROWSERSTACK_USERNAME and | 
|  | 5 | +# BROWSERSTACK_ACCESS_KEY as env variables | 
|  | 6 | +userName: BROWSERSTACK_USERNAME | 
|  | 7 | +accessKey: BROWSERSTACK_ACCESS_KEY | 
|  | 8 | + | 
|  | 9 | +# ====================== | 
|  | 10 | +# BrowserStack Reporting | 
|  | 11 | +# ====================== | 
|  | 12 | +# The following capabilities are used to set up reporting on BrowserStack: | 
|  | 13 | +# Set 'projectName' to the name of your project. Example, Marketing Website | 
|  | 14 | +projectName: BrowserStack Samples | 
|  | 15 | +# Set `buildName` as the name of the job / testsuite being run | 
|  | 16 | +buildName: browserstack build | 
|  | 17 | +# `buildIdentifier` is a unique id to differentiate every execution that gets appended to | 
|  | 18 | +# buildName. Choose your buildIdentifier format from the available expressions: | 
|  | 19 | +# ${BUILD_NUMBER} (Default): Generates an incremental counter with every execution | 
|  | 20 | +# ${DATE_TIME}: Generates a Timestamp with every execution. Eg. 05-Nov-19:30 | 
|  | 21 | +# Read more about buildIdentifiers here -> https://www.browserstack.com/docs/automate/selenium/organize-tests | 
|  | 22 | +buildIdentifier: '#${BUILD_NUMBER}' # Supports strings along with either/both ${expression} | 
|  | 23 | +# Set `framework` of your test suite. Example, `testng`, `cucumber`, `cucumber-testng` | 
|  | 24 | +# This property is needed to send test context to BrowserStack (test name, status) | 
|  | 25 | +framework: cucumber-testng | 
|  | 26 | + | 
|  | 27 | +source: cucumber-java:appium-sample-main:v1.0 | 
|  | 28 | + | 
|  | 29 | +app: ./WikipediaSample.apk | 
|  | 30 | +# app: ./LocalSample.apk #For running local tests | 
|  | 31 | + | 
|  | 32 | +# ======================================= | 
|  | 33 | +# Platforms (Browsers / Devices to test) | 
|  | 34 | +# ======================================= | 
|  | 35 | +# Platforms object contains all the browser / device combinations you want to test on. | 
|  | 36 | +# Entire list available here -> (https://www.browserstack.com/list-of-browsers-and-platforms/automate) | 
|  | 37 | +platforms: | 
|  | 38 | +  - deviceName: Samsung Galaxy S22 Ultra | 
|  | 39 | +    platformVersion: 12.0 | 
|  | 40 | +    platformName: android | 
|  | 41 | +  - deviceName: Samsung Galaxy S21 | 
|  | 42 | +    platformVersion: 11.0 | 
|  | 43 | +    platformName: android | 
|  | 44 | +  - deviceName: Google Pixel 6 Pro | 
|  | 45 | +    platformVersion: 12.0 | 
|  | 46 | +    platformName: android | 
|  | 47 | + | 
|  | 48 | +# ======================= | 
|  | 49 | +# Parallels per Platform | 
|  | 50 | +# ======================= | 
|  | 51 | +# The number of parallel threads to be used for each platform set. | 
|  | 52 | +# BrowserStack's SDK runner will select the best strategy based on the configured value | 
|  | 53 | +# | 
|  | 54 | +# Example 1 - If you have configured 3 platforms and set `parallelsPerPlatform` as 2, a total of 6 (2 * 3) parallel threads will be used on BrowserStack | 
|  | 55 | +# | 
|  | 56 | +# Example 2 - If you have configured 1 platform and set `parallelsPerPlatform` as 5, a total of 5 (1 * 5) parallel threads will be used on BrowserStack | 
|  | 57 | +parallelsPerPlatform: 1 | 
|  | 58 | + | 
|  | 59 | +# ========================================== | 
|  | 60 | +# BrowserStack Local | 
|  | 61 | +# (For localhost, staging/private websites) | 
|  | 62 | +# ========================================== | 
|  | 63 | +# Set browserStackLocal to true if your website under test is not accessible publicly over the internet | 
|  | 64 | +# Learn more about how BrowserStack Local works here -> https://www.browserstack.com/docs/automate/selenium/local-testing-introduction | 
|  | 65 | +browserstackLocal: true # <boolean> (Default false) | 
|  | 66 | +#browserStackLocalOptions: | 
|  | 67 | +#Options to be passed to BrowserStack local in-case of advanced configurations | 
|  | 68 | +#  localIdentifier: # <string> (Default: null) Needed if you need to run multiple instances of local. | 
|  | 69 | +#  forceLocal: true  # <boolean> (Default: false) Set to true if you need to resolve all your traffic via BrowserStack Local tunnel. | 
|  | 70 | +# Entire list of arguments available here -> https://www.browserstack.com/docs/automate/selenium/manage-incoming-connections | 
|  | 71 | + | 
|  | 72 | +# =================== | 
|  | 73 | +# Debugging features | 
|  | 74 | +# =================== | 
|  | 75 | +debug: false # <boolean> # Set to true if you need screenshots for every selenium command ran | 
|  | 76 | +networkLogs: false # <boolean> Set to true to enable HAR logs capturing | 
0 commit comments