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.

0
votes
1answer
33 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.
0
votes
0answers
24 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:/...
0
votes
1answer
22 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
0answers
14 views

Launch appium desktop programmatically' and link to a testNG TestCase for mac. How do I do this?

I have created a java test class to run appium programmatically . I cannot use a .bat file as I am a Mac user and .bat files only work on windows o/s This is my FIRST appium framework so I am ...
0
votes
1answer
34 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
30 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
14 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
18 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 , ...
0
votes
0answers
12 views

Unable to run mobile app automation with saucelabs-connect with appium

I started tunnel in my windows machine, it started tunnel and running and also showing in sauce labs dashboard command used for starting tunnel sc -u username@domain.com -k AcessKey -i tunnelName ...
3
votes
2answers
55 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
39 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
80 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
20 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
81 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
38 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
41 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
59 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
27 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
27 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
35 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
170 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
69 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
176 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
222 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
153 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
49 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
163 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
29 views

How to resolve “NoClassDefFoundError”

How to resolve "NoClassDefFoundError" which is occuring while running the Appium script.
0
votes
1answer
483 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
31 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
75 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
83 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
103 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
40 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
61 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
1k 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 ...
0
votes
1answer
88 views

Executing appium test on kobiton device

I'm running some of my Appium test cases which are written in c# under .net platform on a real time device which is attached to my workstation. Below is my code and it works fine. public void ...
1
vote
1answer
38 views

Appium Automation Test code development - Assertions for all the intermediate pages

I came across a native mobile application testing framework where if suppose user registration involves navigating to 5 screens, then the validation (assertions) for the field labels and properties (...
0
votes
0answers
336 views

Is there an efficient way to handle datepicker in android app using Appium?

I'm automating an android app using Appium where i have automated a datepicker functionality as shown in virtual device I'm using for. But the issue in different devices/version the datepicker view is ...
1
vote
0answers
115 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
2answers
102 views

Starting a new Appium project, need guidance

I'm starting a new Appium project to test a native mobile application on both Android and iOS, and need some guidance. So far I've found it's very confusing - there are so many options out there, and ...
2
votes
1answer
184 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 ...
0
votes
0answers
207 views

io.appium.java_client.android.AndroidElement cannot be cast to com.perfectomobile.selenium.MobileElement

I am using Perfecto for my automated tests for the Android app. The JAVA test instantiates the Appium driver as follows: driver = new AndroidDriver<MobileElement>(new URL(urlString), ...
3
votes
1answer
251 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 ...
0
votes
1answer
457 views

Unable to start Appium server

I'm using Appium for mobile automation,as soon as i click on start, within no time the server gets ended, it displays below error : Launching Appium server with command: C:\Program Files (x86)\...
6
votes
1answer
241 views

Performance for WebDriver vs AndroidDriver vs iOSDriver

I initially wrote a few selenium scripts to test my web application. The scripts use RemoteWebDriver call for initialising web driver. I now wanted to run the same scripts to test the web application ...
0
votes
0answers
106 views

Getting error while running multiple test cases in appium by TestNG framwork

Detailed error : [MJSONWP] Encountered internal error running command: Error: Error executing adbExec. Original error: 'Command 'C\:\\Users\\ronik.viz\\AppData\\Local\\Android\\sdk\\platform-tools\\...
0
votes
1answer
542 views

How can i write automation code in appium to test facebook login by mobile app? [closed]

I have an Android mobile app. which provides facility to login in this app using Facebook but while automating this page, I'm not able to tap continue button which comes after entering username and ...
4
votes
2answers
125 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 ...
2
votes
2answers
136 views

Is there any way to capture HTTP request and response in automation?

I am using TestNG framework to automate mobile application. I want to capture endpoint url.