'Enabling "Espresso" Automation in Appium Project
Our Appium Automation project working good with UiAutomator2 automation for Android. But, we would like to enable the project with "Espresso" automation name to automate Android JetPackCompose UI screens.
For that, we just changed "automationName" desired capability from "UiAutomator2" to "Espresso" but we are getting following error. Unable to start session using Appium Inspector too.
What additional changes need to be changed in our Appium automation project to enable "Espresso"? Does Appium Espresso require access to App source code for automation?
Please help me.
Error Stack:-
org.openqa.selenium.SessionNotCreatedException: Unable to create a new remote session. Please check the server log for more details. Original error: A new session could not be created. Details: Unable to build Espresso server - Process ended with exitcode 1 (cmd: './gradlew -PappiumTargetPackage\=<packageName> app\:assembleAndroidTest')
Gradle error message:
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
