Stack Exchange Network

Stack Exchange network consists of 174 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.

-1
votes
0answers
43 views

How can I tap on a screen coordinate using appium?

I tried reading answers to many such questions but none of them seem to be working for me right now. Here is the issue: I want to click on a time as shown in the screenshot. These icons do not have ...
0
votes
1answer
36 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
51 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
26 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
163 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
35 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
37 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
21 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
12 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
12 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 ...
1
vote
1answer
27 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
43 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
47 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
46 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
45 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 ...
0
votes
1answer
51 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
41 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
153 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
39 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
41 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 ...
5
votes
0answers
181 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
17 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
30 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
173 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
191 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
766 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
0answers
39 views

How to loop a set of steps in Appium

I have a task of sending images which does a few clicks, but I would like to repeat this process n times. Is there a way I could use a for loop or any other alternate way of doing it ? WebElement ...
0
votes
1answer
403 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
122 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
44 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 ...
0
votes
1answer
201 views

Appium + Java + Android + iOS : java.lang.NoSuchMethodError: com.google.common.base.Throwables.throwIfUnchecked(Ljava/lang/Throwable;)V

Question: How to fix : java.lang.NoSuchMethodError: com.google.common.base.Throwables.throwIfUnchecked(Ljava/lang/Throwable;)Vmethods. More info: I observed this error for android as well as iOS ...
0
votes
1answer
71 views

TestNG + Appium + Java : [TestNGClassFinder] Warning: Can't link and determine methods of class

Question: How to fix : [TestNGClassFinder] Warning: Can't link and determine methods. More info: My Automation is getting failed suddenly. I know it was working well before & even yesterday. ...
0
votes
0answers
43 views

Unable to set autowebview true for Ionic android app in latest version of the app

I'm new to appium and I'm using appium to automate my Ionic android app. For previous builds my code is working fine and I'm able to set autowebview as true in capabilities and able to find the ...
0
votes
0answers
57 views

Selfie Camera Automation Testing using Appium

I want to automate an app using Appium. There is a feature in app to take selfie. How should I automate the app to take selfie using Appium?. Note: I want to drag the image in selfie section. Images ...
0
votes
0answers
521 views

Error executing adbExec

I am facing the below error in eclipse: An unknown server-side error occurred while processing the command. Below error in Appium server: Encountered internal error running command: Error: ...
0
votes
0answers
161 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 ...
4
votes
6answers
202 views

How can a beginner develop an automated testing framework completely from scratch?

I am completely into manual testing, I was asked by my manager to start developing an automated framework for my company website and mobile application. I am a complete beginner and have a very little ...
1
vote
1answer
323 views

Error while running Appium script with AndroidDriver

Has anyone got this error? Script Link = https://github.com/iamgauravkhanna/automation-repository-java/blob/master/learning-androidDriver/src/test/java/com/not_just_a_tester/BasicScript002.java java-...
0
votes
1answer
491 views

How to open the app using appium?

I am new to appium, i configured appium with selenium it is working fine I am able to open the browser in my device and able to edit and do all the commands. But unable to open specified app, i gave ...
0
votes
2answers
64 views

Not able to enter case-sensitive credential in android app

I am writing a test case for an android app where the app requires case-sensitive credentials. I writing test cases using appium and TestNG. Steps I am following are - Launching app Entering ...
0
votes
2answers
343 views

How to clear text field in Appium 1.8.0?

Using appium 1.7.2, my test ran correctly and never had any issue with clearing text field with element.clear. but now since i upgrade my appium to 1.8.0 element.clear seems to stop working. it didn't ...
0
votes
1answer
38 views

How to resolve “NoClassDefFoundError”

How to resolve "NoClassDefFoundError" which is occuring while running the Appium script.
0
votes
1answer
885 views

Maven TestNG multiple suites in different folders

I'm working on a mobile automation task where I need to run test suites in parallel for 3 different iOS apps. Each test suite has its own testng.xml with a section configured to run on a device. I ...
0
votes
1answer
42 views

PhoneGap Android App Automation with Appium

I am using JUnit to make automation test , the context is changed to hybrid App , after tests I`m making output excel file with the result. I am new to the automation and found a way if something is ...
0
votes
0answers
122 views

How to run appium code on a sourceLab cloud device

I have a appium project which writen using c# and its working fine with all my local devices. Then i was trying to run the same simple test on a cloud device at sourcelab. I follow the instructions ...
1
vote
1answer
176 views

How do I setup and get started with Appium on Ubuntu? [closed]

I have been recently asked to automate flow on mobile devices but I have no clue about mobile automation. I have tried setting up Appium on my machine but to no avail and I find it very cumbersome and ...
2
votes
3answers
168 views

Windows automation testing to check whether the scores are matching or not

Currently, I'm working in windows based application. I want to do automation testing for my windows application. I start with sikuli tool, but it is just comparing the images. My application is a ...
0
votes
1answer
47 views

Appium - test scripts are not executing on new activity

I am performing a sign in operation on the Android application using appium test scripts. The test scripts doesn't execute the lines of code related to the new activity. It works on debug mode or ...
0
votes
1answer
164 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): ...
2
votes
2answers
2k views

How to login with http proxy using selenium

I'm using Selenium and Appium to run my java project in Android mobile. I'm trying to execute on Chrome browser and everytime it runs, it asks for proxy credentials (username and password), this is ...