Questions tagged [appium]

Appium is an open source test automation framework for use with native, hybrid and mobile web apps. It drives iOS and Android apps using the WebDriver protocol.

Filter by
Sorted by
Tagged with
0 votes
0 answers
10 views

How to automate SMS receiving testing with Appium?

i'm working on test automation for a webApp and there are scenarios where i need to make sure SMS are being received correctlly by users, Current testing is built with webdriverIO so my question is ...
  • 121
0 votes
1 answer
18 views

Appium+Python: Screenshot for failed step in iOS :HOOK-ERROR in after_step: TypeError: after_step() missing 1 required positional argument: 'scenario'

I am trying to capture screenshot on iOS device when any of my test gets failed. Problem statement : How to get behave scenario inside the after_step() method Observed error : HOOK-ERROR in ...
0 votes
0 answers
4 views

Can I use regex pattern matching for a CSS selector in Appium mobile automation?

I am trying to find a set of iOS UI elements in my automation script. The framework is Appium & WebdriverIO based. I was able to determine that the correct regex pattern I am searching for is this:...
  • 180
0 votes
0 answers
29 views

Imitiating the Appium Inspector 'Refresh' button functionality in code? (Java)

is there a way for us to refresh the application's elements present in the DOM? similar to the way you refresh the elements using the Appium Inspector's 'Refresh' button? driver.refresh() only works ...
  • 1
-1 votes
1 answer
30 views

Automation of End to end Test with Selenium (for web App) and Appium (For Mobile App Testing)

We have this kind of end to end tests to automate : Log in in Web application. Follow few steps there. Do something in Web app so that logged user in Mobile App gets notification. In Mobile App ...
  • 99
3 votes
1 answer
1k views

Appium server GUI returned error "No route found for /session" & Appium inspector "Failed to create session. The requested resource could not be found

Error occur while launching the application using appium server gui with following Environment : Appium server GUI[1.22.3] Appium inspector [2022.5.4] Capability set as follows : { "appium:...
0 votes
2 answers
199 views

appium-doctor --android returns error AppiumDoctor ✖ android could NOT be found in /Library/Android/sdk! on macOS

Team, Facing error while executing appium-doctor --android AppiumDoctor ✖ android could NOT be found in /Library/Android/sdk! Interestingly, Location exist with appropriate permission Android SDK ...
0 votes
0 answers
24 views

macOS + Appium : Possible to setup Appium without using Homebrew as version manager? Possible best options

Please read my question carefully, do not rush to close this. I have worked on multiple projects with Appium. But currently my problem statement is : Setup appium without Homebrew I am aware we ...
0 votes
0 answers
16 views

Unable to scroll into view of an element in iOS with Appium & Webdriverio

i'm trying to scroll into an element but the the current code scrolls all the way to the bottom of the page, i have inserted the element name within the code but it doesn't seem to work. const ...
0 votes
0 answers
11 views

TestComplete now requires using Appium, what are some reasons we wouldn't use just Appium on its own? [duplicate]

I'm aware you can use BitBar and instrument your app on Android via the Legacy method, but for those of us who go the Appium route, it seems one may as well just use Appium on its own if TestComplete ...
0 votes
0 answers
12 views

Why does TestComplete 15 now require local Appium server?

TestComplete 14 build 70 and before did not require having an Appium server set up to perform automated testing for Android apps. What are some technical reasons why they now require Appium, when ...
0 votes
0 answers
113 views

Appium 8.0.0 - Can't locate elements with accessibilityId - StackOverflowError

Using Appium 8.0.0 + selenium java 4.1.3 + java 11.0.4 running tests on remote appium node connected to selenium grid 4 ( in standalone mode ) using appium automationName UiAutomator2 following code ...
0 votes
0 answers
35 views

Appium: Parallel execution halts if test is complete on one of the device

I am trying to run 2 different tests on 2 different emulators parallelly. But my execution halts on 1 device as soon as the test on other device is complete. I am using the below driver setup code ...
0 votes
0 answers
19 views

How do I capture only one screenshot when I run an Automation Test on mobile also on website at the same time?

How do I capture only one screenshot when I run an Automation Test on mobile also on website at the same time? in java with selenium and attacted it to allure report : @Override public void ...
0 votes
0 answers
30 views

Unable to determine element locating strategy for -android uiautomator

I have a method which works perfectly locally, but when I launch it on server I’ve got an error: org.openqa.selenium.InvalidArgumentException: Unable to determine element locating strategy for -...
0 votes
1 answer
197 views

What application types are supported by winappdriver

I have application which has extension as .msc, I tried it with python I also ran winappdriver before executing this script. I have seen demo codes on some blogs which uses .exe file extension for the ...
  • 123
-1 votes
2 answers
49 views

How to automatically test mobile device and desktop website connections?

We know that Appium can be used to test mobile device applications. We know that Selenium can be used to test PC desktop websites. We want to know how to test the connections between mobile apps and ...
0 votes
0 answers
87 views

Appium 2 (Beta) - How to scroll to an element using Java with Appium 2?

I'm preparing to migrate to Appium 2. There's many things that no longer work in Appium 2. I'm trying to find a way to scroll to an element. Note that in Appium 2, there's no AndriodElement, it's not ...
1 vote
0 answers
133 views

Appium android clear app data

My scenario is, I'm switching from one app to another in an Android phone. While switching from one app to the other, I want to clear all data or do a hard reset of the app I'm switching from. Also ...
0 votes
0 answers
89 views

How do I validate font size on native app?

I have to validate font size on my android and iOS app. Is there a way to do it? like third party app or something?
  • 1
0 votes
0 answers
42 views

check video playback on Mobile App

I am working on a hybrid mobile app (React native) automated testing project using robot framework and Appium, i'm looking for a way to test videos streaming. Is there a way to test if the video ...
  • 1
0 votes
1 answer
57 views

Selenium Couldn't identify App crashes Android

Sometimes app crashes. But Selenium can only handle "noSuchElementException" or "TimeOutException". Does Appium runs a listener or something which tracks if the app is crashed? I ...
0 votes
0 answers
15 views

Can't import any apps to Appium Studio

I installed AppiumStudio 21.2.7916 but I can’t import or open any apps. First time I opened it I didn't have the default programs: Every time I try to import any apk file, from my phone or from my ...
0 votes
0 answers
804 views

Facing error java.lang.RuntimeException: java.lang.NoSuchMethodException: jdk.proxy2.$Proxy9.proxyClassLookup() on run appium with POM

Hi everyone im facing this error on run appium with POM here is complete error java.lang.RuntimeException: java.lang.NoSuchMethodException: jdk.proxy2.$Proxy9.proxyClassLookup() at io.appium....
0 votes
1 answer
71 views

Android Function testing report generate using Appium + Python

I am currently working on a mobile application with appium with python. There are a lot of options for every file selection in that. Currently checking if processing all the types of files are ...
1 vote
0 answers
77 views

What is fast reset in appium, which I am getting in appium server logs and how to avoid it

What is fast reset in appium, which I am getting in appium server logs and how to avoid it...
  • 11
2 votes
2 answers
197 views

Is it possible to automate testing for iOS and webdroid app with Appium on windows?

We're about to start a project where we need to automate tests for a webdroid and iOS app. I read that Appium is very recommended for this tasks, but we are quite uneasy on the iOS part. Do we need to ...
1 vote
1 answer
133 views

Whatsapp Web QR code Scanning using Appium Java

I have a company in-built web application that behaves similar to WhatsApp web. I need to link/scan using QR code of WhatsApp mobile application with company inbuilt web application using Appium with ...
  • 11
1 vote
2 answers
52 views

Is this the only way to add exception handling to high level automated testcases?

We are using Serenity BDD and Appium for automation testing of our Android app. Most of our high level testcases look as follows: observedToast = toastMessageStep.getToastMessage(); ...
  • 48
0 votes
0 answers
398 views

Appium-Could not find ''apksigner.jar''

Exception in thread "main" org.openqa.selenium.SessionNotCreatedException: Unable to create a new remote session. Please check the server log for more details. Original error: An unknown ...
1 vote
0 answers
32 views

Scrolling and retrieving values in a list in Appium

I'm trying to retrieve all the values after scrolling in a form of list. But i'm getting some of the repeated values. Please help. Below is the code: ArrayList<String> list1 = new ArrayList<...
  • 11
1 vote
1 answer
852 views

The .App path is not recognised in desired capabilities in my Appium setup

I have set up my desired capabilities on Appium. See below. { "platformName": "iOS", "deviceName": "iPhone11", "automationName": "XCUITest&...
0 votes
1 answer
1k views

Appium Pagefactory throws noSuchMethodException when running from POM

When I try to run my appium scripts on the pom file ( with mvn verify or mvn test) I get a java.lang.RuntimeException: java.lang.NoSuchMethodException: jdk.proxy2.$Proxy12.proxyClassLookup() On the ...
  • 113
0 votes
1 answer
155 views

Appium scoll to an element, without scrollable view

I have an android app, that has a list page (eg. 20-30 element), I have to check each list item, how can I scroll to the next list item, if the app is built like there is no scrollview in it? ( only ...
  • 113
1 vote
1 answer
571 views

Getting an error when switching to iFrame on iOS Safari mobile browser with appium

Original error when I'm trying switch to iframe. Same code working fine with desktop browsers. This happens only with safari mobile browser. I'm on appium v1.20.2 SecurityError: Blocked a frame with ...
  • 2,093
2 votes
1 answer
84 views

How to scan barcode using Appium?

I'm looking for approach/solution on how to scan a bar code using Appium. Is it possible through emulators? or do I need real device for this use case?
  • 4,550
1 vote
1 answer
76 views

How can we handle SeekBar in Appium?

I wrote a code for SeekBar. I wanted to move the SeekBar but it did not move. When I run the code it gives me values in the console but did not move. Kindly check my code and tell me what I am missing ...
1 vote
2 answers
2k views

How can we write scrolling code in Appium with Java?

How can we write scrolling code in Appium with Java? Here is what I want to do, Open the application. Scroll down to the footer. Scroll back up. This is the code that I have written: base.java ; ...
1 vote
2 answers
51 views

1 Repo vs 2: Test Framework Development For Multiplatform Native Applications Using Appium

This question is more of an attempt to gather opinions. I have automated multiple mobile applications that existed as native apps on both iOS and Android. In these scenarios, my go-to pattern has ...
0 votes
3 answers
425 views

Error with driver.switchTo().window() complaining that something isn't a string when it is

TL;DR I give my function a string. It complains that what I gave it isn't a string. My code: new WebDriverWait(driver, 5).until(ExpectedConditions.numberOfWindowsToBe(1)); //induce WebDriverWait ...
0 votes
1 answer
333 views

Dynamic xpath in page factory appium

public static WebElement selectcity(String cityname) { @AndroidFindBy(xpath="//android.widget.CheckedTextView[@text='"+cityname+"']") WebElement city; return city; }...
  • 11
0 votes
0 answers
270 views

How to run appium tests parallel in c# specflow?

I am new to C# and Specflow. I am using appium, c# and specflow for automating my tests. I have a app.config file where i am mentioning the environment to be run into. A driver class DeviceDriver.cs ...
0 votes
1 answer
127 views

Appium How to iterate over a listview of unknown length?

IList<AppiumWebElement> els = AppiumDriver.FindElementsByClassName("android.widget.LinearLayout"); var loc1 = els[12].Location; var target = els[1]; var loc2 = target.Location; var ...
1 vote
1 answer
62 views

Problem to find element with appium, application is running - appium oen application

I have a problem with testing of aúúlivation. I have this code for net CORE using MS test net.CORE. public class IPTV { static WindowsDriver<WindowsElement> Sessions; [ClassInitialize] ...
1 vote
1 answer
836 views

Is there a way to capture screenshot of an element in appium for python?

I want to capture screenshots by elements in appium similar to the one in selenium. I am using python. Could not find much about this, is there any way to achieve this?
1 vote
1 answer
1k views

Appium - An element could not be located on the page using the given search parameters

I am just starting with Automatization, but I have a problem with elements. I have this XPath "/Pane[@Name=\"Desktop 1\"][@ClassName=\"#32769\"]/Window[@AutomationId=\"...
0 votes
2 answers
241 views

How to automate testing of Zebra TC75X barcode scanner?

I would like to implement test automation for an app running on a Zebra TC75X device (Android OS). The tricky part is the integrated barcode scanner. The device has a hardware button to trigger a ...
0 votes
0 answers
36 views

Azure + Appium + C# : While creating azure pipeline I am getting error "You are not authorized to access https://dss-hps.visualstudio.com."

I am trying to create Azure pipeline to integrate automation. Observed error : You are not authorized to access https://dss-hps.visualstudio.com. Please let me know if anyone face/fix this issue. ...
3 votes
1 answer
60 views

How to set up a mobile testing lab for physical parallel execution on Android phones

I need to set up a physical mobile testing lab mainly for Android devices. I have to run test on 100 Android devices in parallel, I will be using Appium with TestNG framework. Please someone guide me ...
0 votes
1 answer
277 views

Inspecting windows app elements with Appium Desktop - not all window elements detected

Description I am running an Appium Desktop server to inspect and test windows applications. I am trying to run a first test which simply opens the Windows Notepad and inspects all its window elements. ...
  • 129

1
2 3 4 5
7