Questions tagged [appium-android]

A versatile test automation tool designed for native and hybrid mobile applications, available as open-source software.

Having Trouble Locating UiAutomator2 in Appium for Android with Python?

I keep encountering an error even though I have confirmed that uiautomator2 is installed correctly. It's puzzling to me, perhaps it has something to do with my desired capabilities? In the past, I've used cloud Appium without issues, but this time I am set ...

Ways to utilize your mobile device: initiate an activity using OptionalIntentArguments

Ever since I updated my Appium dependency to version 9.1.0, I have been facing difficulty in using ((AndroidDriver) driver).startActivity(activity). You can find more information on this issue here: https://github.com/appium/java-client/pull/2036 Prior to ...

Guide to Executing the Appium Selenium Mobile Automation Script on a Different Machine Remotely from the Primary Code Machine

Is it possible to execute the Appium Mobile automation script from one main/coding machine to another machine that has a connected device? I am interested in learning about the required software and prerequisites for running the code on a different machin ...

Tips for receiving pop-up message notifications when automating a Mobile App with Appium selenium using C#

Upon completion of the timesheet form submission, a success message is displayed along with an ID and other information in a popup that resembles a lightbox on the mobile app. I am interested in extracting this text and saving it in a variable for reporti ...

Appium is reporting a console error stating, "The specified search parameters were unable to locate an element on the page."

Having difficulty finding the element in my mobile app. ` public class Ovex { private static AndroidDriver driver; public static void main(String[] args) throws MalformedURLException, InterruptedException { DesiredCapabilities capabilities = n ...

Encountering a problem when executing the mobile automation script using Appium

Encountering an issue while running my automation script with Appium. I'm executing a mobile automation script on a Windows Desktop machine with the following software setup: Software Set-Up: 1. Android Studio 2. Appium 3. Mobile/Tablet connected ...

Is it recommended to have a single repository for iOS and Android when creating automation for mobile applications (Native App)?

At the moment, I am utilizing Appium, Selenium, Java, and TestNG for automating a native app. My focus is on iOS and Android platforms, where the functionalities are similar but the element identification process differs between the two. Each element has a ...

Tackling the task of identifying elements using @FindBy when they possess multiple id values

Is it possible to declare page elements (mobile elements, using @FindBy or @AndroidFindBy) with two potential ids that will vary based on the app version being tested? One id is for the staging version and another for production, each slightly different - ...

Error encountered in the main thread: Could not find class definition for org/openqa/selenium/remote/codec/w3c/W3CHttpCommandCodec

An issue occurred in the main thread with the message: java.lang.NoClassDefFoundError: org/openqa/selenium/remote/codec/w3c/W3CHttpCommandCodec Could this error be related to dependencies? I tried searching for solutions on Stack Overflow but couldn't fin ...

Is it possible to leverage Robot Framework for automating web and mobile applications, enabling simultaneous execution?

Is it possible to run both web and mobile applications simultaneously using the robot framework? If so, how can this be achieved? If we include libraries for both web and mobile applications, how does the robot framework differentiate between the two? Do ...

What are some strategies for resolving problems with implementing Selenium WebDriver in a Xamarin mobile app?

When attempting to download Selenium.WebDriver via the NuGet Solution, I encountered an error stating: Failed to add reference. The package 'Selenium.WebDriver' tried to add a framework reference to 'System.Drawing' which was not found ...