Questions tagged [mobile-automation]

Use this tag for the question & queries related to automation of any mobile app. Automation that is related to software testing on mobile device platform, e.g. iPhone, iPad or tablet, android mobile/tablets.

19
votes
14answers
6k views

Tools for testing iPhone apps

I was wondering if there any automation tools out there that can help with the process of testing an iPhone application on the device itself and not on a simulator. Ideally, it would have to simulate ...
7
votes
2answers
325 views

How to switch from Web App tester to Mobile App tester

I am new to mobile testing - my only experience was to just test some apps in two or three real devices manually. Since mobile development is agile, this needs to use test automation. I have ...
5
votes
1answer
315 views

Suggest some Android and iPhone mobile app automation tools [closed]

Please suggest me some tools for Android and iPhone app automation testing. I have searched some, like - Appium, Calabash, MonkeyTalk, Selendroid, Robotium, etc. I am confused to choose any one from ...
5
votes
1answer
766 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
3answers
4k views

Android Studio and Appium

I am trying to learn Appium for a new project. I read through the manuals and the official documentation and I have one question. Most of the tutorials seem to focus on Eclipse + Android SDK +Appium....
4
votes
2answers
3k views

Unable to scroll and click, as element is not visible in selenium with native android mobile application

I am working with selenium 2.53 , Java 1.8 , Appium 1.5.3 for automation of Native mobile applications. Now i have a condition where length of page is too large and i have to click at the bottom of ...
4
votes
0answers
243 views

How to resolve “Original error: Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65”? [closed]

Environment: iOS version : 10.2.1 Mac iOS Version : 10.12 [macOS Sierra] Appium : 1.1.0-beta.2 Question: Background : I am trying to automate iOS app. I followed process to setup required for iOS ...
3
votes
2answers
104 views

Can I test an app on all devices without purchasing all devices?

Is there any way to test an app on all devices without purchasing all devices?
3
votes
3answers
51 views

What issues, when automating responsive mobile sites, don't appear on a desktop

We're trying to have automated mobile testing but it's taking a huge amount of effort and I'm not seeing any rewards. Our site is responsive and has a mobile view. We do not have native mobile apps. ...
3
votes
2answers
5k views

How can I get the android window size using Java as programming language for android automation testing? [closed]

How to detect the screen size for different android phones? I want the coordinate values like startx, starty, endx, endy. With that I can use the swipe method which takes these coordinates as ...
3
votes
1answer
470 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 ...
2
votes
2answers
90 views

Tips to grow Mobile Application Testing Skills? [closed]

These little mobile devices in our hands seem simple to use, compact, convenient, and extremely fast but testers need to apply a huge amount of effort, a multitude of skills. Sometimes professional ...
2
votes
2answers
618 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
259 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....
2
votes
1answer
6k views

Appium: How to tap or click at a X/Y co-ordinates

My screen size is (800, 1280) I have determained the screen size using: Dimension size = driver.manage().window().getSize(); Now I want to tab at a given coordinates of the screen so can anyone ...
2
votes
2answers
179 views

Which test automation tools cover applications working on PDA with Windows CE?

One of our customers from retail needs to identify test automation tools for different applications. Currently they are evaluating Ranorex and Selenium. They have some mobile applications also. For ...
2
votes
1answer
306 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
0answers
59 views

What is the single best open source mobile automation tool(for iOS and Android) for mobile application testing [closed]

Here I am looking for testing tool for mobile, What is the single best open source mobile automation tool(for iOS and Android both) for mobile application testing ?
2
votes
1answer
495 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
242 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 ...
1
vote
4answers
519 views

Katalon or Java+Junit+Cucumber to automate tests?

We are starting to automate web tests, but we don't know what is the best way to do, what is the best option to start and why? And what is the best-easy to use for automate Mobile IOS and Android?
1
vote
1answer
752 views

Selenium/Appium + Java : What is the real difference between methods .isDisplayed() and .isEnabled()?

While writing a code many time any of them get failed. How actually those methods work? Please great if you can help to stop confusing between those two. Q - What is the real difference between ...
1
vote
4answers
951 views

Mobile App performance and load testing

How do I check mobile application performance/load testing? Currently, I have checked the app performance over different networks like 2g, 3g, wifi but I want to check how the app will behave when ...
1
vote
1answer
4k views

How to resolve Could not start a new session? UnreachableBrowserException

I am trying to launch mobile browser and getting: org.openqa.selenium.remote.UnreachableBrowserException Could not start a new session. Possible causes are invalid address of the remote server ...
1
vote
1answer
54 views

How to install Ranorex studio in ubuntu (linux)

Ranorex studio is an automation tool but i can only install in windows how to install in ubuntu
1
vote
1answer
41 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 (...
1
vote
2answers
5k views

Showing error - “Returned value cannot be converted to WebElement: {ELEMENT=1} ” in appium using java

I have below configurations : Javaclient : java-client-5.0.2 Selenium : 3.0.1 Java : 144 Appium v1.4.16 This is my code : package com.metatag.poc; import io.appium.java_client....
1
vote
1answer
563 views

Java + TestNG - How to resolve ”has a @Test annotation but also a return value: ignoring it. Use <suite allow-return-values=”true”> to fix this”

I execute tests, while I observed ”has a @Test annotation but also a return value: ignoring it. Use to fix this” and execution terminated. [My Env - Java + Maven + TestNG ] Any idea how to resolve ...
1
vote
2answers
3k views

How do I scroll in a native Android app using Appium Java?

How do I automate scrolling in a native Android application? For example, on a 'terms and conditions' page. I am using Appium with selenium webdriver.
1
vote
3answers
61 views

Mobile Testing Tools

I have investigated several mobile testing tools to test our mobile application. Unfortunately, I have not found a tool that can meet the following requirements. If anyone has suggested a tool(s) that ...
1
vote
0answers
78 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
1answer
148 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
227 views

How can I move slider in Katalon studio and the range starts from 619 to 1443

I'm trying to change the slider value in Katalon, I tried using setSliderValue but I failed, Can anyone help me with this. I want to change the Slider value during runtime, Its 619 by default and I ...
1
vote
0answers
156 views

How do you get Jenkins to count the build run as pass when failed testng tests are retried and passes? [duplicate]

How do you get Jenkins to count the build run as pass when failed TestNG tests are retried and passes? Description: I have two tests that ran. Test1 passed, but Test2 failed then on retry it passed....
1
vote
0answers
32 views

Unable to open and close notifications panel with AWS Device farm

My test needs to open and close the notifications panel and go back to the app from an Android device (Moto G4 Android 7 - AWS device farm). So I'm calling the following method in my test ...
1
vote
1answer
257 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 ...
1
vote
0answers
26 views

Issue in script execution on Mac machine using SauceLab [closed]

I am working in software qa company and facing an issue in executing scripts on Saucelab. I got below error while executing single script using Android device on SauceLab using Mac machine which is ...
1
vote
1answer
105 views

Android: testing location on device cloud

Is there any mobile cloud testing service for Android offering enhanced location capabilities? My requirements are: Playback of recorded GPS/location data GPS data needs to be provided as 'real' data,...
1
vote
0answers
25 views

How do I automate testing installing an iPhone app?

I am familiar with writing automation for testing web pages in a browser using selenium, rspec, jasmine and similar tools. Now I want to test a new iPhone application that we have developed. The ...
1
vote
0answers
66 views

Are the TEXT locators different in android 6.0 and android 7.0 for Alert box?

I am facing an issue where TEXT property is in UPPERCASE in Android OS 7 while in OS 6 the same property is shown in Sentence Case for the same application. Can anyone suggest why this is happening ?...
1
vote
0answers
158 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
332 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
2answers
4k views

Appium + Android Camera : How to automate android camera scenarios using Appium? Any work around?

I'm trying to automate an Android test on a real device using Appium in which I have an App that in order to complete a registration will ask the user to take a Selfie, so when the user clicks this ...
0
votes
4answers
4k views

What is the difference between Selenium vs Appium WebDriver?

When exploring automation for Android with running Appium server, I noticed using Selenium WebDriver my code works fine. In a previous example, I saw Appium driver for iOS automation. So what is the ...
0
votes
1answer
625 views

How to test mobile browser link directed from app in Appium?

In a test written in Appium, I have a scenario where clicking on android button redirects to the website. I want to check whether the site URL is valid or not. How is it possible to test the link?
0
votes
2answers
1k views

Macaca App-Inspector + Appium + iOS : How to fix “Error: connect ECONNREFUSED 127.0.0.1:8001”

Question: I am trying to launch an iOS app using app-inspector. It's failing and I can see error Internal Server Error on webpage baseURL. Getting below error: Error: connect ECONNREFUSED 127.0....
0
votes
1answer
523 views

Android ADB error for Appium

The Android Debug Bridge (ADB) error below is given when running application on Eclipse. How can I fix this? Checking if an update is available Launching Appium server with command: C:\Program ...
0
votes
1answer
1k views

I got error when running appium script in eclipse

Showing below error while running appium script: Nov 10, 2016 6:27:18 PM org.openqa.selenium.remote.ProtocolHandshake createSession INFO: Attempting bi-dialect session, assuming Postel's Law holds ...
0
votes
2answers
246 views

Searching for the most comfortable and cost efficient tool to implement Test Automation for Multiple Environments (Desktop, WEB and Mobile)

Planning to automate testing for Multiple Environments (Desktop, WEB and Mobile). Searching for the most comfortable and cost efficient tool to use. Found some tools: Ranorex, eggPlant, TestComplete ...
0
votes
2answers
171 views

How do you record a jmeter script/create a jmeter test plan for a ssl mobile app? Internet won't connect after setting manual proxy

I can't record a script in Jmeter or Blazemeter to test a mobile app. After setting up the manual proxy, started the recording script in jmeter, installed the ca certificate on the ipad, my ipad ...