Questions tagged [appium]
An open-source test automation tool for use with native and hybrid mobile apps
7,801
questions
0
votes
0
answers
16
views
Unable to install appium plugins. Can any one help please
I am trying to install the appium plugins but getting the below error. I have tried to upgrade/downgrade appium. I have version 2.0.0 now but somewhere its showing conflict with 1.22.3 which I am ...
0
votes
0
answers
11
views
How to set accessibilityIdentifier for a title of a viewcontroller in UIKit [duplicate]
The problem is that I can't set accessibilityIdentifier for a title of a viewcontroller that is inside of a NavigationController. I need to set it for testing purposes for Appium.
The simplest ...
0
votes
0
answers
7
views
Test Automation for a Mobile Application using Appium / Android Emulator / Containers / Katalon
I spent quite some time on internet looking for a satisfactory solution I didn't find up to now and I guess it could interest several people around.
I am doing Test Automation for an application for ...
0
votes
0
answers
10
views
Error: Timeout at listOnTimeout (node:internal/timers:569:17) at processTimers (node:internal/timers:512:7)
I'm currently working on a test automation project for an Android application. For this, I use the Appium server installed on Node.js as well as the two frameworks WebDriver.io and Cucumber, with the ...
0
votes
0
answers
10
views
How can I confirm clickability, visibility, and retrieving attributes of Flutter elements using the appium-flutter-driver
I am attempting to confirm the clickability and visibility of Flutter elements and retrieve certain attributes using the appium-flutter-driver. However, I am encountering an issue where it shows '...
0
votes
0
answers
21
views
Cannot register appium node to appium hub
im trying to use appium hub like this (cuz i need device-farm plugin)
appium server --use-plugins=device-farm --plugin-device-farm-platform=android --config hubConfig.json
hubConfig file:
{
"...
0
votes
1
answer
33
views
How to extract a part of a string and click on it using Appium inspector
I am working on an Android app. my app has a Text "This is for the reference. to see the full list, click here".
I need to some how click on the text : "click here" so that I can ...
0
votes
0
answers
21
views
Appium Android: How to click on Spannable Text?
I have a screen that contains a TextView, the text view text is composed of a SpannableStringBuilder which in turn appends a URLSpan.
I'd like to write an Appium test to click on that specific URLSpan ...
0
votes
0
answers
11
views
Running Emulator on Github Hosted Windows Runner
I am running an emulator after I created an avd with
-k "system-images;android-30;google_apis;x86_64"
on Github Windows(latest) runner
Now when I am running the emulator, its giving me this ...
-1
votes
0
answers
13
views
Automate desktop app with appium/selenium?
I have an Appium Project for automation of an Android app. The app is now available as an Desktop App (MacOS) and I want to automate it as well. Is there a way to use appium, ideally in same project, ...
-1
votes
0
answers
15
views
Unable to install uiautomator2
command used : appium driver install uiautomator2
getting the below error:
× Installing 'uiautomator2' using NPM install spec 'appium-uiautomator2-driver'
Error: × Encountered an error when ...
0
votes
0
answers
16
views
SendKeys() is not correctly working for IOS + Safari + Appium + Python
For a web page , There are 2 fields that I'm trying to fill using IOS + Safari + Appium + Python
regular input field, sendKeys() actually puts the text but as I soon as I go to another field it goes ...
0
votes
0
answers
6
views
WinAppDriver support of custom elements on Windows Desktop
colleagues.
We try to automate our old style win32 mfc application with WinAppDriver + Appium.
Mainly, it works, but we would like to know: is it possible to extend a functionality and add a support ...
-1
votes
1
answer
29
views
Test automation of bar codes using selenium Webdriver, appium in java [closed]
We have a new requirement that we want to automate barcodes to test our application and we are planning to use selenium Webdriver, Appium and java.
can you please share what are the other plugins ...
0
votes
0
answers
19
views
How to detect an error outside of the windows element (appium / c#)
I have an issue, with the app I'm working, that every time an error occurred it goes outside of the app as u can see in the image I upload, and every time I try to find it with the appium.webdriver ...
0
votes
1
answer
26
views
Issue with Appium Inspector: Incorrect Element Position displayed
I'm facing a peculiar issue with Appium Inspector. When I move the cursor to the left side of my emulator screen to get xpath of any element, the selected area in the Inspector shifts to a different ...
1
vote
1
answer
21
views
ImportError: cannot import name 'AppiumOptions' from 'appium.webdriver.webdriver'
I'm using the below and trying to open an android app using appium.
from appium import webdriver
from typing import Any, Dict
from appium.webdriver.common.appiumby import AppiumBy
from appium....
0
votes
1
answer
35
views
Test setup for 200 iterations
I'm doing an Android app test with Appium. The test is configured for 200 iterations and is meant to test the process of updating an external hardware component that the app is BT connected to:
*** ...
0
votes
0
answers
8
views
Facing an error 'Could not load a driver for automationName 'XCUITest' and platformName 'iOS''
unable to start the appium inspector it throws the error
Encountered internal error running command: Error: Could not load a driver for automationName 'XCUITest' and platformName 'iOS'. Please verify ...
0
votes
0
answers
8
views
Call to 'getSession' failed The session identified by e4a83445-2606-4710-baac-3786d87761aa is not known
i am unable to screen keep on loadinginspect the element ,appium inspector keep on loading
i try to inspect the element but i am unable to do that appium inspector keep on loading
{
"appium:...
-3
votes
0
answers
58
views
Appium issue - The desired capabilities must include either an app or a bundleId for iOS
I am using mac system for iOS automation using Appium. After setting all desired capabilities and I am getting the below error :
Could not start a new session. Response code 500. Message: An unknown ...
0
votes
0
answers
29
views
Xamarin forms element not visible in inspect.exe UI automation tree yet can view properties on hover
So I'm using WinAppDriver to automate the testing of a UWP application written with Xamarin Forms and I am using to inspect.exe to make sure that the AutomationID property is being set properly on all ...
-1
votes
0
answers
9
views
Clicking a link embedded in an element in a sentence using appium + java on my windows machine without using coordinate system
how can i click only the linked text from a sentence/ element with a text like this " Please manually enter the address or scan for controllers. here i need to click only scan for controllers ...
-1
votes
0
answers
16
views
Internet sharing from MacBook / Studio lingers after switched off
I guess for a bit of context: I'm trying to deploy a WebDriverAgent on iOS 17 which requires a live internet connection for the 1st time deployment as per: https://developer.apple.com/help/account/...
0
votes
0
answers
22
views
Selenium Appium App Crashed And Returns A Failed Cases
So I have a Selenium Appium Python script for my testing purpose. I created the UI website using Laravel.
My script consists of around 3 test cases:
def test_login_success
def test_less_phone_number
...
0
votes
2
answers
31
views
Log to Console from an Appium Plugin
Summary
I am building an Appium Plugin.
While building my plugin I've attempted to call console.log(). I expected the String argument to appear in the Terminal window I start the Appium Server using ...
0
votes
1
answer
55
views
Appium reports "AttributeError 'NoneType' object has no attribute 'to_capabilities'"
from appium import webdriver
desired_capabilities = {
'uuid':'emulator-5554',
'platformName': 'Android',
'deviceName': 'LDPlayer',
'appPackage': 'com.ldmnq.launcher3',
'...
0
votes
0
answers
7
views
appium doctor, warning about Xcode is shown though it is included in the path
I get this warning from appium-doctor.
WARN AppiumDoctor ➜ Manually install Xcode, and make sure 'xcode-select -p' command shows proper path like '/Applications/Xcode.app/Contents/Developer'
But the ...
0
votes
0
answers
5
views
appium doctor, warning about apkanalyzer is shown though it is included in the path
I get this warning from appium-doctor.
WARN AppiumDoctor ➜ Manually install apkanalyzer and add it to PATH.
But actually, it is included in the path.
% which apkanalyzer
/opt/homebrew/bin/apkanalyzer
...
0
votes
1
answer
36
views
I can't run driver.touchAction() because it says "Method not implemented" (yesterday it worked)
I had restarted my Mac and suddenly my automation tests (Appium WebdriverIO with Typescript for Android native app testing) stopped working. I deleted NVM and reinstalled a fresh node from brew. After ...
0
votes
0
answers
30
views
While trying to compile maven build getting this error
Error
Failed to collect dependencies at com.sikulix:sikulixapi:jar:1.1.0 -> jxgrabkey:jxgrabkey:jar:1.0: Failed to read artifact descriptor for jxgrabkey:jxgrabkey:jar:1.0: The following artifacts ...
0
votes
0
answers
16
views
Can't run test script
FYI, I have a script for running login testcase to apps, I used typescript as a languange and appium for running the test. Also I used emulator for running the apps. But I faced some bug, accidentaly ...
0
votes
0
answers
21
views
Input 1k datas using CSV file from kobocollect UI / endpoint
I’m newbie to using kobocollect.
I need support to create automation for input 1k data via kobocollect UI.
I’ve tried to download kobocollect.apk from playstore using https://apkcombo.com/, but ...
-2
votes
0
answers
10
views
Getting Unknown Command error in Webdriverio
I'm using webdriverio for automation project for Android and iOS using JavaScript. And using experitest cloud for the automation but when I try to hit the command
await driver.getWindowSize();
It's ...
0
votes
0
answers
8
views
How can I fetch network logs at run time on Native App?
My requirement is to fetch network logs at runtime when my scenario is running via automation on native app.
I am using wdio automation framework ( JavaScript ) + cucumber framework and using appium ...
0
votes
0
answers
9
views
ext.flutter.driver" is not found in "extensionRPCs" and Cannot connect to the Dart Observatory URL ws://127.0.0.1:40615/q2l5tFCaOOs=/ws
I have added the following snippet inside main.dart file of my flutter android project
enableFlutterDriverExtension(
commands: [],
finders: [],
);
runApp(const AppRepoProvider());
also added the ...
-1
votes
0
answers
12
views
The Appium inspector tool shows UI items in the viewer, but in the app source, same Items are not being displayed
Have a good day.
Actually, The Appium inspector tool shows the required UI items in the viewer, but in the app source, some Items are not being displayed like some buttons, so I cannot interact with ...
0
votes
0
answers
42
views
Gson is not working with Java based app using AWS Lambda
I am developing an app to trigger the AWS Lambda in Java.
Note: My app uses Maven as the build tool.
To trigger the Lambda, I need to send the JSON object in the request. I'm trying to use Gson ...
0
votes
0
answers
30
views
How to fix "request was received using an HTTP method that is not supported by the mapped resource" with Appium method ActionChains?
ENVIRONMENT:
Python 3.10
Windows 10.0.22621
npm 6.13.4
adb Android Debug Bridge version 1.0.41
java version "1.8.0_241"
sdkmanager 4.0.1
appium 1.22.3
PROBLEM:
I want to click and hold on a ...
0
votes
0
answers
27
views
how to fix java.lang.reflect.InaccessibleObjectException-->Unable to make protected final java.lang.Class in appium with jenkins
I am running my test using Appium Java with integration in jenkins, and I use Jenkins build now to debug my test run (since I need to simulate test in CI/CD process and make sure that it will run in ...
0
votes
0
answers
37
views
Appium inspector - not able to inspect elements inside the flatlist/scrollview - iOS (react native) app
I'm running the react native iOS app on simulator and wanted to inspect the elements using the appium and appium inspector. The appium inspector is showing only the flatlist/scrollview element but not ...
0
votes
0
answers
16
views
How to Handle successful pop up message "Provisioning Success" ok on Appium python script provisioning
Im trying to run the provision application from appium python script and mobile conenected on the machine where for given ssid and password is connected.After successful connection for AP, we get ...
-1
votes
1
answer
50
views
How can I avoid org.openqa.selenium.WebDriverException: Original error: socket hang up?
I am running a test automation suite using Appium 2.2.1, Java 11, TestNG, and Cucumber.
I keep running into a problem where I get org.openqa.selenium.WebDriverException: org.openqa.selenium....
0
votes
2
answers
100
views
Selenium, Robotframework - Error: WebDriverException: Message: unknown error: net::ERR_NAME_NOT_RESOLVED
I am using robotframework framework, using selenium and appium.
Recently I have been seing issues with chrome, I updated my chrome driver to 118v to match it with the current chrome version I am using....
2
votes
1
answer
29
views
How to fix the ERROR Unrecognized arguments: –async-trace when running apppium
ENVIRONMENT:
Windows 11
PS C:\WINDOWS\system32> appium --version
2.2.1
PS C:\WINDOWS\system32> npm --version
10.2.0
PS C:\WINDOWS\system32> java -version
java version "1.8.0_241"
...
0
votes
0
answers
19
views
WPF Ui automation using appium
I have a WPF web app and I would like to automate the UI testing using appium ( I have setup the appium and winAppDriver) but I am a newbie in this field, so I don't know much.
What I would like to do ...
0
votes
0
answers
5
views
The items in Appium inspector as shows as ViewGroup (javascript)
Actually I am testing cross-platform app, which is running on Android & iOS
The issue for me when I was using the Appium the items are displayed as view group and not appearing
in their real ...
0
votes
0
answers
5
views
Not able to click on the Mobile element after adding wait method and accurate locator
I tried my level best but when the mobile application is getting opened its taking fraction of second to update, already I have tried implicit wait, explicit wait, accessiblity I'd, xpath everything ...
0
votes
0
answers
9
views
How to start Appium server programmatically before the first scenario executed? (Using Cucumber and JUnit)
I want to start Appium server before the first scenario and then after the last scenario is executed, I want to close it.
But I cant do it...
Currently it starts the server before each scenario, and ...
0
votes
0
answers
15
views
Using wildcards or something similar in pom files
We are using Selenium in Maven Java projects. An occasional project also uses WinAppDriver.
We have a project called "Utilities" which other projects have as a dependency. One of my ...