Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
19 views

How to capture a CardView element in Appium

I need to capture an element in my automated tests with Appium in android, this element is of type CardView https://developer.android.com/reference/androidx/cardview/widget/CardView and I can't ...
Hilario Jefferson's user avatar
0 votes
0 answers
37 views

Appium doesn't see XML layout inside Jetpack Compose Android

I have this content of the BottomSheet with AndroidView inside, where I use AndroidView to inject RecyclerView inside Jetpack Compose layout: Box( modifier = Modifier.automationTag("BottomSheet&...
Michael Katkov's user avatar
0 votes
0 answers
39 views

Declaring a page object in the test class is throwing below error - Appium

I am getting an error when declaring a page object in the test class, as shown in the code below. When I declare the page object in the test method, it works perfectly, which I think is not right. ...
oneirion's user avatar
0 votes
1 answer
89 views

NoClassDefFoundError: Failed resolution of: Ljava/net/http/HttpClient

About Automation Testing in android java project, using with Appium framework. After follow Automation Testing with Appium guideline I had: android java project (java programming language) include: ...
Huy Tower's user avatar
  • 7,949
0 votes
0 answers
59 views

Could not find a driver for automationName 'UIAutomator2' and platformName 'ANDROID' - Appium Issue

import io.appium.java_client.AppiumDriver; import io.appium.java_client.android.AndroidDriver; import io.appium.java_client.android.options.UiAutomator2Options; import io.appium.java_client.service....
ATHARVA HIWASE's user avatar
1 vote
0 answers
40 views

How to click on an element in android where clickable attribute is false

I am new to mobile automation. I am trying to click on an element where the displayed attribute is true, but the other attributes are false. {"key":"checkable","value":&...
Manash Sarma's user avatar
2 votes
1 answer
110 views

androidTest vs Appium -- are both needed in a given project?

The formal Android Developers documentation provides an enlightening introduction to the Fundamentals of testing Android apps. I managed to successfully create 3 different types of test setups in ...
sfinja's user avatar
  • 652
0 votes
1 answer
26 views

Can not find element on the Android native application

I tried to find the 'Join now' button element on the android native application by using Appium inspector as below: But I could not select it on Appium Inspector Then I copied the XML source to text ...
Đặng Trần Nhật Quang's user avatar
0 votes
0 answers
31 views

Trying to get values from a spinner on Appium Inspector

Im trying to get a value from this spinner but I cant select it using Appium Inspector, but it only selects the thing below the item: Appium Inpector with the spinner not selected List opened, and the ...
Vitor Ferreira's user avatar
0 votes
0 answers
175 views

Under what conditions might the androidx.startup.InitializationProvider not be invoked, even if it is present in manifest

We are setting up appium tests with espresso driver for our project. And test code works fine (for about a minute) until it invokes WorkManager.getInstance() java.lang.IllegalStateException: ...
Gomer Grek's user avatar
3 votes
1 answer
1k views

Best Practices for Using testTag in Jetpack Compose

I’m currently exploring best practices for UI testing in Compose and noticed the use of testTag for component identification. While I understand its utility for stable UI tests, I'm concerned about ...
Ayush Shrivastava's user avatar
0 votes
0 answers
109 views

I cant connect to my android device via appium inspector

Device is connected to PC, I can check it via ping and ADB devices -l. Appium server running fine. When trying to reach the device via appium inspector I get the following message: 'Failed to create ...
Antho's user avatar
  • 1
0 votes
0 answers
35 views

How to get "resource-id" from element in Android app

I am new to Android development and am trying to use Appium to replay events recorded in a Kotlin Android app. I am first going to send the events to some endpoint, then read this data and perform the ...
as07's user avatar
  • 25
1 vote
0 answers
261 views

Appium accessibility id's different on android

I am trying to add testID's to my component so automated tests can be run. I am adding the testId's like below. I have added some screenshots of the appium inspector, id for iOS and accessibility id ...
Bomber's user avatar
  • 10.9k
0 votes
1 answer
220 views

Android Appium long press not working on 2.5.1

On my local appium that runs 2.0.1 this works: WebElement element = assertElement(new AppiumBy.ByAndroidUIAutomator("new UiSelector().resourceId(\"" + resourceId + "\")"...
rosu alin's user avatar
  • 5,830
0 votes
0 answers
126 views

"WebDriverException: The requested resource could not be found while using AppiumLibrary in Robot Framework"

I'm encountering an issue while using the AppiumLibrary in Robot Framework. When trying to open an application using the Open Application keyword, I'm getting a WebDriverException with the message &...
Sumayya Shaji's user avatar
0 votes
0 answers
57 views

WebView Automation Android - Capture Steps performed by the user & Repeat it automatically

I need help to automate WebView, requirements first capture/record steps(NOT Video Record) performed by the user like Scroll, Entering credentials, Navigating to another webpage, or anything that a ...
M S's user avatar
  • 1
0 votes
0 answers
131 views

An unknown server-side error occurred while processing the command. Original error: Cannot start the XY application

I'm new with Katalon Studio and mobile automation. I'm trying to automate a flow in Android, installation and other setup were done, and also could created the first test scriprt (with recording ...
HGS's user avatar
  • 1
0 votes
0 answers
103 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 ...
Ell-A's user avatar
  • 1
0 votes
2 answers
618 views

No route found for local appium server while automating Android app with Appium2.0

I am new to Mobile Automation. I am trying to setup Appium2.0 in my windows machine but I am running into the below issues as attached. Can someone please help? I am trying to run the Appium server ...
Learn2Code's user avatar
0 votes
0 answers
431 views

How to Change the Port of Appium UiAutomator2 Server running in emulator?

I am facing an issue with port forwarding in my Appium setup, particularly with the UiAutomator2 server running on my Android emulator. In the Appium server logs, I noticed the following lines: ...
saibhaskar's user avatar
-1 votes
1 answer
255 views

Not able to install application using appium

I'm trying to install the apk file through Appium on the emulator 5554. I'm receiving the following error, but the same apk file can be installed on a real device through Appium and it works. Response ...
Ezhumalai Shanmugam's user avatar
0 votes
3 answers
1k views

how to click with cordinates in appium java?

I want to know how to click with coordinates in Appium Java, I want to click on an element by (x,y) as this element is the send button on the keyboard. and it doesn't have a locator
ahmed mahmoud's user avatar
0 votes
1 answer
162 views

Robot framework test mobile app with appium, unable login app still show error Keyword 'AppiumLibrary.Input Text' expected 2 arguments

Settings Library AppiumLibrary Variables ${REMOTE_URL} http://localhost:4723/wd/hub ${PLATFORM_NAME} Android ${PLATFORM_VERSION} 10 ${DEVICE_NAME} 868101048880709 ${PACKAGE_NAME} ...
Zack's user avatar
  • 1
0 votes
1 answer
117 views

Unbale to Interact with elements using QAFWebDriver for Android Mobile Web in Perfecto

Below are the details: Selenium - 4.11.0 Appium Java-Client - 8.5.1 QAF - 4.0.0-RC2 OpenJDK 17 perfecto.properties driver.name=perfectoDriver remote.server=https://.perfectomobile.com/nexperience/...
Raj's user avatar
  • 1
0 votes
0 answers
604 views

Appium test failing due to element ID not being located, but element does indeed exists

I've created an Appium test in Python which recreates signing into a mobile application. I was able to successfully run my test using the ACCESSIBILITY_ID element, but I know this is not something all ...
subzerotitan's user avatar
1 vote
1 answer
602 views

Appium: How do I find the absolute path of an apk on my Android mobile phone?

I am working with appium inspector on Windows (using a real connnected Android device), and the error that I am getting is: Failed to create session. An unknown server-side error occurred while ...
Rikudou's user avatar
  • 189
0 votes
1 answer
102 views

Android mobile app : Not able to find object in appium or browserstack inspect mode

in android app, I am not able to find the locators or objects. I am getting android.widget.HorizontalScrollView and inside that android.View.ViewGroup. Where as there are buttons, cards inside that ...
shub718's user avatar
0 votes
2 answers
345 views

Mobile Automation Testing Problem in OPPO Mobile in Appium

Here is the Code is there any method to run this code: public static void main(String[] args) throws MalformedURLException, InterruptedException, AWTException { DesiredCapabilities cap = new ...
Prasaanth Sakthivel's user avatar
1 vote
0 answers
451 views

How do I get the parent UiSelector starting at its child?

Note: Working with Java 11 and Appium. I am trying to get a MobileElement for an appium test suite using Android UiAutomators. Specifically I need to scroll to one so I am condtructing the locator ...
cdub's user avatar
  • 410
0 votes
1 answer
6k views

Android device: How to connect wifi by "Adb shell cmd wifi" command?

Android device: How to connect wifi by "Adb shell cmd wifi" command? I tried to connect wifi by adb to avoid tedious click and verification operations by appium. And i found that the "...
GaviZ's user avatar
  • 11
1 vote
1 answer
298 views

How to display all elements not just the visible elements with java

I want to get all names from settings menu: https://app.screencast.com/AdssamooNLZbm?conversation=QUFAp0MrtNKXgm68k42Gfy&tab=Details https://app.screencast.com/J4VoylbceDuca?conversation=...
user avatar
0 votes
2 answers
484 views

How can i do a validation in a QA script to check if a element is not present

I'm working on writing a test automation script for a android app. I'm using python to write the code and using Appium server to run these tests and using Appium UI inspector to identify elements. I'm ...
mali abey's user avatar
2 votes
2 answers
9k views

How to use xml:s android:id in Jetpack compose?

How can I use xml:s android:id like this: <TextView android:id="@id/randomId"> In Jetpack compose? I'm thinking something like this: Text(modifier = Modifier.layoutId("randomId&...
Targetbus12's user avatar
1 vote
2 answers
203 views

QA Automation script run fails while trying to detect an android app button which has a unique id

I'm working on writing a test automation script for a android app. I'm using python to write the code and using Appium server to run these tests and using Appium UI inspector to identify elements. I'm ...
mali abey's user avatar
1 vote
2 answers
176 views

If you want to try testing two Android devices(from two manufacturers like Samsung and Pixel) at the same time, would this splitter work?

I am trying to test on two different Android devices as a set first, then Android plus Apple devices set next, while running the test scenario code from my Mac PC with an Appium framework at the same ...
user avatar
0 votes
1 answer
887 views

Appium: Do we have a common attribute for Android and iOS to check for text value of a certain element?

I'm currently torn on whether this is verifiable or not. First, I think there is some way to get the attribute value from a mobile element. However, after my observation I noticed they have two ...
Faith Berroya's user avatar
0 votes
1 answer
740 views

WebdriverIO Appium - Not able to sendKeys or enter value in the input field

Using Appium to automate a website on Android chrome browser. After visiting the website, gets a pop up to enter username and password. Tried all combinations, but unable to switch and type or ...
autoTest's user avatar
0 votes
1 answer
261 views

Unable to connect mobile to laptop using"adb connect ip"error is "No connection could be made because the target machine actively refused it. (10061)"

adb connect iP No connection could be made because the target machine actively refused it. (10061) while trying to connect Connected device after running the above command BTW I later realized I need ...
shiva durga's user avatar
0 votes
1 answer
879 views

Can we runn mobile app tests in headless appium on a Physical Device (Non emulator)?

I am not able to run headless on a physical device and even tried by using below code capabilities.setCapability("isHeadless", true); capabilities.setCapability("avdArgs", &...
shiva durga's user avatar
-1 votes
1 answer
1k views

Appium inspector can't start session

I can't start session in Appium inspector, I have spent all my time but still haven't found a working solution. starting the session is only greeted with: Failed to create session. An unknown server-...
bounyh's user avatar
  • 1
0 votes
1 answer
144 views

How can I detect if a user is in debugging mode

Is there any way to detect if a mobile session on my android app is in android USB debugging mode or developer mode, or otherwise running automation via tools such as appium
bounyh's user avatar
  • 1
1 vote
0 answers
529 views

Appium - Unable to switch context when using chromedriver 104

Him curretnly I have implement a code where I initiate Android driver and perform some actions in NATIVE_APP context, in a later stage I open Chrome and navigate into a link. When running ...
MarkZvu's user avatar
  • 51
0 votes
1 answer
526 views

Appium With C# - How to select file from gallery with ADB command or with some other way?

I am currently automating our App (Using C# and Appium). We have the feature of uploading images from a gallery. With Appium and through our app, I am able to open the gallery view. Need to select the ...
Uday Kadam's user avatar
1 vote
1 answer
853 views

Appium fails to launch on Android emulator with multiple activities

I'm using Appium v1.22.2 IntelliJ community Gradle with dependencies implementation 'io.appium:java-client:7.6.0' testImplementation 'junit:junit:4.13.1' implementation 'org.assertj:assertj-core:3.22....
bonzdho_01's user avatar
0 votes
3 answers
956 views

How to press green tick button using Keyboard actions appium android

In my code, I need to press some number and click on green tick button. After I click, expected is hide the keypad and it shows a error validation message.. I have the following code in my script. ...
Ramkumar's user avatar
  • 166
0 votes
0 answers
244 views

Failed to create appium session for android

I have followed a youtube tutorial to setup for appium and it gets done also. But I'm facing an issue of failed session while running Appium Inspector for my emulator. I have tried many available ...
Anshul Tyagi's user avatar
  • 2,196
0 votes
1 answer
1k views

Appium cannot find by ID, can by Xpath

I am able to find elements by XPath but not by Id. I have tried in many ways as shown below // I have tried everything below with By as well as MobileBy var list = driver.FindElements(...
Joe Arnold's user avatar
0 votes
1 answer
1k views

What is the Key code for this key from Android Keyboard for Appium scripting?

I am trying to send an SMS with Python and Appium. When I type the phone number, I need to press the blue key on the bottom right corner (see screenshot) to validate the phone and then to write the ...
Gauthier Buttez's user avatar
1 vote
0 answers
266 views

How to identify Android buttons and objects with Appium Inspector

I'm trying to identify different button on a PDA\telephone using Appium Inspector. The problem that I have is that I have 12 buttons on the menu and they all have the same resource ID. At this point ...
Reinier Botha's user avatar

1
2 3 4 5 6