Open Dameonn24 opened 6 months ago
@Dameonn24 I guess the reason of your problem is that androidTestImplementation
configuration is missing Appium Java client dependency
@valfirst thank you for your suggestions, I made the following changes to the build.gradle:
androidTestImplementation ("io.appium:java-client:9.2.0")
androidTestImplementation("org.seleniumhq.selenium:selenium-api:4.18.0")
androidTestImplementation("org.seleniumhq.selenium:selenium-remote-driver:4.18.0")
androidTestImplementation("org.seleniumhq.selenium:selenium-support:4.18.0")
and got the following error https://gist.github.com/Dameonn24/fef093626745b517c8506459bf2a497e
any way I could solve this?
Description
I wrote the code for an Android app that has one button. I wrote an appium test case but I'm just getting error after error.
Environment
Details
I keep getting so many random errors I don't understand what's happening. (I am a university student and complete newbie to Appium )
Code To Reproduce Issue
here's the code for the single-button app:
MainActivity.kt
and activity_main.xml:
this is the code to by appium test:
and this is my gradle dependencies:
Exception Stacktraces
[] https://gist.github.com/Dameonn24/13ccbfc77d577c8acd73c9c35e0a14b6