All Questions
Tagged with automated-tests android
708
questions
0
votes
0
answers
45
views
How to automate Mouse event in Android
I am currently testing some android applications and inside the app have some contextual menu only triggered by mouse right click.
Do we have any method or solution to automatically trigger that menu ...
0
votes
0
answers
50
views
Reactivecircus emulator crashes with IllegalArgumentException for front camera
I am trying to do some UI testing on github, one of those tests uses camera, front one. This is step that I use for running emulator and runing script
- name: run tests
uses: reactivecircus/...
1
vote
0
answers
25
views
Test doubles in Instrumented End-To-End tests
I have a Fragment screen which launches a WebView using a registerActivityForResult and I want to have an End-to-End Instrumented test which has this Fragment in the flow.
class OAuthLoginScreen(
...
0
votes
0
answers
20
views
How to prevent failure in Expresso Unit Test with application restarting (Runtime exit + start activity)?
I have an Android application that restarts after a certain process finishes via:
Intent launchIntent = getPackageManager()
.getLaunchIntentForPackage(getPackageName() );
activity....
0
votes
0
answers
99
views
How to inject a QR code image for end-to-end testing a QR code scanning app
End-to-end testing an app with QR-code scanning features seems to be difficult. Is there a way to kind of inject a QR code image into an Android device or simulator to automate this scanning process? ...
0
votes
0
answers
20
views
Appium multiplatform testing - set up capabilities
I want to be able to execute different test scenarios using Appium on different platforms. E.g. I will be doing something on web app using chrome and then checking if it had an impact on the mobile ...
0
votes
0
answers
13
views
Zero tests started with gradle connectedAndroidTest or gradle connectedDebugAndroidTest
I have some Espresso tests in Android studio in kotlin
Executed "gradle connectedAndroidTest" and "gradle connectedDebugAndroidTest" from cmd having emulator from Android studio ...
0
votes
0
answers
64
views
Filter tests in App center test task Azure pipeline
I have a some espresso tests in Android Studio in Kotlin. Some of the Test classes I have added them in a Test Suite class.
I have a azure pipeline set up with App center test task to run the tests in ...
0
votes
0
answers
55
views
Mobile app element can suddenly not be found in automated test, has anyone else encountered this?
I am quite new to Appium. Sorry if this question already exists.
I am facing a peculiar issue with finding an element on a page. We are using UISelectors to locate the elements, but the elements on ...
0
votes
1
answer
243
views
How to get the session id of the mobile phone?
I am doing automation testing for an Android device, but there is an input box that requires filling in a session ID. I don't know how can I get a session ID of the mobile phone?
Your help will be ...
1
vote
0
answers
140
views
End to end test for Passkey in mobile App
Passkey requires an Authenticator to store and validate the credentials during registration and authentication phase.
This requires user-presence and user-verification depending on the Relying Party ...
0
votes
0
answers
82
views
UIAutomator testing after an action the ui is refreshed but the Hierarchy not
I have a problem during testing my app on Android.
I have my automation tests using UiAutomator and I have a strange behavior, in a test When a click on an element is triggered the UI in the emulator ...
1
vote
0
answers
93
views
Automated accessibility tests for Compose components similar to Espresso?
In Espresso, it's easy to write automated UI tests that check for accessibility. Just enable AccessibilityChecks. Is there an equivalent for Jetpack Compose?
0
votes
1
answer
405
views
Jetpack Compose View.GONE alternative
Is there any compose View.GONE alternative, that is not a condition?
I need a button to be still findable and clickable by an automated test but not by user.
So using a condition is not a solution for ...
0
votes
0
answers
95
views
Original error: 'POST /appium/device/open_notifications' cannot be proxied to UiAutomator2 server because the instrumentation process is not running
Device: Samsung Galaxy S9+, Android 10.0
System info: 'Mac OS X', os.arch: 'x86_64', os.version: '13.4', java.version: '18.0.2'
Appium version 2.0.0, Uiautomator2 version 2.10.1
The issue started to ...