Skip to main content

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.

91 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5 votes
1 answer
870 views

Unable to launch Safari on iOS using Appium

I am automating some tests a real device (iOS) using Appium and Cucumber. My idea is to do the following steps: Open the app Do some tasks Launch Safari Navigate to a website, lets say google.com for ...
Tiago Mateus's user avatar
3 votes
0 answers
1k views

Drop-down not working with safariDriver on Safari 10

Getting below error while accessing drop-down Using Safari 10 mac sierra with apple `safariDriver` Selenium Version 3.0.1 org.openqa.selenium.WebDriverException: An unknown server-side error ...
Shailendra Rathore's user avatar
3 votes
0 answers
157 views

How to Identify accessibility in Android Hybrid App?

I'm working in appium with page object pattern. public class LoginPageObjects { @CacheLookup @AndroidFindBy(accessibility = "") public MobileElement mobno; @CacheLookup ...
user avatar
3 votes
0 answers
304 views

Duplicate annotation Error in appium

I'm working in appium in ubuntu pc. There is a duplicate annotation error in my code public class ChainViewPageObjects { @AndroidFindBy(className = "android.widget.ScrollView") @...
user avatar
2 votes
0 answers
2k views

Differences between Resource ID, TestID, Element ID, ID, and Accessibility ID?

This info is so scattered across some of my searching. However, I'd like to get the community's knowledge on this. Especially for the purposes of locating elements in code (Appium, testing Android app,...
ackmondual's user avatar
2 votes
0 answers
947 views

I have been struggling for more that a day to fix the Duplicate class given when running my android project for automation

Error: Duplicate class org.openqa.selenium.SearchContext found in modules jetified-java-client-7.3.0.jar (java-client-7.3.0.jar) and jetified-selenium-server-standalone-3.141.59.jar (selenium-server-...
Rahul Kumar's user avatar
2 votes
1 answer
2k views

Appium stuck after context change from native to webview

I am testing a Hybrid Android app - Tubemate in Appium. I'm using the following configuration: selenium-java = version 3.0.1 appium java-client = version 4.1.2 chromedriver = version 2.19 Android = ...
Sathya R's user avatar
  • 141
2 votes
1 answer
4k views

How to save Appium logs to a local text file?

I am using Appium to automate all my test cases related to IOS device using Java, Logs are currently displayed on Appium app itself. I want to save them in a text file so that i can check error after ...
Keshav's user avatar
  • 890
2 votes
0 answers
449 views

Java + Appium + iOS [mobile] : How to fix error "Error: spawn ios_webkit_debug_proxy ENOENT"?

I am trying to automate web app on iPhone using Mac. Executing webkit debug proxy for automation on iOS platform. I am facing below issue: RUNNING: ios_webkit_debug_proxy events.js:141 throw ...
Narendra Chandratre's user avatar
2 votes
3 answers
921 views

Close a one windowHandler at the Webview

I am writing scripts to automate a hybrid application. On my app I have two windowHandles. For example, after performing some actions when I execute below code I get "2" windows as the windowHandles ...
ChathuD's user avatar
  • 2,147
2 votes
0 answers
1k views

An unknown server-side error occurred while processing the command while swipe

I get the following Exception using appium An unknown server-side error occurred while processing the command. when I run this code driver.Swipe(loc1.X, loc1.Y, loc1.X - 110, loc1.Y, 2000); I use ...
user3327073's user avatar
2 votes
1 answer
173 views

App Elements not rendering/inspect in IOS using appium and Xcui Automation testing

Currently working in a automation project. Element tag was not rendered. though i check some random element, I'm getting the message of element is not intractable. But in Ipad I can see the input text ...
Thiya's user avatar
  • 21
1 vote
0 answers
612 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 ...
Sources's user avatar
  • 11
1 vote
1 answer
711 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 ...
Dev's user avatar
  • 133
1 vote
2 answers
2k 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 ...
Benjamin's user avatar
1 vote
0 answers
183 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...
Ragsurf's user avatar
  • 11
1 vote
0 answers
236 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<...
Sounak's user avatar
  • 11
1 vote
1 answer
2k views

App doesn't launch in emulator, error says- io.appium.java_client.remote.AppiumCommandExecutor$1 lambda$0 INFO: Detected dialect: W3C

I am new in mobile automation and first time trying to launch the app in emulator. Just the mobile screen blinks but My app doesn't get launched. Can anyone help me.. import java.io.File; import java....
user avatar
1 vote
0 answers
488 views

There is a way to identify font type in an Android app? (Python, Appium)

Here is the deal: i'm testing an android app and the client wants us to test font types, sizes and colors. Using Appium's explorer i'm able to see the objects properties (such us: text, enabled, etc) ...
Pablo Fernandez's user avatar
1 vote
1 answer
2k views

How to select a dropdown value in Selenium WebDriver using Java appium?

I am new to Selenium, currently am working on selenium webdriver. I want to select a value from the drop-down. But I am not able to do it because of some error. Also, I want to inform you that in my ...
Rahul Kumar's user avatar
1 vote
0 answers
221 views

Android app get forcely closed just after the splash scree - Appium C#

I have create a small test script to open a app and fill some data at the screen. This test works fine with android 5 on Appium server 1.4.16.1 But no I need to run the same test script on a android ...
ChathuD's user avatar
  • 2,147
1 vote
0 answers
148 views

Locator strategy for list view elements in Android app

I am automating a calendar feature in an Android app using Appium. The developers have set content-desc for us to be used as accessibility ids. For simple elements like buttons it works like a charm. ...
Roohi Bhatnagar's user avatar
1 vote
0 answers
68 views

Samsung Internet on Emulated AVD wont install

We wish to be able to test Samsung Internet with Appium but are not able to install Samsung Internet on an AVD created by Android Studio. Does anyone know how to install this or know of any other way ...
Raisus's user avatar
  • 151
1 vote
0 answers
98 views

Full control option not available in adding ios device to appium studio

"Full control option" is not visible while adding ios(iphone) device from appium studio. Tried this in Appium studio community version. How to view that option ?
Aish's user avatar
  • 11
1 vote
0 answers
444 views

Appium inspector crashes and won't load a certain page but can load other pages

I'm trying to get the elements of a certain page and Appium inspector takes a long time to capture the picture, but then the elements page source will show up with only 1 element tag and rest of the ...
seleniumappiumnewbie's user avatar
1 vote
0 answers
444 views

Best Continuous Integration strategy for Mobile Testing using Appium, Jenkins, Docker, Kubernetes

we are currently focus on the Mobile Testing using Appium as a mobile testing tool (with our own framework based on Appium) and using Jenkins and Android/iOS emulators/simulators to launch the test ...
estefafdez's user avatar
1 vote
1 answer
1k views

Appium, clicks on buttons sometimes has a very long delay (on some views)

While testing by Appium (using Python), it clicks on some buttons with a very long delay on some views in my Android app. The method I am using: def click_element(self, element, time=wait_time): ...
kzet's user avatar
  • 11
1 vote
0 answers
191 views

Invalid Version: android-4.2.2 error on appium

An exception of type 'System.InvalidOperationException' occurred in WebDriver.dll but was not handled in user code Additional information: An unknown server-side error occurred while processing the ...
ChathuD's user avatar
  • 2,147
1 vote
0 answers
447 views

How to handle browser language notification in android using appium?

I was trying to automate a website which is in german. But when I run the test on android device using chrome browser, language translator notification appears. Can anyone let me know how to handle ...
Mohammad Faisal khatri's user avatar
1 vote
1 answer
213 views

How to extract adb dumpsys response for validation?

I need to validate few status of the android device. Can any one let me know how to extract the information from adb dumpsys and validate the responses using Java. Your help is much appreciated. Ex: '...
Gaurav G Raj's user avatar
1 vote
0 answers
291 views

How can i get GPS current status in Appium

I do some testing with appium with ad Android Application. I want to know if i can get gps current status, if gps is in use in that instant or not. I don't want know if gps is enable or disable.
Aodi's user avatar
  • 11
1 vote
1 answer
765 views

Appium TestNG error : Attempting bi-dialect session, assuming Postel's Law holds true on the remote end

I'm trying to launch a simple web application test using Appium, using AVD. I'm using eclipse, and the android studio emulator. I included all the packages. I would like to make sure about the ...
victoria's user avatar
  • 111
1 vote
0 answers
295 views

Passing IWeb element to Implicit wait function

I'm following Page Object Model on my test suite. I have below method to wait for an element. public void WaitTillCssSelector(string elemantName, int TimefromSeconds) { ...
ChathuD's user avatar
  • 2,147
1 vote
0 answers
46 views

Which test method is running/executing at the moment?

I'm on Appium with C#, I have 60 test methods written on different classes. I'm running the tests via Visual Studio test explorer. When I click run all test button at the "Test explorer" it will ...
ChathuD's user avatar
  • 2,147
1 vote
0 answers
206 views

Appium Upgrade to 1.5.3 : How to resolve "Permission denied" error?

Small issue: I am opening one file on mac programatically. But I am getting error of Permission denied How can I resolve this error & grant permission?
Narendra Chandratre's user avatar
1 vote
0 answers
370 views

Appium + Java + Android + Mobile browser [Chrome driver] : How to switch from android app to mobile browser?

I am automating android app. My env is - Mac, Appium, Java + TestNG Scenario: Click on button Its will redirect user on mobile browser Login in browser How to automate above scenario? The core ...
Narendra Chandratre's user avatar
1 vote
0 answers
358 views

Appium: getting stuck at tapping on buttons under a loop

I am getting stuck at executing a loop. My scenario is: I am tapping on bookmark present over the screen. I am using below code for that , List listAllSessionsNames=driver.findElements(By.xpath("/...
Ranjan Gupta's user avatar
1 vote
1 answer
1k views

How to handle a wait for element to disappear in Appium?

ExpectedConditions.invisibilityOf(element); I am getting exceptions as: Unsupported command exception: isElementDisplayed
STE's user avatar
  • 749
0 votes
0 answers
34 views

Only one test running when selenium tests run in parallel using local thread

We are automating an application which support desktop and mobile browser, so we choose selenium, appium, java client, testNG. to reduce execution we implemented parallel test execution using TestNG ...
surya kumar's user avatar
0 votes
0 answers
17 views

Appium2 + iOS app : How to read system pop-up title, description and accept/dismiss button's text?

Background : I am trying to handle system pop-up on iOS iPhone 15 using MacOS with M1. Problem : Previously using appium 1.x I was able to read, assert, handle system pop-up't title, description, ...
Narendra Chandratre's user avatar
0 votes
0 answers
16 views

Regarding Google Playstore Automation

I have this project where I have to automate the Play Store using Java and Appium. Problem: The problem I am facing is, that it seems like the buttons in the Play Store are changing their id's ...
Python Samurai's user avatar
0 votes
0 answers
58 views

Appium Android: How to click on Spannable Text?

just posting the same question posted on Stackoverflow: https://stackoverflow.com/questions/77614973/appium-android-how-to-click-on-spannable-text I have a screen that contains a TextView, the text ...
Mina Wissa's user avatar
0 votes
0 answers
29 views

Issue when trying to switch with _driver.Context = "WEBVIEW_chrome" statement, using appium/selenium in c#

Open the app and do some actions using appiumdriver. Reinstating the driver to use WebView_Chrome with : string chromedriverPath = "C:\...\bin\Debug\net6.0\chromedriver.exe"; var ...
satV's user avatar
  • 1
0 votes
1 answer
36 views

Can Appium be used for web testing on a Mac with PyCharm?

I wanted to automate my project, which has three parts: Web testing Ipad app Ios App I have started with the web testing, by following all the steps on appium.io and installed Appium Server, Appium-...
Ankush's user avatar
  • 1
0 votes
0 answers
28 views

Seeking Suggestions for Automating a Smart TV App in a CI/CD Pipeline with Broad Device Coverage

We have a client who wishes to automate their Smart TV app within a CI/CD pipeline and aims to cover as many devices as possible. Currently, I am the sole QA on this project and am exploring setup ...
Kate Velasquez's user avatar
0 votes
0 answers
42 views

Is it possible to use Appium to automate an iOS application on a Windows machine?

I need to automate an iOS application with Appium, C# on a Windows PC using SauceLab. I can utilize any real-time device or emulator that is linked to saucelab. I only have a Windows computer here. Is ...
Aman Khan's user avatar
0 votes
1 answer
28 views

Appium version issue

I am confused to see what Appium version is installed on my machine. If I look into Appium UI it shows Appium v1.22.3 but When I check from cmd it shows 2.0.0-beta.71. how do I know which one is ...
Jahanzaib.Khan's user avatar
0 votes
1 answer
398 views

Activating plugin on Appium Server2.0

I'm running Appium Server 2, and some plugins show up as active, but some don't. I would like to enable the element-wait plugin, how do I do that?
Luciano Gonçalves's user avatar
0 votes
1 answer
584 views

How to reset app between tests in WDIO?

I'm currently trying to get WebDriverIO working with Appium and Mocha (BDD) towards an Android device. Previously when I've worked with Mocha the behavior has been that testcases are isolated from ...
Rejected-Potato-27's user avatar
0 votes
1 answer
207 views

Unable to scroll element in Appium 1.20

I'm using Appium 1.20. I'm trying to find a way to scroll to an element. public static void scrollToElement(WebElement e) { JavascriptExecutor js = driver; HashMap scrollObject = new HashMap();...
Somesh Modi's user avatar