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.

88 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
6
votes
1answer
819 views

Getting web driver exception message while tapping list elements using appium

I am using appium 1.4.8 on mac and I'm automating native app using selenium. I am stuck at a situation where I need to tap each element in a list. I wrote below code: List allKeywords=driver....
4
votes
2answers
5k views

how to find element by xpath for android appium

Since these nodes don't have ids and text, I have used xpath to find the element but find element fails I have tried different xpaths as below but none work. xpath=//android.view.View[10] xpath=//...
3
votes
1answer
545 views

Unable to launch Safari on iOS using Appium

I am automating some tests a real device (iOS) using Appium and Cucumber. My idea it to do the following steps: Open the app Do some tasks Launch Safari Navigate to a website, lets say google.com ...
3
votes
2answers
195 views

Verify if selenium tests are running on real devices or emulators

If I use any cloud provider (eg SauceLabs, AWS Device Farm etc) for testing my native android and iOS apps, is there a way to determine if the test was being run on a real device or an emulator. I ...
3
votes
1answer
857 views

Unable to run Appium Version 1.3.6-(Ophiuchus) on Yosemite for Testing Android App on real device

These are my settings: My SDK path: -/usr/local/adt-bundle-mac-x86_64-20140702/sdk My APK path -/usr/local/adt-bundle-mac-x86_64-20140702/sdk/platform-tools/Setmore.apk Given Package name, Launch ...
3
votes
2answers
652 views

Can Appium automate the In App Purchase flow on iOS?

Making an In App Purchase (IAP) on iOS brings an Apple alert and puts the application into the background. If I use the Appium framework for automation, will I be able to interact with these prompts? ...
2
votes
1answer
2k views

When I tried to install opencv4nodejs I am getting an error

I am new to appium using javascript and to install appium I am following this link Setting up appium with javascript So when I installed appium-doctor and ran it I got an error. info AppiumDoctor ...
2
votes
1answer
372 views

Appium Desktop won't open for Ionic App

I am currently trying to automate an ionic app using Appium and Python. I have the Appium Desktop version 1.7.2 installed. However, if I try opening any ionic app using Appium Desktop, it hangs at ...
2
votes
1answer
377 views

Automating Embedded Webviews in a MAC OSX Native application

I have a MAC OSX native application. Some of the screens in this application is using Webviews. My specific requirement is to automate this view using Selenium. Questions that I have: Is it really ...
2
votes
0answers
999 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 ...
2
votes
3answers
610 views

Android application not launching with Appium

I have downloaded the latest Appium Desktop to inspect the different elements for automating an app. I was able to launch the calculator app on my Android phone but was unable to launch an app that I ...
2
votes
0answers
139 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 ...
2
votes
0answers
259 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") @...
2
votes
1answer
1k 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 = ...
2
votes
0answers
303 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 ...
2
votes
2answers
368 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 ...
2
votes
0answers
934 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 ...
1
vote
0answers
100 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-...
1
vote
0answers
30 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) ...
1
vote
1answer
131 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 ...
1
vote
0answers
53 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 ...
1
vote
0answers
63 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. ...
1
vote
0answers
37 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 ...
1
vote
0answers
134 views

Appium 1.10.0 + Android : Unable to accept permission alert

Team, I am facing issues to accept the permission on Android using Appium. I have tried below options: capabilities.SetCapability("autoAcceptAlerts", true); driver.switch_to_alert() driver....
1
vote
0answers
64 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 ?
1
vote
1answer
293 views

Appium | Getting error when using .click or sendkeys

I'm looking to start automation of a mobile application. I went through Appium related articles and most of them suggest to use Appium with Javascript. I explored online and setup appium and my code ...
1
vote
0answers
277 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 ...
1
vote
0answers
331 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 ...
1
vote
1answer
416 views

Sometimes Appium clicks on some buttons with 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. Method, which I am using: def click_element(self, element, time=wait_time): ...
1
vote
0answers
150 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 ...
1
vote
0answers
355 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 ...
1
vote
0answers
94 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: '...
1
vote
0answers
234 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.
1
vote
1answer
662 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 ...
1
vote
0answers
2k 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 ...
1
vote
0answers
262 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) { ...
1
vote
0answers
43 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 ...
1
vote
0answers
166 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?
1
vote
0answers
350 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 ...
1
vote
1answer
716 views

Switching to Webview context fails

I was trying to automate tests for a hybrid app, while switching, it only shows name native context. WebView Context is shown as webview_undefined. Set<String> contextNames = driver....
1
vote
1answer
1k views

How to open messaging app during one android app test case is running to fetch otp

How do I open messaging app when test case is running for any other app. Need to fetch OTP from messaging app during a test case is running for my android app. I have tried to create new instance ...
1
vote
0answers
303 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("/...
1
vote
1answer
423 views

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

ExpectedConditions.invisibilityOf(element); I am getting exceptions as: Unsupported command exception: isElementDisplayed
0
votes
1answer
22 views

How to fix No internet/Internet not working for android emulator on windows 10?

Issue I am facing : I have created new AVD from Android Studio (AVD Manager) but the emulator does not have internet. I tried opening www.google.com still "No Internet Connection" displayed. If ...
0
votes
0answers
8 views

Need selector to get all elements in IOS Appium?

I have this code that works where driver is of type IOSDriver<IOSElement> string selector = "type == 'XCUIElementTypeButton'"; foreach (var elt in driver.FindElements(MobileBy.IosNSPredicate(...
0
votes
0answers
7 views

React-native & Appium: is there a way to run tests without rebuilding the app?

I have set up e2e tests for my React-native app with Appium. I'm able to launch them, but for every change I make I need to rebuild the app. Isn't it possible to run the tests on the application ...
0
votes
0answers
15 views

Appium-based framework for testing desktop app (not web)

Anyone had experience in automating desktop applications (not web)? I need an Appium-like solution to integrate it with my mobile automation (written on Appium, Java). Our company has a messenger ...
0
votes
1answer
23 views

Launching Twitter through Appium on a real device results in an error

I've just started using Appium with Python and I'm running into trouble when trying to launch the Twitter app. I have tried to launch the play store by typing: adb shell "dumpsys window windows | ...
0
votes
0answers
17 views

Interacting with OAuth 2.0 elements using Appium in C#

I'm trying to write tests that interact with an Android application. We recently moved to OAuth 2.0, in which the application moves to a separate custom tab with a web view. I tried to use Appium ...
0
votes
0answers
16 views

read otp from seetest mobile application and paste to continue with login process in web application

I am using cucumber and configure appium and seetest to run web application on mobile browser, i want to check otp that is sent via my application to mobile number (on seetest device number which is i ...