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
39 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 ...
user avatar
0 votes
0 answers
20 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 ...
user avatar
0 votes
0 answers
16 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 ...
user avatar
0 votes
0 answers
19 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 -...
user avatar
0 votes
1 answer
61 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 ...
user avatar
  • 123
-1 votes
2 answers
38 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 ...
user avatar
0 votes
0 answers
32 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 ...
user avatar
1 vote
0 answers
39 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 ...
user avatar
0 votes
0 answers
36 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?
user avatar
  • 1
0 votes
0 answers
18 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 ...
user avatar
  • 1
0 votes
1 answer
33 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 ...
user avatar
0 votes
0 answers
13 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 ...
user avatar
0 votes
0 answers
558 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....
user avatar
0 votes
1 answer
49 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 ...
user avatar
1 vote
0 answers
46 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...
user avatar
  • 11
0 votes
0 answers
31 views

Make the appium code for swiping dynamic so that it works on all screen sizes

I have a piece of appium code (as below) which does the swipeup action on one android device using co-ordinates(using the coordinates as the element is non-responsive). Is there any way to make it ...
user avatar
  • 11
0 votes
0 answers
25 views

Appium loading page taking so much time

I am facing loading page issue on appium for iOS device. While Opening a xcode emulator device on appium after clicking on some element it is reflecting on xcode but it is taking so much time in ...
user avatar
2 votes
2 answers
151 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 ...
user avatar
1 vote
1 answer
70 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 ...
user avatar
  • 11
0 votes
0 answers
25 views

Attempting to set context of IOSDriver to webview results in error

I have a Cordova app that I want to automate tests on with Appium, in the iOS Simulator. My C# code looks like this (some stuff omitted): public IOSDriver<IWebElement> driver; string ...
user avatar
0 votes
0 answers
70 views

Error while copying file in to ios device using driver.pushfile [Real device]

I am trying to copy an image file into a real iOS device. I am using Appium 1.20.2. I have installed macfuse, fuse, sshfs, and when I am trying to install ifuse, it is throwing error: ifuse is disable ...
user avatar
1 vote
2 answers
45 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(); ...
user avatar
  • 48
0 votes
0 answers
68 views

Can we create android emulator on aws ec2 instance

I tried multiple number of ways to get this task done, but no success yet. Has anyone tried to run Appium and Android both in one test suite via Jenkins hosted on AWS EC2 instance? org.openqa.selenium....
user avatar
  • 11
0 votes
0 answers
341 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 ...
user avatar
1 vote
0 answers
28 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<...
user avatar
  • 11
1 vote
1 answer
660 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&...
user avatar
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 ...
user avatar
  • 113
0 votes
1 answer
123 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 ...
user avatar
  • 113
1 vote
1 answer
454 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 ...
user avatar
  • 2,093
1 vote
0 answers
44 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?
user avatar
  • 4,510
1 vote
1 answer
38 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 ...
user avatar
1 vote
2 answers
1k 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 ; ...
user avatar
1 vote
2 answers
47 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 ...
user avatar
0 votes
3 answers
288 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 ...
user avatar
0 votes
1 answer
226 views

Dynamic xpath in page factory appium

public static WebElement selectcity(String cityname) { @AndroidFindBy(xpath="//android.widget.CheckedTextView[@text='"+cityname+"']") WebElement city; return city; }...
user avatar
  • 11
0 votes
0 answers
202 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 ...
user avatar
0 votes
1 answer
103 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 ...
user avatar
1 vote
1 answer
48 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] ...
user avatar
1 vote
1 answer
625 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?
user avatar
1 vote
1 answer
881 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=\"...
user avatar
0 votes
2 answers
198 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 ...
user avatar
0 votes
0 answers
32 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. ...
user avatar
2 votes
1 answer
53 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 ...
user avatar
0 votes
1 answer
252 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. ...
user avatar
  • 129
0 votes
1 answer
200 views

Testing Windows applications with RIDE Robot Framework and Appium?

I have Robot Framework and the RIDE IDE installed. I have tried the Selenium library with RIDE, and works for testing web interfaces. I now want to test Windows Applications. Is it possible to test ...
user avatar
  • 129
0 votes
0 answers
219 views

Do we need to run WinAppDriver server explicitly on the remote server where Jenkins will run my automation?

As i am very new and doing POC for my project, I am wondering how can i make sure that WinAppDriver server should run before my Automation test in remote server using Jenkins. Or is it not required to ...
user avatar
1 vote
1 answer
451 views

Scrolling an element into view with iOS native app

I am using Appium + Selenium + Java. I am testing a native app and I sometimes need to scroll an element into view in order to click on it. It seems like, when testing a web app on iOS, you can use ...
user avatar
1 vote
1 answer
55 views

Discriminating between two identical elements when they are both "displayed" and "enabled" but only one is actually visible

I am currently automating tests for a native app and I have some issues with "ghosts" elements. By "ghosts elements" I mean elements that are in the code and technically on the ...
user avatar
0 votes
1 answer
736 views

Scrolling using UiScrollable stops in the middle of the screen

I am trying to scroll down to the bottom of the screen to a UI block using UiSelector class but it's not working as expected. Basically, when I run the code it does not scroll all the way to the ...
user avatar
1 vote
1 answer
250 views

Android/iOS: How to dismiss a popup advertisement while automating an application using Appium & Robot Framework?

Asking a solution to handle these kind of random Ad popups which comes up on any screen of the application. If someone can help with threading solution using Python it would be great.
user avatar

1
2 3 4 5
7