Skip to main content

BrowserStack App Automate - Espresso

BrowserStack App Automate - Espresso is a testing solution provided by BrowserStack specifically designed for Android applications using the Espresso testing framework. It allows developers to run automated tests for their Android apps across a wide range of real devices hosted in the BrowserStack cloud infrastructure. This service enables efficient and comprehensive testing of Android applications, covering various scenarios and device configurations to ensure app quality and performance.

The Appcircle BrowserStack App Automate - Espresso step allows you to run automated tests on Android apps using the Espresso framework on real devices in the BrowserStack cloud.

Prerequisites

Before running the BrowserStack App Automate - Espresso step, you must complete certain prerequisites, as detailed in the table below:

Prerequisite Workflow StepDescription
Android Build for UI TestingThe Android Build for UI Testing step must be executed to obtain the necessary Android app outputs for processing.
Screenshot

Input Variables

This step contains some input variable(s). It needs these variable(s) to work. The table below gives explanation for this variable(s).

Screenshot
Sensitive Variables

Please do not use sensitive variables such as Username, Password, API Key, or Personal Access Key directly within the step.

We recommend using Environment Variables groups for such sensitive variables.

Variable NameDescriptionStatus
$AC_BROWSERSTACK_USERNAMESpecifies the username of the BrowserStack account. Refer to BrowserStack - Authenticate Test Runs for more details.Required
$AC_BROWSERSTACK_ACCESS_KEYSpecifies the access key for the BrowserStack account. Refer to BrowserStack - Authenticate Test Runs for more details.Required
$AC_APK_PATHSpecifies the path of the APK file produced in the Appcircle workflow to be sent to BrowserStack. This field is automatically populated if the Android Build for UI Testing step was executed in previous steps.Required
$AC_TEST_APK_PATHSpecifies the path of the test APK file produced in the Appcircle workflow to be sent to BrowserStack. This field is automatically populated if the Android Build for UI Testing step was executed in previous steps.Required
$AC_BROWSERSTACK_PAYLOADSpecifies the payload to be sent to BrowserStack from your Appcircle workflow.$AC_BROWSERSTACK_APP_URL and $AC_BROWSERSTACK_TEST_URL will be auto generated. Please refer to the documentation for more details about the payload.Optional
$AC_BROWSERSTACK_TIMEOUTSpecifies the timeout in seconds for checking the BrowserStack plan. The default value is 600.Required

To access the source code of this component, please use the following link:

Preview of GitHub - appcircleio/appcircle-browserstack-espresso-component