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"
  }
}

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

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


Copyright © 2024 LogiGear Corporation. All rights reserved. LogiGearはLogiGear Corporationの登録商標であり、Action Based TestingおよびTestArchitectはLogiGear Corporationの商標です。ここに記載されているその他の商標は、各所有者の財産です。

LogiGear Corporation

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

Tel: +1 (650) 572-1400