Terminal
Terminal/Skill
Runs automated mobile app tests on real iOS and Android devices through BrowserStack App Automate, for Appium, XCUITest or Espresso suites.
By BrowserStack
Works with
npx skills add browserstack/browserstack-cursor-plugin --skill run-mobile-tests-on-browserstacktakeAppScreenshot - Launch app and capture verification screenshotrunAppTestsOnBrowserStack - Run automated mobile tests on real devicesgetFailureLogs - Retrieve error logs for failed app testsUse takeAppScreenshot to verify your app launches correctly:
"Take a screenshot of my app on iPhone 15 Pro with iOS 17. App path: /Users/me/app.ipa"
"Verify my app launches on Google Pixel 6 with Android 12. App file: /Users/me/app-debug.apk"
What the tool does:
Use runAppTestsOnBrowserStack to execute your test suite:
"Run Espresso tests from /tests/checkout.zip on Galaxy S21 and Pixel 6 with Android 12. App path: /apps/beta-release.apk"
"Run XCUITest tests on iPhone 14 and iPhone 15 Pro with iOS 17. Test suite: /tests/login-tests.zip"
"Run my Appium tests on Samsung Galaxy S23 (Android 14). App: /apps/myapp.apk, Tests: /tests/suite.zip"
What the tool does:
Supported Test Frameworks:
Retrieve error logs using getFailureLogs:
"Get error logs from App Automate session ID abc123, Build ID xyz789"
"Show me failure logs from my last app test run"
Quick App Verification:
"Take a screenshot of my app on iPhone 15 Pro to verify it launches"
"Check if my app opens correctly on Galaxy S24 with Android 14"
Run Test Suites:
"Run Espresso tests on Google Pixel 7 and Samsung Galaxy S23"
"Run XCUITest suite on iPhone 14 Pro and iPhone 15"
"Run Appium tests across 5 Android devices"
Device Matrix Testing:
"Run my tests on iPhone 14, 15, and 15 Pro with iOS 17"
"Test on Galaxy S21, S22, S23 with Android 13 and 14"
Debug Test Failures:
"Get error logs and screenshots from my failed app test session"
"Show me what went wrong in session abc123"
User: "I need to test my checkout flow on iPhone 15 and Galaxy S24"
Steps:
"Take screenshot of my app on iPhone 15 Pro. App: /apps/myapp.ipa""Run XCUITest tests on iPhone 15 Pro and Appium tests on Galaxy S24. App: /apps/myapp.ipa, Tests: /tests/checkout.zip"runAppTestsOnBrowserStack uploads app, runs tests on both devices"Get error logs from the failed sessions"takeAppScreenshot first to verify app launches