-
-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not able to launch app when using Espresso with Appium v1.15.1 #517
Comments
Please attach the full log. |
After investigating the logs, it looks like I might have a couple of issues. I believe the reason I can't run the .apk mentioned above is because for some reason my test script seems to be referencing the app package for my own app (even though I can't find a reference to this anywhere in the code) - I will have to speak to my companies Test Department (as they original wrote the script I'm testing) to see if they know why it is referencing a different app. When updating the "DesiredCapabilities" to my own app, I still get the same problem (ie. the app launches when using "UiAutomator2" but fails when using "Espresso"). Here is the log: [RemoteTestNG] detected TestNG version 7.0.0 ===============================================
|
I guess the test app failed to re-sign with Appium's developer sign. I assume you can find a waring/error log about apksigner in your log if the re-sign action failed
|
Hi, i want to ask about how to use this appium with espresso driver. Do we have to add espresso dependencies in the android application? |
Basically http://appium.io/docs/en/drivers/android-espresso/ is to start with the espresso driver. |
I have a very simple test app that just launches my Android app - if I set the "automationName" to "UiAutomator2" then my app is launched fine but if I change this to "Espresso" then nothing is launched.
In the Console, it mentions 1 test has ran and 1 test has passed but the app is not launched at all - this means that I am not given any errors so I don't know why my app isn't launching when using Espresso.
This is my code:
I'm not exactly sure of the app being downloaded here, this was just the example used in the online tutorial I was following in the hope of fixing my issue.
The app is launched if I use "UiAutomator2" but fails to launch when using "Espresso".
Is this a bug, or I am just missing something obvious?
The text was updated successfully, but these errors were encountered: