Configuring BrowserStack device

BrowserStack is a cloud-based web and mobile testing platform that offers cloud devices for automation testing. TestArchitect allows an automated test to run on BrowserStack environment.

In order to select the cloud devices, you need to specify the necessary desired capabilities in a file, which conforms to JSON format.



Now, let’s build the JSON file.

I. Get Browserstack username and access key

Parameters username and access key will be used connect browserstack webdriver hub.

II. Create JSON file to store BrowserStack device’s desired capabilities

{
  "Cloud device 1": {
    "URL": "  https://<username>:<access key>@hub-cloud.browserstack.com/wd/hub",
    "os_version": "11.0",
    "device": "Samsung Galaxy S21",
    "browserName": "chrome"
  }
}

Notes: 
You need to replace <username> and <access key> by your value.

Tip: 
BrowserStack support a Capabilities Generator at https://www.browserstack.com/automate/capabilities which can be used to build your JSON file.


Copyright © 2023 LogiGear Corporation. All rights reserved. LogiGear is a registered trademark, and Action Based Testing and TestArchitect are trademarks of LogiGear Corporation. All other trademarks contained herein are the property of their respective owners.

LogiGear Corporation

1730 S. Amphlett Blvd. Suite 200, San Mateo, CA 94402

Tel: +1(800) 322-0333