Appcenter - Test on emulator

489 Views Asked by At

Trying to add appcenter CLI commands for example: appcenter test run espresso --app "Test-apps" --devices "google-pixel-2-android-10" --app-path pathToFile.apk --test-series "master" --locale "en_US" --build-dir pathToEspressoBuildFolder

But where should add this CLI command & how to add it stepwise. Can anyone explain clearly?

1

There are 1 best solutions below

2
On

Your question is still not very clear, it would be great if you copy and paste the errors you are getting, share a screenshot or give more details. Tell us what OS you are using, where did you get this command from?

You need to open the terminal or shell, and paste the commands in there.

There are a few pre-requisites though, the documentation is not super beginner friendly.

From the docs:

  1. Install NodeJS https://nodejs.org/en/
  2. In the terminal, run npm install -g appcenter-cli