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

The workflow steps that need to be executed before running the BrowserStack App Automate - Espresso workflow step, along with their respective reasons, are listed 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.

Input Variables

For each component, specific input variables are required for its operation on your system. The input variables necessary for the BrowserStack App Automate - Espresso are as follows:

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