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.

Filter by
Sorted by
Tagged with
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
345 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 ...
7
votes
1answer
911 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 in a situation where I need to tap each element in a list. I wrote below code: List allKeywords=driver....
5
votes
1answer
353 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
172 views

Appium : Best way to automate e-Signature scenario using Appium?

How to Automate e-Signature? I am trying to automate e-Signature scenario for iOS and android application. Anyone implemented same using Appium? Workaround : I tried to automate e-Signature using ...
5
votes
1answer
644 views

Unable to launch Safari on iOS using Appium

I am automating some tests a real device (iOS) using Appium and Cucumber. My idea is to do the following steps: Open the app Do some tasks Launch Safari Navigate to a website, lets say google.com for ...
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
5k 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
336 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
5answers
193 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
2answers
4k 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:/...
3
votes
5answers
133 views

How do I do mobile testing for a website?

I have already created automated test cases using selenium and java for desktop web testing. Is there a way for me to run the same tests on my personal mobile? Searching on google I find resources ...
3
votes
3answers
68 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
1answer
375 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 ...
3
votes
3answers
939 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 ...
3
votes
2answers
14k 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 ...
2
votes
4answers
7k 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 ...
2
votes
2answers
104 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
4k views

Appium finding an element that need to be scrolled into view

I am testing a mobile application using Appium + Selenium + Java. I have a page who contains several elements with the following ids: field_1 field_2 field_3 bouton_1 When I open the page. The ...
2
votes
1answer
47 views

How to set up a mobile testing lab for physical parallel execution on Android phones

I need to set up a physical mobile testing lab mainly for Android devices. I have to run test on 100 Android devices in parallel, I will be using Appium with TestNG framework. Please someone guide me ...
2
votes
1answer
1k 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
407 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
1answer
8k 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
239 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
0answers
63 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
0answers
337 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
1k 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
954 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
2answers
44 views

1 Repo vs 2: Test Framework Development For Multiplatform Native Applications Using Appium

This question is more of an attempt to gather opinions. I have automated multiple mobile applications that existed as native apps on both iOS and Android. In these scenarios, my go-to pattern has ...
1
vote
2answers
62 views

iOS Automation Testing on AWS

Background: I have been searching how can I install an .ipa programmatically on a real iPhone, and all answers are "it's not possible". So I was wondering, iOS automation cannot be ...
1
vote
2answers
68 views

What is the approach to create a framework that should handle both Web and mobile app automation cases

I have an application which has web and mobile app (hybrid). Test cases are same for both but locators and actions are different. I would like to create a single automation framework that can handle ...
1
vote
3answers
5k views

Permissions error trying to run Appium test on Android

I am not able to run my automation testing with Appium server using Eclipse with Selenium. The error I get is: Exception in thread "main" org.openqa.selenium.SessionNotCreatedException: Unable to ...
1
vote
1answer
2k views

Automated UI Testing Tools for UWP Win10 Touchscreen Tablet Mobile Apps

What are some tools for Automated UI Testing of a UWP Windows 10 Touchscreen Tablet App? I would prefer a tool that allows emulation, records steps, writes the code, outputs errors in notepad, and ...
1
vote
5answers
2k 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
5k 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
62 views

react-native + android error : How to fix? - java.lang.NoClassDefFoundError: Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7

I am trying to build android application. Use this .apk to consume for Azure CI-CD for distribution & mobile automation. While executing command ./gradlew clean or ./gradlew assembleRelease facing ...
1
vote
1answer
43 views

The .App path is not recognised in desired capabilities in my Appium setup

I have set up my desired capabilities on Appium. See below. { "platformName": "iOS", "deviceName": "iPhone11", "automationName": "XCUITest&...
1
vote
3answers
215 views

Is it possible to open a mobile browser with Selenium WebDriver?

I know it is possible to open a desktop web browser with Selenium WeDriver. The following lines written in Java allows doing so: WebDriver webDriverChrome = new ChromeDriver(); webDriverChrome.get(...
1
vote
1answer
241 views

Scrolling an element into view with iOS native app

I am using Appium + Selenium + Java. I am testing a native app and I sometimes need to scroll an element into view in order to click on it. It seems like, when testing a web app on iOS, you can use ...
1
vote
1answer
48 views

Discriminating between two identical elements when they are both “displayed” and “enabled” but only one is actually visible

I am currently automating tests for a native app and I have some issues with "ghosts" elements. By "ghosts elements" I mean elements that are in the code and technically on the ...
1
vote
1answer
95 views

Simulate press hard key in protractor

I am using Protractor for testing my web application. During the use of the app, I want to press a hard key on the device, like the home screen, then the app will be minimized and I will see the ...
1
vote
1answer
7k views

How to fix No internet/Internet not working for android emulator on windows 10?

Issue I am facing : I have created new AVD from Android Studio (AVD Manager) but the emulator does not have internet. I tried opening www.google.com still "No Internet Connection" displayed. If ...
1
vote
1answer
46 views

Having trouble automating Android testing with Appium

I'm trying to automate Android testing using Appium. What I want to do is like: My Test Suite: Test case 1: Starting from Activity A Do something Test case 2: Starting from Activity A Do something ...
1
vote
1answer
248 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
1k 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 (...
1
vote
1answer
435 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
1answer
45 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
3answers
6k 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.MobileElement; import ...
1
vote
1answer
901 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
4k 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.