Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
0answers
21 views

How to identify the fields and their values in the listview screen which are inside a recyclerView

I am automating a Mobile screen where I have the details of a particular transaction, in which I have fields(fieldnames like card number, transaction date, Transaction ID., etc.) and the subsequent ...
0
votes
1answer
38 views

Using a small number of available user properties across a large number of threads

I'm currently building a testing framework for functional tests. I can run them in parallel using Cucumber but I have run into a problem in creating users for each thread (each test requires a brand ...
-1
votes
1answer
25 views

Mac + PyCharm + Python 2.7: ImportError: No module named appium

I just changed PyCharm application from Professional to community and in my v first run I am getting below error. Prior this all tests was working correctly as expected: ImportError while importing ...
0
votes
1answer
53 views

Appium + Protractor : element not intractable

I am using Appium and Protractor for e2e testing of my Ionic 4 application. The application Starts from the login page. Currently, I have implemented my spec.ts file as below import {browser, by, ...
0
votes
1answer
21 views

How can my mac be setup to run both appium/selenium with java and python without conflict?

How can my mac be setup to run both Appium/Selenium with java and python without conflict? Are there steps I should take and things I should avoid? What things should I look out for? My mac is setup ...
1
vote
1answer
29 views

Possibilities on integrating existing cucumber framework with appium

I have an existing automated suite for web browser based application on cucumber framework using selenium and java. We are now planning to run the same test scripts for the mobile app of same ...
0
votes
0answers
27 views

How to handle Application “Crash” when Run Test Suite.(Android)

on Running Test Suite(with 20-30 test cases) on Emulator time application crashed after run 6-7 test cases,its working when we execute on physical device.but we have to work with emulator,we are using ...
0
votes
0answers
141 views

How do I automate/handle calendar/date picker in Android using Appium?

I want to select dynamic date passed like as input '03 Nov 1965' Id for Calendar Icon: driver.findElementById("package_name:id/btn_basic_info_date_picker").click(); Id for Year: driver....
-1
votes
1answer
56 views

As a beginner how can start learning Appium tool as a Mobile testing?

From where should I start learning Appium - mobile testing. My current organization has an framework which used an Appium to run Script on Mobile devices? What are the challenges do I need to overcome ...
1
vote
0answers
32 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 ...
0
votes
0answers
88 views

When i run my appium code during run time i am getting this error “Exception in thread ”main“ java.lang.NoClassDefFoundError”?

I have written a code to launch my app and click on the element, the app is launching but after launching when it is trying to click, I am getting an error which I am not able to understand why. ...
2
votes
1answer
257 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=//...
0
votes
1answer
43 views

Appium 1.10.0 + iOS : Unable to accept permission alert

Team, I am facing issues to accept the permission on iOS using Appium. I have tried below options: capabilities.SetCapability("autoAcceptAlerts", true); driver.switch_to_alert() driver.findElement(...
0
votes
1answer
294 views

App is launched but not able to perform further actions (App automation using appium)

I am new in mobile app automation I have successfully launched Google Playstore application in my android device. but,i can not click on next tab "GAMES". My Code package com.automate.app.screens; ...
0
votes
2answers
90 views

How to automate when you do not get any id or xpath

I have a scenario where I need to sign in using Facebook, so when I used UiAutomator viewer to inspect I am not able to find any element. So how to perform automation in such cases.
0
votes
0answers
75 views

How to fix DesiredCapabilities error in java appium?

I am getting this error "The type org.openqa.selenium.remote.DesiredCapabilities cannot be resolved. It is indirectly referenced from required .class files" when I compile and run the program. when ...
0
votes
0answers
28 views

Why does my appium server skip my second emulator on parallel test

I have done the following: Start Selenium Grid Started 2 emulator; Started appium servers for both using appium -p --nodeconfig /absolute/path/.json Ran my script: DesiredCapabilities cap = new ...
0
votes
0answers
35 views

Getting this error when i run my java appium script

When I save and run the code the compiler is showing error with respect to DesiredCapabilities I thought I might have made an error while importing the jar so I uninstalled everything and installed it ...
1
vote
0answers
61 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....
2
votes
1answer
188 views

Getting 'Exception in thread “main” java.lang.AbstractMethodError' in Selenium Script

This is my selenium code. After I ran this code, I am getting a java.lang.AbstractMethodError. package amazon; import io.appium.java_client.android.AndroidDriver; import java.io.File; import java....
0
votes
0answers
29 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 ?
0
votes
1answer
47 views

Is there any alternative for AppCenter for mobile testing in Azure DevOps?

I am new to mobile testing, and using Appium for my tests. We are using Azure Devops. Since our team is relatively small and there's no really budget for QA, I am looking to see if there's any way I ...
0
votes
1answer
254 views

When I run my appium script I am getting error “TypeError [ERR_INVALID_ARG_TYPE]”which I am not able to understand

I wrote a script to automate my app using appium with java-script(nodejs), but when I run it I am getting error. This is the code which I have written. var webdriverio = require('webdriverio'); var ...
0
votes
2answers
118 views

Getting error when i run my test using mocha

I have written a code where it will launch the app,click on the login button ,enter username and password and click on sign in . when i run this using "node 'filename'" it is running fine with no ...
1
vote
1answer
120 views

Appium-Android-Unable to access elements after login to the account

driver.getContextHandles() - > [NATIVE_APP] capabilities.setCapability("noReset", true); 1)Added wait time. Manually logged in to the account. System.out.println(driver.getPageSource()); - ...
1
vote
1answer
801 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 ...
1
vote
1answer
131 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
317 views

Error showing “Include a platformName” capability

I recently started to learn Appium with Javascript. When executing my script, I am getting an error stating "Include a platformName". I don't understand why, even though I have included it (...
0
votes
0answers
49 views

Appium inspector can't locate iOS element

I'm trying to find and scroll to all category headers on a long menu list of categories, but Appium is not finding these iOS elements. When I first open the menu, whatever category headers that are ...
0
votes
0answers
52 views

Appium-Safari Real Device- unable to lauch url

Sending request to: http://localhost:27753/json [iOS] Attempted to get a list of webview contexts but could not connect to ios-webkit-debug-proxy. If you expect to find webviews, please ensure that ...
0
votes
1answer
40 views

How can you send idevicediagnostics restart -u command in appium to restart an ios device?

How can you send idevicediagnostics restart -u command in appium to restart an ios device? I can send this via the terminal manually, but I would like appium to trigger it during the end of each test ...
2
votes
1answer
63 views

Appium tests fails until rebooting IOS devices or appium tests fails due to webdriveragent getting uninstalled by itself- Any solutions?

My appium tests are passing before I checked it in and after I checked in the Jenkins code. However, after a few runs the appium tests starts failing and can't install the app on the ios devices. A ...
1
vote
1answer
112 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
1answer
87 views

Page Object Model: need help with tests that uses more than 1 page object - Appium-Java-TestNG

I have a framework based on POM model. I am able to write test that only uses elements from 1 page but when I need to access elements from another page tests fail because I think it uses the wrong ...
1
vote
0answers
134 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 ...
0
votes
1answer
81 views

How to click on an iOS MobileElement (button) which is dynamically changing using XPath

Below is the XPath- //XCUIElementTypeButton[@name="8/13"] The numeric value in the above XPath changes and is not static. There are more then 10 buttons on the screen, I want to click on the first ...
1
vote
1answer
195 views

If go back to previous screen, appium can't click on app's menu on IOS device

If I go back to previous screen, Appium XCUItest can't click on app's menu on my IOS device. I tried driver.tap and it didn't work. I see the menu button flashing but it never opens when the click is ...
0
votes
1answer
47 views

List of different softwares mandatory before running appium

I am struggling with appium installation. Kindly list the application/software that is required before the appium installation. Please provide me with the link list, which will be more helpful.
2
votes
2answers
459 views

Unable to launch uiautomatorviewer in mac os high sierra

While clicking on UI-automatorviewer I'm getting below error: /Users/XXXX/Library/Android/sdk/tools/bin/uiautomatorviewer ; exit; -Djava.ext.dirs=/Users/bigdaddy/Library/Android/sdk/tools/lib/x86_64:/...
2
votes
1answer
45 views

Should you be using the computer for other things if computer is running appium automation tests for Jenkins? Will it cause tests to fail?

Should you be using the computer for other things if computer is running appium automation tests for Jenkins? Will it cause tests to fail? Should you leave the computer used for Jenkins idle or can ...
0
votes
1answer
44 views

What could be some reasons appium automation tests pass on home wifi but fails on work wifi?

What could be some reasons appium automation tests pass on home wifi but fails on work wifi? What should I look out for? Anyone experience this? This is really confusing. When I run it at home all ...
6
votes
1answer
352 views

When do we use appium touch action and when do we use selenium touchactions?

I'm running appium automation and my touchaction.tap from appium is sometimes failing. Should I use selenium touchactions instead? What are the differences between the two and when should I use which ...
0
votes
0answers
20 views

Do you enable stay awake while charging when you run android appium automation?

Do you enable stay awake while charging when you run android appium automation? What is the pros and cons of doing this? How does this affect the automation tests? Thanks.
0
votes
0answers
100 views

Not able to scroll to specific element in Msite - Chrome browser - Appium

I have implemented scroll in mobile device with appium. Whenever I am scrolling to some element it is not scrolling properly. Tried with fixed scroll points as well. Here problem is I have small , ...
3
votes
2answers
294 views

How to handle issue of intermittently appium taps but doesn't work sometimes where no response comes from the tap? [closed]

How to handle issue of intermittently appium taps but doesn't work sometimes where no response comes from the tap? - Has anyone encountered this issue and how did you address it? - How can I improve ...
0
votes
1answer
324 views

Locate element is not working in Appium

I have located element for my App, and which is not working My Code: package tests; import org.testng.annotations.Test; import java.net.MalformedURLException; import java.io.File; import java.net....
0
votes
2answers
1k views

scrolling and selecting all items in a list in appium

I have a list of items with checkboxes 1,2...n I used this code to get the list of the current view and select the items. How could I scroll the list to select the next items in the list and repeat ...
0
votes
1answer
955 views

Long Press and Release in Appium

I need to long press a button for a few secs and release, I have the following code, WebElement recordButton = driver.findElement(By.id("xxxxxx/record_button")); TouchActions action = new ...
1
vote
1answer
201 views

Selecting multiple checkboxes in list view in Appium

I have list of items that has a check option, I need to select all the items. The attributes available are resource-id, index which are static. Instance which is dynamic and increases with the list of ...
1
vote
1answer
47 views

Search results test returns duplicates when run by automation but running manually does not show duplicates

Any ideas why when I run appium automation my search results test returns duplicates but when run manually it doesn't do that? Is there anything I should take a look at? Has anyone come across a ...