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
31 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 ...
0
votes
0answers
14 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
votes
0answers
25 views

How to Turn off/On wifi in iOS using Appium? [closed]

Need to turn off the WIFI or Mobile Data using appium in iOS application, please give me some suggestion to achieve it.
0
votes
1answer
36 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
22 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
0answers
23 views

Appium automation testing a DrawerLayer search box - how to submit?

I am trying to automate typing into a search box in an android app with a virtual keyboard provided through DrawerLayer. I am using Java & Selenium with Appium for running the app itself in ...
0
votes
1answer
40 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
1answer
70 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:/...
1
vote
1answer
28 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
26 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
38 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
72 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
15 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
22 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
20 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
92 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
101 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
355 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
22 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
195 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
75 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
42 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
126 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
49 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
37 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
47 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
336 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
125 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
186 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
271 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
296 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
55 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
272 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
31 views

How to resolve “NoClassDefFoundError”

How to resolve "NoClassDefFoundError" which is occuring while running the Appium script.
0
votes
1answer
694 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
35 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
103 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
116 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
126 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
42 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
106 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 ...
0
votes
1answer
108 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
39 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
465 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
119 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
108 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
208 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
267 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
336 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 ...